报销接口添加字段

This commit is contained in:
lvleigang 2024-08-19 16:54:44 +08:00
parent 885b0e4d28
commit d1e416aa2c
2 changed files with 107 additions and 58 deletions

View File

@ -69,6 +69,8 @@ public class OerDjmlEntity extends BaseEntity {
private String khyh;//开户银行 private String khyh;//开户银行
//差旅费出差人 //差旅费出差人
private String clf_ccr; private String clf_ccr;
//出差类别
private String clf_cclb;
//送审日期 //送审日期
private String ssrq; private String ssrq;
//送审人id //送审人id
@ -477,4 +479,12 @@ public class OerDjmlEntity extends BaseEntity {
public void setFileInfoList(List<FileInfoDTO> fileInfoList) { public void setFileInfoList(List<FileInfoDTO> fileInfoList) {
this.fileInfoList = fileInfoList; this.fileInfoList = fileInfoList;
} }
public String getClf_cclb() {
return clf_cclb;
}
public void setClf_cclb(String clf_cclb) {
this.clf_cclb = clf_cclb;
}
} }

View File

@ -92,6 +92,8 @@ GSDM,KJND,mlId
<insert id="OerDjmlEntity_insert" parameterType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity"> <insert id="OerDjmlEntity_insert" parameterType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity">
insert into OER_DJML( insert into OER_DJML(
<trim prefixOverrides="," suffixOverrides=",">
<if test="gsdm != null and gsdm !='' "> GSDM, </if> <if test="gsdm != null and gsdm !='' "> GSDM, </if>
<if test="kjnd != null and kjnd !='' "> KJND, </if> <if test="kjnd != null and kjnd !='' "> KJND, </if>
<if test="djlxId != null and djlxId !='' "> DJLXID, </if> <if test="djlxId != null and djlxId !='' "> DJLXID, </if>
@ -120,9 +122,22 @@ GSDM,KJND,mlId
<if test="blje != null and blje !='' "> BLJE, </if> <if test="blje != null and blje !='' "> BLJE, </if>
<if test="je != null and je !='' "> JE, </if> <if test="je != null and je !='' "> JE, </if>
<if test="whje != null and whje !='' "> WHJE,</if> <if test="whje != null and whje !='' "> WHJE,</if>
<if test="jedx != null and jedx !='' "> JEDX </if> <if test="jedx != null and jedx !='' "> JEDX, </if>
<if test="zy != null and zy !='' "> ZY, </if>
<if test="clf_ccr != null and clf_ccr !='' "> clf_ccr, </if>
<if test="clf_cclb != null and clf_cclb !='' "> clf_cclb, </if>
<if test="jjdm != null and jjdm !='' "> jjdm, </if>
<if test="jjmc != null and jjmc !='' "> jjmc, </if>
<if test="khyh != null and khyh !='' "> khyh, </if>
<if test="yhzh != null and yhzh !='' "> yhzh, </if>
<if test="ssr != null and ssr !='' "> ssr, </if>
<if test="ssrid != null and ssrid !='' "> ssrid, </if>
<if test="xmdm != null and xmdm !='' "> xmdm, </if>
<if test="xmmc != null and xmmc !='' "> xmmc, </if>
</trim>
) )
values ( values (
<trim prefixOverrides="," suffixOverrides=",">
<if test="gsdm != null and gsdm !='' "> #{gsdm}, </if> <if test="gsdm != null and gsdm !='' "> #{gsdm}, </if>
<if test="kjnd != null and kjnd !='' "> #{kjnd}, </if> <if test="kjnd != null and kjnd !='' "> #{kjnd}, </if>
<if test="djlxId != null and djlxId !='' "> ${djlxId}, </if> <if test="djlxId != null and djlxId !='' "> ${djlxId}, </if>
@ -151,7 +166,19 @@ GSDM,KJND,mlId
<if test="blje != null and blje !='' "> #{blje}, </if> <if test="blje != null and blje !='' "> #{blje}, </if>
<if test="je != null and je !='' "> #{je}, </if> <if test="je != null and je !='' "> #{je}, </if>
<if test="whje != null and whje !='' "> #{whje},</if> <if test="whje != null and whje !='' "> #{whje},</if>
<if test="jedx != null and jedx !='' "> #{jedx} </if> <if test="jedx != null and jedx !='' "> #{jedx}, </if>
<if test="zy != null and zy !='' "> #{zy}, </if>
<if test="clf_ccr != null and clf_ccr !='' "> #{clf_ccr}, </if>
<if test="clf_cclb != null and clf_cclb !='' "> #{clf_cclb}, </if>
<if test="jjdm != null and jjdm !='' "> #{jjdm}, </if>
<if test="jjmc != null and jjmc !='' "> #{jjmc}, </if>
<if test="khyh != null and khyh !='' "> #{khyh}, </if>
<if test="yhzh != null and yhzh !='' "> #{yhzh}, </if>
<if test="ssr != null and ssr !='' "> #{ssr}, </if>
<if test="ssrid != null and ssrid !='' "> #{ssrid}, </if>
<if test="xmdm != null and xmdm !='' "> #{xmdm}, </if>
<if test="xmmc != null and xmmc !='' "> #{xmmc}, </if>
</trim>
) )
</insert> </insert>
@ -193,10 +220,22 @@ GSDM,KJND,mlId
<if test="je != null and je !='' "> JE = #{je}, </if> <if test="je != null and je !='' "> JE = #{je}, </if>
<if test="whje != null and whje !='' "> WHJE = #{whje},</if> <if test="whje != null and whje !='' "> WHJE = #{whje},</if>
<if test="jedx != null and jedx !='' "> JEDX = #{jedx}, </if> <if test="jedx != null and jedx !='' "> JEDX = #{jedx}, </if>
<if test="zy != null and zy !='' "> ZY = #{zy}, </if>
<if test="clf_ccr != null and clf_ccr !='' "> clf_ccr = #{clf_ccr}, </if>
<if test="clf_cclb != null and clf_cclb !='' "> clf_cclb = #{clf_cclb}, </if>
<if test="jjdm != null and jjdm !='' "> jjdm = #{jjdm}, </if>
<if test="jjmc != null and jjmc !='' "> jjmc = #{jjmc}, </if>
<if test="khyh != null and khyh !='' "> khyh = #{khyh}, </if>
<if test="yhzh != null and yhzh !='' "> yhzh = #{yhzh}, </if>
<if test="ssr != null and ssr !='' "> ssr = #{ssr}, </if>
<if test="ssrid != null and ssrid !='' "> ssrid = #{ssrid}, </if>
<if test="xmdm != null and xmdm !='' "> xmdm = #{xmdm}, </if>
<if test="xmmc != null and xmmc !='' "> xmmc = #{xmmc}, </if>
</trim> </trim>
where DJBH = #{djbh} and MLID=${mlId} where DJBH = #{djbh} and MLID=${mlId}
</update> </update>
<!--删除,用于单据删除时使用--> <!--删除,用于单据删除时使用-->
<delete id="OerDjmlEntity_delete" parameterType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity"> <delete id="OerDjmlEntity_delete" parameterType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity">
DELETE DELETE