|
@@ -10,6 +10,9 @@
|
|
base_id = #{baseId}
|
|
base_id = #{baseId}
|
|
and position_id = #{positionId}
|
|
and position_id = #{positionId}
|
|
and delete_flag = '0'
|
|
and delete_flag = '0'
|
|
|
|
+ <if test="warehouseName != null and warehouseName != ''">
|
|
|
|
+ AND warehouse_name= #{warehouseName}
|
|
|
|
+ </if>
|
|
</select>
|
|
</select>
|
|
<!-- 盘损记录查询 -->
|
|
<!-- 盘损记录查询 -->
|
|
<select id="getListByCondition" parameterType="Map"
|
|
<select id="getListByCondition" parameterType="Map"
|
|
@@ -30,6 +33,9 @@
|
|
base_id = #{baseId}
|
|
base_id = #{baseId}
|
|
and position_id = #{positionId}
|
|
and position_id = #{positionId}
|
|
and delete_flag = '0'
|
|
and delete_flag = '0'
|
|
|
|
+ <if test="warehouseName != null and warehouseName != ''">
|
|
|
|
+ AND warehouse_name= #{warehouseName}
|
|
|
|
+ </if>
|
|
ORDER BY create_date DESC
|
|
ORDER BY create_date DESC
|
|
<if test="currentPage != null and currentPage != ''">
|
|
<if test="currentPage != null and currentPage != ''">
|
|
LIMIT ${startRecord}, ${pageSize}
|
|
LIMIT ${startRecord}, ${pageSize}
|