bug修改
This commit is contained in:
@@ -182,6 +182,15 @@
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<select id="selectEncodedIdByPcodeAndWarehouse" resultType="java.lang.String">
|
||||
SELECT encoded_id
|
||||
FROM pcde_detail
|
||||
WHERE pcode = #{pcode}
|
||||
AND warehouse_code = #{warehouseCode}
|
||||
AND is_delete = '0'
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
<!-- 单条插入 -->
|
||||
<insert id="insertPcdeDetail"
|
||||
parameterType="PcdeDetail"
|
||||
|
||||
@@ -239,5 +239,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="selectByWlNo" resultMap="GysJhResult">
|
||||
SELECT *
|
||||
FROM gys_jh
|
||||
WHERE wl_no = #{wlNo}
|
||||
AND is_delete = '0'
|
||||
</select>
|
||||
|
||||
<update id="updateDwById">
|
||||
UPDATE gys_jh
|
||||
SET dw = #{dw}
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
</mapper>
|
||||
|
||||
|
||||
@@ -354,10 +354,10 @@
|
||||
AND ri.xj LIKE concat('%', #{xj}, '%')
|
||||
</if>
|
||||
<if test="billNo != null and billNo != ''">
|
||||
AND ri.bill_no LIKE concat('%', #{billNo}, '%')
|
||||
AND ri.bill_no = #{billNo}
|
||||
</if>
|
||||
<if test="billNoCk != null and billNoCk != ''">
|
||||
AND ri.bill_no_ck LIKE concat('%', #{billNoCk}, '%')
|
||||
AND ri.bill_no_ck = #{billNoCk}
|
||||
</if>
|
||||
<if test="xmNo != null and xmNo != ''">
|
||||
AND ri.xm_no LIKE concat('%', #{xmNo}, '%')
|
||||
|
||||
Reference in New Issue
Block a user