|
|
|
@ -106,7 +106,15 @@
|
|
|
|
|
<if test="param.forkliftName != null and param.forkliftName != '' "> and lds.forklift_name like concat('%', #{param.forkliftName},'%')</if> |
|
|
|
|
<if test="param.loaderName != null and param.loaderName != '' "> and lds.loader_name like concat('%', #{param.loaderName},'%')</if> |
|
|
|
|
<!-- <if test="param.groupName != null and param.groupName != '' "> and btg.group_name like concat('%', #{param.groupName},'%')</if>--> |
|
|
|
|
<if test="param.typeService != null and param.typeService != '' "> and lds.type_service = #{param.typeService}</if> |
|
|
|
|
<!--<if test="param.typeService != null and param.typeService != '' "> and lds.type_service = #{param.typeService}</if>--> |
|
|
|
|
<if test="param.warehouseId != null and param.warehouseId != '' "> and lds.warehouse_id = #{param.warehouseId}</if> |
|
|
|
|
<if test="param.warehouseIdList != null"> |
|
|
|
|
and lds.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="a" open="(" separator="," close=")" > |
|
|
|
|
#{a} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
</where> |
|
|
|
|
GROUP BY lds.id |
|
|
|
|
</select> |
|
|
|
@ -162,6 +170,13 @@
|
|
|
|
|
<if test="param.forkliftName != null and param.forkliftName != '' "> and lds.forklift_name like concat('%', #{param.forkliftName},'%')</if> |
|
|
|
|
<if test="param.loaderName != null and param.loaderName != '' "> and lds.loader_name like concat('%', #{param.loaderName},'%')</if> |
|
|
|
|
<if test="param.typeService != null and param.typeService != '' "> and lds.type_service = #{param.typeService}</if> |
|
|
|
|
<if test="param.warehouseId != null and param.warehouseId != '' "> and lds.warehouse_id = #{param.warehouseId}</if> |
|
|
|
|
<if test="param.warehouseIdList != null"> |
|
|
|
|
and lds.warehouse_id in |
|
|
|
|
<foreach collection="param.warehouseIdList" item="a" open="(" separator="," close=")" > |
|
|
|
|
#{a} |
|
|
|
|
</foreach> |
|
|
|
|
</if> |
|
|
|
|
<!--<if test="param.groupName != null and param.groupName != '' "> and btg.group_name like concat('%', #{param.groupName},'%')</if> --> |
|
|
|
|
</where> |
|
|
|
|
GROUP BY lds.id |
|
|
|
|