forked from integrated_whb/integrated_whb
Merge remote-tracking branch 'origin/dev' into dev
commit
a7fe385c5f
|
@ -421,57 +421,6 @@
|
|||
where
|
||||
CUSTOM_ID = #{CUSTOM_ID}
|
||||
</update>
|
||||
<update id="edit" parameterType="pd">
|
||||
update
|
||||
<include refid="tableName"></include>
|
||||
set
|
||||
NAME = #{NAME},
|
||||
PERIOD = #{PERIOD},
|
||||
TYPE = #{TYPE},
|
||||
ACOUNT = #{ACOUNT},
|
||||
BCOUNT = #{BCOUNT},
|
||||
CCOUNT = #{CCOUNT},
|
||||
DCOUNT = #{DCOUNT},
|
||||
<if test="BAO_BAO_DEPARTMENT_ID != null or BAO_BAO_DEPARTMENT_ID != ''">
|
||||
BAO_BAO_DEPARTMENT_ID = #{BAO_BAO_DEPARTMENT_ID},
|
||||
</if>
|
||||
<if test="ISDELETE != null or ISDELETE != ''">
|
||||
ISDELETE = #{ISDELETE},
|
||||
</if>
|
||||
<if test="BAO_BAO_USER_ID != null or BAO_BAO_USER_ID != ''">
|
||||
BAO_BAO_USER_ID = #{BAO_BAO_USER_ID},
|
||||
</if>
|
||||
<if test="BAO_BAO_TYPE != null or BAO_BAO_TYPE != ''">
|
||||
BAO_BAO_TYPE = #{BAO_BAO_TYPE},
|
||||
</if>
|
||||
<if test="TASK_TYPE != null or TASK_TYPE != ''">
|
||||
TASK_TYPE = #{TASK_TYPE},
|
||||
</if>
|
||||
<if test="DEPARTMENT_ID != null or DEPARTMENT_ID != ''">
|
||||
DEPARTMENT_ID= #{DEPARTMENT_ID},
|
||||
</if>
|
||||
<if test="POST_ID != null or POST_ID != ''">
|
||||
POST_ID =#{POST_ID},
|
||||
</if>
|
||||
<if test="SCREENTYPE != null or SCREENTYPE != ''">
|
||||
SCREENTYPE =#{SCREENTYPE},
|
||||
</if>
|
||||
<if test="START_DATE != null or START_DATE != ''">
|
||||
START_DATE =#{START_DATE},
|
||||
</if>
|
||||
<if test="END_DATE != null or END_DATE != ''">
|
||||
END_DATE =#{END_DATE},
|
||||
</if>
|
||||
<if test="OVERTIMENUM != null or OVERTIMENUM != ''">
|
||||
OVERTIMENUM =#{OVERTIMENUM},
|
||||
</if>
|
||||
<if test="USER_ID != null or USER_ID!= ''">
|
||||
USER_ID =#{USER_ID},
|
||||
</if>
|
||||
CUSTOM_ID = CUSTOM_ID
|
||||
where
|
||||
CUSTOM_ID = #{CUSTOM_ID}
|
||||
</update>
|
||||
|
||||
<!-- 通过ID获取数据 -->
|
||||
<select id="findById" parameterType="pd" resultType="pd">
|
||||
|
|
Loading…
Reference in New Issue