审核模块相关接口修改0721
This commit is contained in:
@@ -91,13 +91,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
AND is_delete = '0'
|
||||
</select>
|
||||
|
||||
<select id="selectPhotoUrlByRkId"
|
||||
<select id="selectPhotoUrlByBillNo"
|
||||
resultMap="AuditSignatureResult"
|
||||
parameterType="java.lang.Long">
|
||||
parameterType="java.lang.String">
|
||||
SELECT sign_url, audit_result
|
||||
FROM audit_signature
|
||||
WHERE is_delete = '0'
|
||||
AND rk_id = #{rkId}
|
||||
AND bill_no = #{billNo}
|
||||
AND image_type = '1'
|
||||
ORDER BY create_time DESC
|
||||
LIMIT 1
|
||||
@@ -177,7 +177,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
is_delete,
|
||||
create_by,
|
||||
create_time,
|
||||
rk_id
|
||||
rk_id,
|
||||
pcode,
|
||||
tray_code
|
||||
)
|
||||
VALUES
|
||||
<foreach collection="list" item="item" separator=",">
|
||||
@@ -195,7 +197,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{item.isDelete},
|
||||
#{item.createBy},
|
||||
#{item.createTime},
|
||||
#{item.rkId}
|
||||
#{item.rkId},
|
||||
#{item.pcode},
|
||||
#{item.trayCode}
|
||||
)
|
||||
</foreach>
|
||||
</insert>
|
||||
@@ -209,6 +213,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="isCurrent != null">is_current = #{isCurrent},</if>
|
||||
</set>
|
||||
WHERE bill_no = #{billNo}
|
||||
AND is_current = '1'
|
||||
|
||||
Reference in New Issue
Block a user