功能修改
This commit is contained in:
parent
542d02a8d9
commit
02fe8438a0
|
|
@ -417,7 +417,7 @@ public class LeaseApplyInfoServiceImpl implements ILeaseApplyInfoService {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult getInfoByQrcode(BmQrcodeInfo bmQrcodeInfo) {
|
public AjaxResult getInfoByQrcode(BmQrcodeInfo bmQrcodeInfo) {
|
||||||
if (bmQrcodeInfo.getQrCode() == null) {
|
if (StringUtils.isBlank(bmQrcodeInfo.getQrCode())) {
|
||||||
return AjaxResult.error(HttpCodeEnum.FAIL.getCode(), "二维码code不能为空");
|
return AjaxResult.error(HttpCodeEnum.FAIL.getCode(), "二维码code不能为空");
|
||||||
}
|
}
|
||||||
List<LeaseOutDetails> recordList = leaseApplyDetailsMapper.getInfoByQrcode(bmQrcodeInfo);
|
List<LeaseOutDetails> recordList = leaseApplyDetailsMapper.getInfoByQrcode(bmQrcodeInfo);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package com.bonus.material.warehouse.controller;
|
package com.bonus.material.scrap.controller;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
package com.bonus.material.scrap.service;
|
package com.bonus.material.scrap.service;
|
||||||
|
|
||||||
import com.bonus.material.scrap.domain.ScrapReason;
|
import com.bonus.material.scrap.domain.ScrapReason;
|
||||||
import com.bonus.material.warehouse.domain.WhHouseInfo;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -260,7 +260,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
FROM
|
FROM
|
||||||
bm_qrcode_info
|
bm_qrcode_info
|
||||||
WHERE
|
WHERE
|
||||||
DATE_FORMAT(create_time, '%Y-%m') = #{genMonth}
|
qr_code IS NOT NULL
|
||||||
|
AND DATE_FORMAT(create_time, '%Y-%m') = #{genMonth}
|
||||||
ORDER BY
|
ORDER BY
|
||||||
qr_code DESC
|
qr_code DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue