Merge branch 'master' of http://git.picaiba.com/CaiXiang/cigs4
# Conflicts: # ym-packing/src/main/java/com/cnbm/packing/controller/WoPackagingBoxSubstrateController.java # ym-packing/src/main/java/com/cnbm/packing/mapper/WoPackagingBoxSubstrateMapper.java
This commit is contained in:
		| @@ -128,9 +128,16 @@ | ||||
|         from t_wo_packaging_box_substrate twpbs | ||||
|         left join t_wo_packaging_box twpb on twpbs.PACKAGING_BOX_ID = twpb.BOX_NO | ||||
|         <where> | ||||
|             twpb.model = #{model} | ||||
|             <if test="woSubstrateId != null and woSubstrateId != ''"> | ||||
|                 and twpbs.WO_SUBSTRATE_ID like CONCAT(CONCAT('%',#{woSubstrateId}),'%') | ||||
|             </if> | ||||
|             <if test="packagingBoxId != null and packagingBoxId != ''"> | ||||
|                 and twpbs.PACKAGING_BOX_ID like CONCAT(CONCAT('%',#{packagingBoxId}),'%') | ||||
|             </if> | ||||
|             <if test="startTime != null and endTime != null"> | ||||
|                 and twpb.CREATE_TIME between #{startTime} AND #{endTime} | ||||
|             </if> | ||||
|             AND twpbs.valid = 1 | ||||
|         </where> | ||||
|         order by twpb.CREATE_TIME desc | ||||
|   | ||||
		Reference in New Issue
	
	Block a user