|
@@ -127,6 +127,11 @@
|
|
|
</if>
|
|
|
|
|
|
</select>
|
|
|
+
|
|
|
+ <update id="autoRIdBySale">
|
|
|
+ update SO_SOMain set cDefine11 = #{instanceId} where cSOCode = #{cSOCode}
|
|
|
+ </update>
|
|
|
+
|
|
|
<select id="queryPurchaseOrderDate" resultType="java.lang.String">
|
|
|
select cPOID from PO_Pomain where (iverifystateex='0' or iverifystateex is null)
|
|
|
<if test="date!=null and ''!=date">
|
|
@@ -136,6 +141,11 @@
|
|
|
and CONVERT(varchar(100), cmaketime, 120) <=#{endDate}
|
|
|
</if>
|
|
|
</select>
|
|
|
+
|
|
|
+ <update id="autoRIdByOrder">
|
|
|
+ update PO_Pomain set cDefine11 = #{instanceId} where cPOID = #{cSOCode}
|
|
|
+ </update>
|
|
|
+
|
|
|
<select id="queryPayrequestDate" resultType="java.lang.String">
|
|
|
select cVouchID from AP_ApplyPayVouch where cCheckMan is null
|
|
|
<if test="date!=null and ''!=date">
|
|
@@ -146,6 +156,11 @@
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
|
+ <update id="autoRIdByOrder">
|
|
|
+ update AP_ApplyPayVouch set cDefine11 = #{instanceId} where cVouchID = #{cSOCode}
|
|
|
+ </update>
|
|
|
+
|
|
|
+
|
|
|
<update id="update">
|
|
|
UPDATE sys_user
|
|
|
<set>
|