增加流程发布时校验顺序号问题
This commit is contained in:
@@ -8,5 +8,8 @@
|
||||
<select id="selectMaxStandSn" resultType="java.lang.String">
|
||||
select Max(STAND_SN) from sar_buss_stand_sn where STAND_SORT = #{standSort} and VALID_FLAG = '0'
|
||||
</select>
|
||||
<select id="selectStandSort" resultType="java.lang.String">
|
||||
select STAND_SORT from sar_buss_stand_sn where STAND_SORT = #{standSort} and VALID_FLAG = '0' limit 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
+1
-1
@@ -351,7 +351,7 @@
|
||||
</select>
|
||||
|
||||
<select id="getStandInfoByReviseStatus" resultMap="BaseResultMap" parameterType="java.lang.String">
|
||||
select MAX(DISTINCT CAST(stand_number AS decimal(9)))+1 AS newStandSn from sar_bussioness_stand
|
||||
select MAX(DISTINCT CAST(stand_number AS decimal(9))) AS newStandSn from sar_bussioness_stand
|
||||
where REPLACE(STAND_SORT,' ','') = REPLACE(#{standSort},' ','') and valid_flag=0
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user