bug:企标编号重复问题处理
This commit is contained in:
+1
-1
@@ -1258,7 +1258,7 @@
|
||||
select * from sar_bussioness_stand where stand_code = #{standCode} and VALID_FLAG = 0 limit 1
|
||||
</select>
|
||||
<select id="selectMaxStandSn" resultType="java.lang.String">
|
||||
select max(STAND_NUMBER) from sar_bussioness_stand where STAND_SORT =#{standSort} and VALID_FLAG = 0
|
||||
select MAX(DISTINCT CAST(STAND_NUMBER AS decimal(9))) from sar_bussioness_stand where STAND_SORT =#{standSort} and VALID_FLAG = 0
|
||||
</select>
|
||||
|
||||
<update id="updateByIdInfo" >
|
||||
|
||||
Reference in New Issue
Block a user