EDZ 3 years ago
parent
commit
d32d9eee73
1 changed files with 15 additions and 0 deletions
  1. 15 0
      src/main/java/net/chenlin/dp/modules/sys/mapper/SysUserMapper.xml

+ 15 - 0
src/main/java/net/chenlin/dp/modules/sys/mapper/SysUserMapper.xml

@@ -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) &lt;=#{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>