소스 검색

Merge branch 'dev' of ssh://10.10.100.21/source/saas-platform into dev

zhoudw 8 년 전
부모
커밋
f6c6dde4c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      applications/purchase/purchase-server/src/main/resources/mapper/PurchaseMapper.xml

+ 1 - 1
applications/purchase/purchase-server/src/main/resources/mapper/PurchaseMapper.xml

@@ -416,7 +416,7 @@
   <select id="validateCodeWhenInsert" resultMap="int" parameterType="string" >
     select count(1) from purchase where pu_code = #{code}
   </select>
-  <select id="validateCodeWhenInsert" resultMap="int" >
+  <select id="validateCodeWhenUpdate" resultMap="int" >
     select count(1) from purchase where pu_code = #{0} and pu_id != #{1}
   </select>
 </mapper>