报销接口添加字段

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 clf_ccr;
//出差类别
private String clf_cclb;
//送审日期
private String ssrq;
//送审人id
@ -477,4 +479,12 @@ public class OerDjmlEntity extends BaseEntity {
public void setFileInfoList(List<FileInfoDTO> 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,66 +92,93 @@ GSDM,KJND,mlId
<insert id="OerDjmlEntity_insert" parameterType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity">
insert into OER_DJML(
<if test="gsdm != null and gsdm !='' "> GSDM, </if>
<if test="kjnd != null and kjnd !='' "> KJND, </if>
<if test="djlxId != null and djlxId !='' "> DJLXID, </if>
<if test="mlId != null and mlId !='' "> MLID, </if>
<if test="zt != null and zt !='' "> ZT, </if>
<if test="crerdm != null and crerdm !=''"> CRerDM, </if>
<if test="crermc != null and crermc !='' "> CRerMC, </if>
<if test="crerdate != null and crerdate !='' "> CRerDate, </if>
<if test="flowcode != null and flowcode !='' "> FlowCode,</if>
<if test="curshjd != null and curshjd !='' "> CurSHJD, </if>
<if test="nextshjd != null and nextshjd !='' "> NextSHJD,</if>
<if test="shrs != null and shrs !='' "> SHR,</if>
<if test="shrId != null and shrId !=''"> SHRID, </if>
<if test="shrq != null and shrq !='' "> SHRQ, </if>
<if test="jsfs != null and jsfs !='' "> JSFS, </if>
<if test="djbh != null and djbh !='' "> DJBH, </if>
<if test="djdate != null and djdate !='' "> DJDate, </if>
<if test="fjs != null and fjs !='' "> FJS,</if>
<if test="bmdm != null and bmdm !='' "> BMDM, </if>
<if test="bmmc != null and bmmc !='' "> BMMC,</if>
<if test="grdm != null and grdm !='' ">GRDM, </if>
<if test="grmc != null and grmc !='' ">GRMC,</if>
<if test="tel != null and tel !='' "> TEL, </if>
<if test="yjje != null and yjje !='' "> YJJE, </if>
<if test="thje != null and thje !='' "> THJE,</if>
<if test="blje != null and blje !='' "> BLJE, </if>
<if test="je != null and je !='' "> JE, </if>
<if test="whje != null and whje !='' "> WHJE,</if>
<if test="jedx != null and jedx !='' "> JEDX </if>
<trim prefixOverrides="," suffixOverrides=",">
<if test="gsdm != null and gsdm !='' "> GSDM, </if>
<if test="kjnd != null and kjnd !='' "> KJND, </if>
<if test="djlxId != null and djlxId !='' "> DJLXID, </if>
<if test="mlId != null and mlId !='' "> MLID, </if>
<if test="zt != null and zt !='' "> ZT, </if>
<if test="crerdm != null and crerdm !=''"> CRerDM, </if>
<if test="crermc != null and crermc !='' "> CRerMC, </if>
<if test="crerdate != null and crerdate !='' "> CRerDate, </if>
<if test="flowcode != null and flowcode !='' "> FlowCode,</if>
<if test="curshjd != null and curshjd !='' "> CurSHJD, </if>
<if test="nextshjd != null and nextshjd !='' "> NextSHJD,</if>
<if test="shrs != null and shrs !='' "> SHR,</if>
<if test="shrId != null and shrId !=''"> SHRID, </if>
<if test="shrq != null and shrq !='' "> SHRQ, </if>
<if test="jsfs != null and jsfs !='' "> JSFS, </if>
<if test="djbh != null and djbh !='' "> DJBH, </if>
<if test="djdate != null and djdate !='' "> DJDate, </if>
<if test="fjs != null and fjs !='' "> FJS,</if>
<if test="bmdm != null and bmdm !='' "> BMDM, </if>
<if test="bmmc != null and bmmc !='' "> BMMC,</if>
<if test="grdm != null and grdm !='' ">GRDM, </if>
<if test="grmc != null and grmc !='' ">GRMC,</if>
<if test="tel != null and tel !='' "> TEL, </if>
<if test="yjje != null and yjje !='' "> YJJE, </if>
<if test="thje != null and thje !='' "> THJE,</if>
<if test="blje != null and blje !='' "> BLJE, </if>
<if test="je != null and je !='' "> JE, </if>
<if test="whje != null and whje !='' "> WHJE,</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 (
<if test="gsdm != null and gsdm !='' "> #{gsdm}, </if>
<if test="kjnd != null and kjnd !='' "> #{kjnd}, </if>
<if test="djlxId != null and djlxId !='' "> ${djlxId}, </if>
<if test="mlId != null and mlId !='' "> ${mlId}, </if>
<if test="zt != null and zt !='' "> #{zt}, </if>
<if test="crerdm != null and crerdm !=''"> #{crerdm}, </if>
<if test="crermc != null and crermc !='' "> #{crermc}, </if>
<if test="crerdate != null and crerdate !='' "> #{crerdate}, </if>
<if test="flowcode != null and flowcode !='' "> #{flowcode},</if>
<if test="curshjd != null and curshjd !='' "> ${curshjd}, </if>
<if test="nextshjd != null and nextshjd !='' "> ${nextshjd},</if>
<if test="shrs != null and shrs !='' "> #{shrs}, </if>
<if test="shrId != null and shrId !='' "> #{shrId}, </if>
<if test="shrq != null and shrq !='' "> #{shrq}, </if>
<if test="jsfs != null and jsfs !='' "> #{jsfs}, </if>
<if test="djbh != null and djbh !='' "> #{djbh}, </if>
<if test="djdate != null and djdate !='' "> #{djdate}, </if>
<if test="fjs != null and fjs !='' "> ${fjs},</if>
<if test="bmdm != null and bmdm !='' "> #{bmdm}, </if>
<if test="bmmc != null and bmmc !='' "> #{bmmc},</if>
<if test="grdm != null and grdm !='' "> #{grdm}, </if>
<if test="grmc != null and grmc !='' "> #{grmc},</if>
<if test="tel != null and tel !='' "> #{tel}, </if>
<if test="yjje != null and yjje !='' "> #{yjje}, </if>
<if test="thje != null and thje !='' "> #{thje},</if>
<if test="blje != null and blje !='' "> #{blje}, </if>
<if test="je != null and je !='' "> #{je}, </if>
<if test="whje != null and whje !='' "> #{whje},</if>
<if test="jedx != null and jedx !='' "> #{jedx} </if>
<trim prefixOverrides="," suffixOverrides=",">
<if test="gsdm != null and gsdm !='' "> #{gsdm}, </if>
<if test="kjnd != null and kjnd !='' "> #{kjnd}, </if>
<if test="djlxId != null and djlxId !='' "> ${djlxId}, </if>
<if test="mlId != null and mlId !='' "> ${mlId}, </if>
<if test="zt != null and zt !='' "> #{zt}, </if>
<if test="crerdm != null and crerdm !=''"> #{crerdm}, </if>
<if test="crermc != null and crermc !='' "> #{crermc}, </if>
<if test="crerdate != null and crerdate !='' "> #{crerdate}, </if>
<if test="flowcode != null and flowcode !='' "> #{flowcode},</if>
<if test="curshjd != null and curshjd !='' "> ${curshjd}, </if>
<if test="nextshjd != null and nextshjd !='' "> ${nextshjd},</if>
<if test="shrs != null and shrs !='' "> #{shrs}, </if>
<if test="shrId != null and shrId !='' "> #{shrId}, </if>
<if test="shrq != null and shrq !='' "> #{shrq}, </if>
<if test="jsfs != null and jsfs !='' "> #{jsfs}, </if>
<if test="djbh != null and djbh !='' "> #{djbh}, </if>
<if test="djdate != null and djdate !='' "> #{djdate}, </if>
<if test="fjs != null and fjs !='' "> ${fjs},</if>
<if test="bmdm != null and bmdm !='' "> #{bmdm}, </if>
<if test="bmmc != null and bmmc !='' "> #{bmmc},</if>
<if test="grdm != null and grdm !='' "> #{grdm}, </if>
<if test="grmc != null and grmc !='' "> #{grmc},</if>
<if test="tel != null and tel !='' "> #{tel}, </if>
<if test="yjje != null and yjje !='' "> #{yjje}, </if>
<if test="thje != null and thje !='' "> #{thje},</if>
<if test="blje != null and blje !='' "> #{blje}, </if>
<if test="je != null and je !='' "> #{je}, </if>
<if test="whje != null and whje !='' "> #{whje},</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>
@ -193,10 +220,22 @@ GSDM,KJND,mlId
<if test="je != null and je !='' "> JE = #{je}, </if>
<if test="whje != null and whje !='' "> WHJE = #{whje},</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>
where DJBH = #{djbh} and MLID=${mlId}
</update>
<!--删除,用于单据删除时使用-->
<delete id="OerDjmlEntity_delete" parameterType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity">
DELETE