diff --git a/bonus-common-biz/src/main/java/com/bonus/common/biz/domain/lease/LeaseApplyQuery.java b/bonus-common-biz/src/main/java/com/bonus/common/biz/domain/lease/LeaseApplyQuery.java index 86d014f3..e9e05c97 100644 --- a/bonus-common-biz/src/main/java/com/bonus/common/biz/domain/lease/LeaseApplyQuery.java +++ b/bonus-common-biz/src/main/java/com/bonus/common/biz/domain/lease/LeaseApplyQuery.java @@ -53,7 +53,7 @@ public class LeaseApplyQuery extends BaseEntity{ @ApiModelProperty(value = "规格型号") @Excel(name = "规格型号") - private String modelName; + private String modelType; @ApiModelProperty(value = "出库数量") @Excel(name = "出库数量") diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/back/domain/vo/BackApplyQuery.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/back/domain/vo/BackApplyQuery.java index 24012ccb..f467b204 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/back/domain/vo/BackApplyQuery.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/back/domain/vo/BackApplyQuery.java @@ -58,7 +58,7 @@ public class BackApplyQuery extends BaseEntity { @ApiModelProperty(value = "规格型号") @Excel(name = "规格型号") - private String modelName; + private String modelType; @ApiModelProperty(value = "退料数量") @Excel(name = "退料数量") diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml index cbb52a06..478adbac 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/back/BackApplyInfoMapper.xml @@ -1969,7 +1969,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" bp.pro_name as proName, bc.`code` as code, mt2.type_name as typeName, - mt.type_name as modelName, + mt.type_name as modelType, bcd.back_num as backNum, bcd.create_time as inTime, bc.print_status, @@ -1997,10 +1997,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and bp.pro_name like concat('%', #{proName} ,'%') + + and mt.type_name like concat('%', #{modelType} ,'%') + + + and mt2.type_name like concat('%', #{typeName} ,'%') + + + and mt.jiju_type= #{jijuType} + and ( bp.pro_name like concat('%', #{keyWord} ,'%') or sd.dept_name like concat('%', #{keyWord} ,'%') + or bai.agreement_code like concat('%', #{keyWord} ,'%') or mt2.type_name like concat('%', #{keyWord} ,'%') + or bc.`code` like concat('%', #{keyWord} ,'%') or mt.type_name like concat('%', #{keyWord} ,'%')) diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml index 4020da14..3eb55b22 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/lease/LeaseApplyInfoMapper.xml @@ -1375,7 +1375,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" LEFT JOIN ma_type mt on lod.type_id = mt.type_id LEFT JOIN ma_type mt2 on mt.parent_id = mt2.type_id LEFT JOIN ma_machine mm on mm.ma_id = lod.ma_id - WHERE mt.jiju_type =1 and lod.publish_task is null + WHERE lod.publish_task is null and SUBSTR(lod.create_time,1,10)>=#{startTime} @@ -1391,9 +1391,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and lai.lease_person like concat('%', #{leasePerson} ,'%') + + and mt.type_name like concat('%', #{modelType} ,'%') + + + and mt2.type_name like concat('%', #{typeName} ,'%') + + + and mt.jiju_type= #{jijuType} + and ( bp2.pro_name like concat('%', #{keyWord} ,'%') or sd2.dept_name like concat('%', #{keyWord} ,'%') + or bai.agreement_code like concat('%', #{keyWord} ,'%') + or lai.`code` like concat('%', #{keyWord} ,'%') + or mm.ma_code like concat('%', #{keyWord} ,'%') or mt2.type_name like concat('%', #{keyWord} ,'%') or mt.type_name like concat('%', #{keyWord} ,'%')) @@ -1442,9 +1454,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and lpd.lease_person like concat('%', #{leasePerson} ,'%') + + and mt.type_name like concat('%', #{modelType} ,'%') + + + and mt2.type_name like concat('%', #{typeName} ,'%') + + + and mt.jiju_type= #{jijuType} + and ( bp2.pro_name like concat('%', #{keyWord} ,'%') or sd2.dept_name like concat('%', #{keyWord} ,'%') + or bai.agreement_code like concat('%', #{keyWord} ,'%') + or lai.`code` like concat('%', #{keyWord} ,'%') + or mm.ma_code like concat('%', #{keyWord} ,'%') or mt2.type_name like concat('%', #{keyWord} ,'%') or mt.type_name like concat('%', #{keyWord} ,'%'))