feat: There is no way the, xxx
This commit is contained in:
+10
@@ -170,6 +170,8 @@
|
||||
<if test="standSort != null" >stand_sort,</if>
|
||||
<if test="standYear != null" >stand_year,</if>
|
||||
<if test="standNumber != null" >stand_number,</if>
|
||||
<if test="reviseStatus != null" >REVISE_STATUS,</if>
|
||||
<if test="standSn != null" >STAND_SN,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
||||
<if test="modifyTime != null" >#{modifyTime, jdbcType=TIMESTAMP},</if>
|
||||
@@ -190,6 +192,8 @@
|
||||
<if test="standSort != null" >#{standSort, jdbcType=VARCHAR},</if>
|
||||
<if test="standYear != null" >#{standYear, jdbcType=VARCHAR},</if>
|
||||
<if test="standNumber != null" >#{standNumber, jdbcType=VARCHAR},</if>
|
||||
<if test="reviseStatus != null" >#{reviseStatus, jdbcType=VARCHAR},</if>
|
||||
<if test="standSn != null" >#{standSn, jdbcType=VARCHAR},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -322,6 +326,12 @@
|
||||
|
||||
</select>
|
||||
|
||||
<select id="getStandInfoByReviseStatus" resultMap="BaseResultMap" parameterType="java.lang.String">
|
||||
select LPAD(MAX(DISTINCT CAST(STAND_SN AS decimal(9)))+1, 3, 0) AS newStandSn from sar_bussioness_stand
|
||||
where revise_status = #{value} and valid_flag=0
|
||||
|
||||
</select>
|
||||
|
||||
<!-- 删除记录 -->
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from SAR_BUSSIONESS_STAND
|
||||
|
||||
Reference in New Issue
Block a user