临时外出申请新增是否因公外出字段,新增修改查看
This commit is contained in:
parent
aa771894f3
commit
7c102df29a
|
|
@ -148,6 +148,11 @@ public class HolidayBean {
|
||||||
*/
|
*/
|
||||||
private String isAgree;
|
private String isAgree;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否因公外出 1 是 0 否
|
||||||
|
*/
|
||||||
|
private String isBusiness;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -44,14 +44,14 @@
|
||||||
leave_end_date,
|
leave_end_date,
|
||||||
leave_end_interval,
|
leave_end_interval,
|
||||||
leave_duration, source, create_user_id, is_agree, location, host_user_id,
|
leave_duration, source, create_user_id, is_agree, location, host_user_id,
|
||||||
host_user_name, remark, examine_status,is_update,is_sync)
|
host_user_name, remark, examine_status,is_update,is_sync,is_business)
|
||||||
VALUES (#{uuid}, #{userId}, #{userName}, #{orgId}, #{orgName}, #{leaveType}, #{type}, #{leaveReason},
|
VALUES (#{uuid}, #{userId}, #{userName}, #{orgId}, #{orgName}, #{leaveType}, #{type}, #{leaveReason},
|
||||||
#{leaveStartDate},
|
#{leaveStartDate},
|
||||||
#{leaveStartInterval},
|
#{leaveStartInterval},
|
||||||
#{leaveEndDate},
|
#{leaveEndDate},
|
||||||
#{leaveEndInterval},
|
#{leaveEndInterval},
|
||||||
#{leaveDuration}, #{source}, #{createUserId}, #{isAgree}, #{location}, #{hostUserId}, #{hostUserName},
|
#{leaveDuration}, #{source}, #{createUserId}, #{isAgree}, #{location}, #{hostUserId}, #{hostUserName},
|
||||||
#{remark}, '0','0','0')
|
#{remark}, '0','0','0',#{isBusiness})
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateUser">
|
<update id="updateUser">
|
||||||
|
|
@ -93,6 +93,8 @@
|
||||||
host_user_id = #{hostUserId},
|
host_user_id = #{hostUserId},
|
||||||
remark = #{remark},
|
remark = #{remark},
|
||||||
is_update = '1',
|
is_update = '1',
|
||||||
|
is_business = #{isBusiness},
|
||||||
|
examine_status = '0'
|
||||||
</set>
|
</set>
|
||||||
where uuid = #{uuid}
|
where uuid = #{uuid}
|
||||||
</update>
|
</update>
|
||||||
|
|
@ -483,7 +485,8 @@
|
||||||
la.host_user_id,
|
la.host_user_id,
|
||||||
la.host_user_name,
|
la.host_user_name,
|
||||||
la.remark,
|
la.remark,
|
||||||
la.examine_status
|
la.examine_status,
|
||||||
|
la.is_business
|
||||||
FROM leave_apply_wechat la
|
FROM leave_apply_wechat la
|
||||||
WHERE la.is_active = '1'
|
WHERE la.is_active = '1'
|
||||||
and la.uuid = #{uuId}
|
and la.uuid = #{uuId}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue