|
|
|
@ -50,6 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<if test="entity.locationCode != null and entity.locationCode != ''">and x.location_code like concat('%',#{entity.locationCode},'%')</if>
|
|
|
|
<if test="entity.locationCode != null and entity.locationCode != ''">and x.location_code like concat('%',#{entity.locationCode},'%')</if>
|
|
|
|
<if test="entity.batchCode != null and entity.batchCode != ''">and x.batch_code like concat('%',#{entity.batchCode},'%')</if>
|
|
|
|
<if test="entity.batchCode != null and entity.batchCode != ''">and x.batch_code like concat('%',#{entity.batchCode},'%')</if>
|
|
|
|
<if test="entity.materialCode != null and entity.materialCode != ''">and x.material_code like concat('%',#{entity.materialCode},'%')</if>
|
|
|
|
<if test="entity.materialCode != null and entity.materialCode != ''">and x.material_code like concat('%',#{entity.materialCode},'%')</if>
|
|
|
|
|
|
|
|
<if test="entity.storeId != null and entity.storeId != ''">and x.store_id = #{entity.storeId}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
group by
|
|
|
|
group by
|
|
|
|
x.warehouse_id ,
|
|
|
|
x.warehouse_id ,
|
|
|
|
|