# Conflicts:
#	service/src/main/java/com/hzya/frame/grpU8/nxproof/oerdjml/service/IOerDjmlService.java
#	service/src/main/java/com/hzya/frame/grpU8/nxproof/oerdjml/service/impl/OerDjmlServiceImpl.java
This commit is contained in:
xiang2lin 2024-08-15 10:56:48 +08:00
commit 66ad9e41d2
11 changed files with 3715 additions and 6 deletions

View File

@ -926,7 +926,7 @@ public class MdmModulePluginInitializer extends PluginBaseEntity {
map1.put("tableName",mainDb); map1.put("tableName",mainDb);
//map1.put("dataStatus", "Y"); //map1.put("dataStatus", "Y");
map1.put("addStatus", "0"); map1.put("addStatus", "0");
map1.put("size", 10); map1.put("size", 20);
objects = mdmModuleDao.queryMdmSTs(map1); objects = mdmModuleDao.queryMdmSTs(map1);
objects = toLowerCaseKeys(objects); objects = toLowerCaseKeys(objects);

View File

@ -2,8 +2,11 @@ package com.hzya.frame.grpU8.nxproof.oerdjml.dao;
import com.hzya.frame.basedao.dao.IBaseDao; import com.hzya.frame.basedao.dao.IBaseDao;
import com.hzya.frame.grpU8.nxproof.oerdjml.entity.GbiZbsyrecAllEntity;
import com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity; import com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity;
import java.util.List;
/** /**
* @Author:hecan * @Author:hecan
* @Description: * @Description:
@ -37,4 +40,9 @@ public interface IOerDjmlDao extends IBaseDao<OerDjmlEntity,String> {
OerDjmlEntity queryOerDjmlEntity(OerDjmlEntity oerDjmlEntity); OerDjmlEntity queryOerDjmlEntity(OerDjmlEntity oerDjmlEntity);
List<OerDjmlEntity> queryOerDjml(OerDjmlEntity oerDjmlAllEntity);
Integer updateOerDjmlZt(OerDjmlEntity oerDjmlAllEntity);
Integer updateGbiZbsyrecByDjid(GbiZbsyrecAllEntity gbiZbsyrecAllEntity);
} }

View File

@ -3,9 +3,12 @@ package com.hzya.frame.grpU8.nxproof.oerdjml.dao.impl;
import com.hzya.frame.basedao.dao.MybatisGenericDao; import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.grpU8.nxproof.oerdjml.dao.IOerDjmlDao; import com.hzya.frame.grpU8.nxproof.oerdjml.dao.IOerDjmlDao;
import com.hzya.frame.grpU8.nxproof.oerdjml.entity.GbiZbsyrecAllEntity;
import com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity; import com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
import java.util.List;
/** /**
* @Author:hecan * @Author:hecan
* @Description: * @Description:
@ -56,4 +59,22 @@ public class OerDjmlDaoImpl extends MybatisGenericDao<OerDjmlEntity,String> impl
} }
} }
@Override
public List<OerDjmlEntity> queryOerDjml(OerDjmlEntity oerDjmlAllEntity) {
List<OerDjmlEntity> o = (List<OerDjmlEntity>) super.selectList(getSqlIdPrifx() + "queryOerDjml", oerDjmlAllEntity);
return o;
}
@Override
public Integer updateOerDjmlZt(OerDjmlEntity oerDjmlAllEntity) {
Integer o = super.update(getSqlIdPrifx() + "updateOerDjmlZt", oerDjmlAllEntity);
return o;
}
@Override
public Integer updateGbiZbsyrecByDjid(GbiZbsyrecAllEntity gbiZbsyrecAllEntity) {
Integer o = super.update(getSqlIdPrifx() + "updateGbiZbsyrecByDjid", gbiZbsyrecAllEntity);
return o;
}
} }

View File

@ -0,0 +1,189 @@
package com.hzya.frame.grpU8.nxproof.oerdjml.entity;
import com.hzya.frame.web.entity.BaseEntity;
import java.math.BigDecimal;
/**
* (GbiZbsyrec)实体类
*
* @author makejava
* @since 2024-08-14 10:17:39
*/
public class GbiZbsyrecAllEntity extends BaseEntity {
private String gsdm;
private String kjnd;
private String module;
private String djlx;
private String djid;
private Integer djflh;
private Integer djflmx;
private String djywrq;
private String djzt;
private Integer jhid;
private BigDecimal djje;
private String djzy;
private String szfx;
private String zblb;
private String czlx;
private String jdbz;
private String zzbz;
private BigDecimal sl;
private String ywdjid;
public String getGsdm() {
return gsdm;
}
public void setGsdm(String gsdm) {
this.gsdm = gsdm;
}
public String getKjnd() {
return kjnd;
}
public void setKjnd(String kjnd) {
this.kjnd = kjnd;
}
public String getModule() {
return module;
}
public void setModule(String module) {
this.module = module;
}
public String getDjlx() {
return djlx;
}
public void setDjlx(String djlx) {
this.djlx = djlx;
}
public String getDjid() {
return djid;
}
public void setDjid(String djid) {
this.djid = djid;
}
public Integer getDjflh() {
return djflh;
}
public void setDjflh(Integer djflh) {
this.djflh = djflh;
}
public Integer getDjflmx() {
return djflmx;
}
public void setDjflmx(Integer djflmx) {
this.djflmx = djflmx;
}
public String getDjywrq() {
return djywrq;
}
public void setDjywrq(String djywrq) {
this.djywrq = djywrq;
}
public String getDjzt() {
return djzt;
}
public void setDjzt(String djzt) {
this.djzt = djzt;
}
public Integer getJhid() {
return jhid;
}
public void setJhid(Integer jhid) {
this.jhid = jhid;
}
public BigDecimal getDjje() {
return djje;
}
public void setDjje(BigDecimal djje) {
this.djje = djje;
}
public String getDjzy() {
return djzy;
}
public void setDjzy(String djzy) {
this.djzy = djzy;
}
public String getSzfx() {
return szfx;
}
public void setSzfx(String szfx) {
this.szfx = szfx;
}
public String getZblb() {
return zblb;
}
public void setZblb(String zblb) {
this.zblb = zblb;
}
public String getCzlx() {
return czlx;
}
public void setCzlx(String czlx) {
this.czlx = czlx;
}
public String getJdbz() {
return jdbz;
}
public void setJdbz(String jdbz) {
this.jdbz = jdbz;
}
public String getZzbz() {
return zzbz;
}
public void setZzbz(String zzbz) {
this.zzbz = zzbz;
}
public BigDecimal getSl() {
return sl;
}
public void setSl(BigDecimal sl) {
this.sl = sl;
}
public String getYwdjid() {
return ywdjid;
}
public void setYwdjid(String ywdjid) {
this.ywdjid = ywdjid;
}
}

View File

@ -11,6 +11,9 @@ import lombok.*;
* @Date: 2023/6/16 21:49 * @Date: 2023/6/16 21:49
*/ */
public class OerDjmlEntity extends BaseEntity { public class OerDjmlEntity extends BaseEntity {
//流程类别 1流程发起 2流程撤销 3流程终止 4流程结束
private String lclb;
private String mlId; private String mlId;
private String gsdm;//公司代码 private String gsdm;//公司代码
private String kjnd;//会计年度 private String kjnd;//会计年度
@ -329,6 +332,14 @@ public class OerDjmlEntity extends BaseEntity {
RptRtContent = rptRtContent; RptRtContent = rptRtContent;
} }
public String getLclb() {
return lclb;
}
public void setLclb(String lclb) {
this.lclb = lclb;
}
public String getXmdm() { public String getXmdm() {
return xmdm; return xmdm;
} }

View File

@ -189,4 +189,723 @@ GSDM,KJND,mlId
AND mlid = #{mlId} AND mlid = #{mlId}
</update> </update>
<select id="queryOerDjml" resultType="com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity" parameterType = "com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity">
select
MLID
,GSDM
,KJND
,DJLXID
,DQRQ
,ZT
,CRERDM
,CRERMC
,CRERDATE
,FKDH
,FKRID
,FKR
,FKRQ
,IDPZH
,PZRID
,PZR
,PZRQ
,DJBH
,DJDATE
,JE
,JEDX
,WHJE
,FJS
,ZY
,YJJE
,THJE
,BLJE
,BMDM
,BMMC
,XMDM
,XMMC
,GRDM
,GRMC
,DWDM
,DWMC
,GNDM
,GNMC
,JJDM
,JJMC
,FZX6DM
,FZX6MC
,FZX7DM
,FZX7MC
,FZX8DM
,FZX8MC
,FZX9DM
,FZX9MC
,FZXADM
,FZXAMC
,KMDM
,KMMC
,HTBH
,HTJH
,SKR
,YHZH
,KHYH
,CURSHJD
,NEXTSHJD
,FLOWCODE
,SHRID
,SHR
,SHRQ
,SFTH
,THXX
,JSFS
,FQRID
,FQR
,FQRQ
,WX00000051
,WX00000052
,WX00000053
,WX00000054
,WX00000055
,WX00000056
,WX00000057
,WX00000058
,WX00000059
,XQ
,WX00000060
,SKZH
,FKZH
,JSDH
,JSRID
,JSR
,JSRQ
,WX00000061
,WX00000062
,LYBXSX
,WX00000065
,WX00000066
,WX00000063
,WX00000064
,WX00000067
,WX00000068
,WX00000069
,JFLXDM
,JFLXMC
,GZDM
,GZMC
,MXXMDM
,MXXMMC
,JXSE
,POSRQ
,POSDH
,SFZH
,PROVINCE
,CITY
,YH
,YHHH
,KHDQ
,WYZFGUID
,FKRNAME
,FKRKHYH
,FKRYHZH
,TEL
,CLF_CCR
,WLYWGUID
,YYBH
,ZJXZDM
,ZJXZMC
,ZJLYDM
,ZJLYMC
,YSDWDM
,YSDWMC
,SFKGSDM
,wlh
,wlhDisplay
,CLF_CCLB
,KZZL1DM
,KZZL1MC
,KZZL2DM
,KZZL2MC
,KZZL3DM
,KZZL3MC
,KZZL4DM
,KZZL4MC
,KZZL5DM
,KZZL5MC
,KZZL6DM
,KZZL6MC
,KZZL7DM
,KZZL7MC
,ZCSXDM
,ZCSXMC
,FYBZ
,TS
,HDKSRQ
,HDJSRQ
,StartDate
,EndDate
,SFDD
,FDDSM
,ZWJB
,JDDXDW
,ZBXM
,HYLB
,PXMC
,PXLB
,ZYRS
,FZRS
,DD
,HYMC
,SmsSendFlag
,BillMODS
,DX_LWFDH
,DX_CLSPDH
,DX_HYJH
,DX_ZCLX
,ZFFSXX
,CLF_QZF
,CLF_BXF
,CLF_QTF
,CLF_JTF
,CLF_CCTS
,DYRID
,DYR
,DYRQ
,DYCS
,IDSFPD
,YSKJKMDM
,YSKJKMMC
,DJGUID
,SSRQ
,SSRID
,SSR
,XMFLDM
,XMFLMC
,ZCBH
,GWZJBXDBH
,WBDJBH
,FZX11DM
,FZX11MC
,FZX12DM
,FZX12MC
,FZX13DM
,FZX13MC
,FZX14DM
,FZX14MC
,FZX15DM
,FZX15MC
,FZX16DM
,FZX16MC
,FZX17DM
,FZX17MC
,FZX18DM
,FZX18MC
,FZX19DM
,FZX19MC
,FZX20DM
,FZX20MC
,FZX21DM
,FZX21MC
,FZX22DM
,FZX22MC
,FZX23DM
,FZX23MC
,FZX24DM
,FZX24MC
,FZX25DM
,FZX25MC
,FZX26DM
,FZX26MC
,FZX27DM
,FZX27MC
,FZX28DM
,FZX28MC
,FZX29DM
,FZX29MC
,FZX30DM
,FZX30MC
,TDUSER
,TDDATE
from OER_DJML
<trim prefix="where" prefixOverrides="and">
<if test="mlid != null"> and MLID = #{mlid} </if>
<if test="gsdm != null and gsdm != ''"> and GSDM = #{gsdm} </if>
<if test="kjnd != null and kjnd != ''"> and KJND = #{kjnd} </if>
<if test="djlxid != null"> and DJLXID = #{djlxid} </if>
<if test="dqrq != null and dqrq != ''"> and DQRQ = #{dqrq} </if>
<if test="zt != null and zt != ''"> and ZT = #{zt} </if>
<if test="crerdm != null and crerdm != ''"> and CRERDM = #{crerdm} </if>
<if test="crermc != null and crermc != ''"> and CRERMC = #{crermc} </if>
<if test="crerdate != null and crerdate != ''"> and CRERDATE = #{crerdate} </if>
<if test="fkdh != null and fkdh != ''"> and FKDH = #{fkdh} </if>
<if test="fkrid != null"> and FKRID = #{fkrid} </if>
<if test="fkr != null and fkr != ''"> and FKR = #{fkr} </if>
<if test="fkrq != null and fkrq != ''"> and FKRQ = #{fkrq} </if>
<if test="idpzh != null and idpzh != ''"> and IDPZH = #{idpzh} </if>
<if test="pzrid != null"> and PZRID = #{pzrid} </if>
<if test="pzr != null and pzr != ''"> and PZR = #{pzr} </if>
<if test="pzrq != null and pzrq != ''"> and PZRQ = #{pzrq} </if>
<if test="djbh != null and djbh != ''"> and DJBH = #{djbh} </if>
<if test="djdate != null and djdate != ''"> and DJDATE = #{djdate} </if>
<if test="je != null"> and JE = #{je} </if>
<if test="jedx != null and jedx != ''"> and JEDX = #{jedx} </if>
<if test="whje != null"> and WHJE = #{whje} </if>
<if test="fjs != null"> and FJS = #{fjs} </if>
<if test="zy != null and zy != ''"> and ZY = #{zy} </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="bmdm != null and bmdm != ''"> and BMDM = #{bmdm} </if>
<if test="bmmc != null and bmmc != ''"> and BMMC = #{bmmc} </if>
<if test="xmdm != null and xmdm != ''"> and XMDM = #{xmdm} </if>
<if test="xmmc != null and xmmc != ''"> and XMMC = #{xmmc} </if>
<if test="grdm != null and grdm != ''"> and GRDM = #{grdm} </if>
<if test="grmc != null and grmc != ''"> and GRMC = #{grmc} </if>
<if test="dwdm != null and dwdm != ''"> and DWDM = #{dwdm} </if>
<if test="dwmc != null and dwmc != ''"> and DWMC = #{dwmc} </if>
<if test="gndm != null and gndm != ''"> and GNDM = #{gndm} </if>
<if test="gnmc != null and gnmc != ''"> and GNMC = #{gnmc} </if>
<if test="jjdm != null and jjdm != ''"> and JJDM = #{jjdm} </if>
<if test="jjmc != null and jjmc != ''"> and JJMC = #{jjmc} </if>
<if test="fzx6dm != null and fzx6dm != ''"> and FZX6DM = #{fzx6dm} </if>
<if test="fzx6mc != null and fzx6mc != ''"> and FZX6MC = #{fzx6mc} </if>
<if test="fzx7dm != null and fzx7dm != ''"> and FZX7DM = #{fzx7dm} </if>
<if test="fzx7mc != null and fzx7mc != ''"> and FZX7MC = #{fzx7mc} </if>
<if test="fzx8dm != null and fzx8dm != ''"> and FZX8DM = #{fzx8dm} </if>
<if test="fzx8mc != null and fzx8mc != ''"> and FZX8MC = #{fzx8mc} </if>
<if test="fzx9dm != null and fzx9dm != ''"> and FZX9DM = #{fzx9dm} </if>
<if test="fzx9mc != null and fzx9mc != ''"> and FZX9MC = #{fzx9mc} </if>
<if test="fzxadm != null and fzxadm != ''"> and FZXADM = #{fzxadm} </if>
<if test="fzxamc != null and fzxamc != ''"> and FZXAMC = #{fzxamc} </if>
<if test="kmdm != null and kmdm != ''"> and KMDM = #{kmdm} </if>
<if test="kmmc != null and kmmc != ''"> and KMMC = #{kmmc} </if>
<if test="htbh != null and htbh != ''"> and HTBH = #{htbh} </if>
<if test="htjh != null and htjh != ''"> and HTJH = #{htjh} </if>
<if test="skr != null and skr != ''"> and SKR = #{skr} </if>
<if test="yhzh != null and yhzh != ''"> and YHZH = #{yhzh} </if>
<if test="khyh != null and khyh != ''"> and KHYH = #{khyh} </if>
<if test="curshjd != null"> and CURSHJD = #{curshjd} </if>
<if test="nextshjd != null"> and NEXTSHJD = #{nextshjd} </if>
<if test="flowcode != null and flowcode != ''"> and FLOWCODE = #{flowcode} </if>
<if test="shrid != null and shrid != ''"> and SHRID = #{shrid} </if>
<if test="shr != null and shr != ''"> and SHR = #{shr} </if>
<if test="shrq != null and shrq != ''"> and SHRQ = #{shrq} </if>
<if test="sfth != null and sfth != ''"> and SFTH = #{sfth} </if>
<if test="thxx != null and thxx != ''"> and THXX = #{thxx} </if>
<if test="jsfs != null and jsfs != ''"> and JSFS = #{jsfs} </if>
<if test="fqrid != null"> and FQRID = #{fqrid} </if>
<if test="fqr != null and fqr != ''"> and FQR = #{fqr} </if>
<if test="fqrq != null and fqrq != ''"> and FQRQ = #{fqrq} </if>
<if test="wx00000051 != null and wx00000051 != ''"> and WX00000051 = #{wx00000051} </if>
<if test="wx00000052 != null and wx00000052 != ''"> and WX00000052 = #{wx00000052} </if>
<if test="wx00000053 != null and wx00000053 != ''"> and WX00000053 = #{wx00000053} </if>
<if test="wx00000054 != null and wx00000054 != ''"> and WX00000054 = #{wx00000054} </if>
<if test="wx00000055 != null and wx00000055 != ''"> and WX00000055 = #{wx00000055} </if>
<if test="wx00000056 != null"> and WX00000056 = #{wx00000056} </if>
<if test="wx00000057 != null and wx00000057 != ''"> and WX00000057 = #{wx00000057} </if>
<if test="wx00000058 != null and wx00000058 != ''"> and WX00000058 = #{wx00000058} </if>
<if test="wx00000059 != null"> and WX00000059 = #{wx00000059} </if>
<if test="xq != null and xq != ''"> and XQ = #{xq} </if>
<if test="wx00000060 != null and wx00000060 != ''"> and WX00000060 = #{wx00000060} </if>
<if test="skzh != null and skzh != ''"> and SKZH = #{skzh} </if>
<if test="fkzh != null and fkzh != ''"> and FKZH = #{fkzh} </if>
<if test="jsdh != null and jsdh != ''"> and JSDH = #{jsdh} </if>
<if test="jsrid != null"> and JSRID = #{jsrid} </if>
<if test="jsr != null and jsr != ''"> and JSR = #{jsr} </if>
<if test="jsrq != null and jsrq != ''"> and JSRQ = #{jsrq} </if>
<if test="wx00000061 != null and wx00000061 != ''"> and WX00000061 = #{wx00000061} </if>
<if test="wx00000062 != null and wx00000062 != ''"> and WX00000062 = #{wx00000062} </if>
<if test="lybxsx != null and lybxsx != ''"> and LYBXSX = #{lybxsx} </if>
<if test="wx00000065 != null"> and WX00000065 = #{wx00000065} </if>
<if test="wx00000066 != null"> and WX00000066 = #{wx00000066} </if>
<if test="wx00000063 != null"> and WX00000063 = #{wx00000063} </if>
<if test="wx00000064 != null"> and WX00000064 = #{wx00000064} </if>
<if test="wx00000067 != null and wx00000067 != ''"> and WX00000067 = #{wx00000067} </if>
<if test="wx00000068 != null"> and WX00000068 = #{wx00000068} </if>
<if test="wx00000069 != null and wx00000069 != ''"> and WX00000069 = #{wx00000069} </if>
<if test="jflxdm != null and jflxdm != ''"> and JFLXDM = #{jflxdm} </if>
<if test="jflxmc != null and jflxmc != ''"> and JFLXMC = #{jflxmc} </if>
<if test="gzdm != null"> and GZDM = #{gzdm} </if>
<if test="gzmc != null and gzmc != ''"> and GZMC = #{gzmc} </if>
<if test="mxxmdm != null and mxxmdm != ''"> and MXXMDM = #{mxxmdm} </if>
<if test="mxxmmc != null and mxxmmc != ''"> and MXXMMC = #{mxxmmc} </if>
<if test="jxse != null"> and JXSE = #{jxse} </if>
<if test="posrq != null and posrq != ''"> and POSRQ = #{posrq} </if>
<if test="posdh != null and posdh != ''"> and POSDH = #{posdh} </if>
<if test="sfzh != null and sfzh != ''"> and SFZH = #{sfzh} </if>
<if test="province != null and province != ''"> and PROVINCE = #{province} </if>
<if test="city != null and city != ''"> and CITY = #{city} </if>
<if test="yh != null and yh != ''"> and YH = #{yh} </if>
<if test="yhhh != null and yhhh != ''"> and YHHH = #{yhhh} </if>
<if test="khdq != null and khdq != ''"> and KHDQ = #{khdq} </if>
<if test="wyzfguid != null and wyzfguid != ''"> and WYZFGUID = #{wyzfguid} </if>
<if test="fkrname != null and fkrname != ''"> and FKRNAME = #{fkrname} </if>
<if test="fkrkhyh != null and fkrkhyh != ''"> and FKRKHYH = #{fkrkhyh} </if>
<if test="fkryhzh != null and fkryhzh != ''"> and FKRYHZH = #{fkryhzh} </if>
<if test="tel != null and tel != ''"> and TEL = #{tel} </if>
<if test="clfCcr != null and clfCcr != ''"> and CLF_CCR = #{clfCcr} </if>
<if test="wlywguid != null and wlywguid != ''"> and WLYWGUID = #{wlywguid} </if>
<if test="yybh != null and yybh != ''"> and YYBH = #{yybh} </if>
<if test="zjxzdm != null and zjxzdm != ''"> and ZJXZDM = #{zjxzdm} </if>
<if test="zjxzmc != null and zjxzmc != ''"> and ZJXZMC = #{zjxzmc} </if>
<if test="zjlydm != null and zjlydm != ''"> and ZJLYDM = #{zjlydm} </if>
<if test="zjlymc != null and zjlymc != ''"> and ZJLYMC = #{zjlymc} </if>
<if test="ysdwdm != null and ysdwdm != ''"> and YSDWDM = #{ysdwdm} </if>
<if test="ysdwmc != null and ysdwmc != ''"> and YSDWMC = #{ysdwmc} </if>
<if test="sfkgsdm != null and sfkgsdm != ''"> and SFKGSDM = #{sfkgsdm} </if>
<if test="wlh != null and wlh != ''"> and wlh = #{wlh} </if>
<if test="wlhdisplay != null and wlhdisplay != ''"> and wlhDisplay = #{wlhdisplay} </if>
<if test="clfCclb != null and clfCclb != ''"> and CLF_CCLB = #{clfCclb} </if>
<if test="kzzl1dm != null and kzzl1dm != ''"> and KZZL1DM = #{kzzl1dm} </if>
<if test="kzzl1mc != null and kzzl1mc != ''"> and KZZL1MC = #{kzzl1mc} </if>
<if test="kzzl2dm != null and kzzl2dm != ''"> and KZZL2DM = #{kzzl2dm} </if>
<if test="kzzl2mc != null and kzzl2mc != ''"> and KZZL2MC = #{kzzl2mc} </if>
<if test="kzzl3dm != null and kzzl3dm != ''"> and KZZL3DM = #{kzzl3dm} </if>
<if test="kzzl3mc != null and kzzl3mc != ''"> and KZZL3MC = #{kzzl3mc} </if>
<if test="kzzl4dm != null and kzzl4dm != ''"> and KZZL4DM = #{kzzl4dm} </if>
<if test="kzzl4mc != null and kzzl4mc != ''"> and KZZL4MC = #{kzzl4mc} </if>
<if test="kzzl5dm != null and kzzl5dm != ''"> and KZZL5DM = #{kzzl5dm} </if>
<if test="kzzl5mc != null and kzzl5mc != ''"> and KZZL5MC = #{kzzl5mc} </if>
<if test="kzzl6dm != null and kzzl6dm != ''"> and KZZL6DM = #{kzzl6dm} </if>
<if test="kzzl6mc != null and kzzl6mc != ''"> and KZZL6MC = #{kzzl6mc} </if>
<if test="kzzl7dm != null and kzzl7dm != ''"> and KZZL7DM = #{kzzl7dm} </if>
<if test="kzzl7mc != null and kzzl7mc != ''"> and KZZL7MC = #{kzzl7mc} </if>
<if test="zcsxdm != null and zcsxdm != ''"> and ZCSXDM = #{zcsxdm} </if>
<if test="zcsxmc != null and zcsxmc != ''"> and ZCSXMC = #{zcsxmc} </if>
<if test="fybz != null and fybz != ''"> and FYBZ = #{fybz} </if>
<if test="ts != null"> and TS = #{ts} </if>
<if test="hdksrq != null and hdksrq != ''"> and HDKSRQ = #{hdksrq} </if>
<if test="hdjsrq != null and hdjsrq != ''"> and HDJSRQ = #{hdjsrq} </if>
<if test="startdate != null and startdate != ''"> and StartDate = #{startdate} </if>
<if test="enddate != null and enddate != ''"> and EndDate = #{enddate} </if>
<if test="sfdd != null and sfdd != ''"> and SFDD = #{sfdd} </if>
<if test="fddsm != null and fddsm != ''"> and FDDSM = #{fddsm} </if>
<if test="zwjb != null and zwjb != ''"> and ZWJB = #{zwjb} </if>
<if test="jddxdw != null and jddxdw != ''"> and JDDXDW = #{jddxdw} </if>
<if test="zbxm != null and zbxm != ''"> and ZBXM = #{zbxm} </if>
<if test="hylb != null and hylb != ''"> and HYLB = #{hylb} </if>
<if test="pxmc != null and pxmc != ''"> and PXMC = #{pxmc} </if>
<if test="pxlb != null and pxlb != ''"> and PXLB = #{pxlb} </if>
<if test="zyrs != null"> and ZYRS = #{zyrs} </if>
<if test="fzrs != null"> and FZRS = #{fzrs} </if>
<if test="dd != null and dd != ''"> and DD = #{dd} </if>
<if test="hymc != null and hymc != ''"> and HYMC = #{hymc} </if>
<if test="smssendflag != null"> and SmsSendFlag = #{smssendflag} </if>
<if test="billmods != null and billmods != ''"> and BillMODS = #{billmods} </if>
<if test="dxLwfdh != null and dxLwfdh != ''"> and DX_LWFDH = #{dxLwfdh} </if>
<if test="dxClspdh != null and dxClspdh != ''"> and DX_CLSPDH = #{dxClspdh} </if>
<if test="dxHyjh != null and dxHyjh != ''"> and DX_HYJH = #{dxHyjh} </if>
<if test="dxZclx != null and dxZclx != ''"> and DX_ZCLX = #{dxZclx} </if>
<if test="zffsxx != null and zffsxx != ''"> and ZFFSXX = #{zffsxx} </if>
<if test="clfQzf != null"> and CLF_QZF = #{clfQzf} </if>
<if test="clfBxf != null"> and CLF_BXF = #{clfBxf} </if>
<if test="clfQtf != null"> and CLF_QTF = #{clfQtf} </if>
<if test="clfJtf != null"> and CLF_JTF = #{clfJtf} </if>
<if test="clfCcts != null"> and CLF_CCTS = #{clfCcts} </if>
<if test="dyrid != null and dyrid != ''"> and DYRID = #{dyrid} </if>
<if test="dyr != null and dyr != ''"> and DYR = #{dyr} </if>
<if test="dyrq != null and dyrq != ''"> and DYRQ = #{dyrq} </if>
<if test="dycs != null"> and DYCS = #{dycs} </if>
<if test="idsfpd != null and idsfpd != ''"> and IDSFPD = #{idsfpd} </if>
<if test="yskjkmdm != null and yskjkmdm != ''"> and YSKJKMDM = #{yskjkmdm} </if>
<if test="yskjkmmc != null and yskjkmmc != ''"> and YSKJKMMC = #{yskjkmmc} </if>
<if test="djguid != null and djguid != ''"> and DJGUID = #{djguid} </if>
<if test="ssrq != null and ssrq != ''"> and SSRQ = #{ssrq} </if>
<if test="ssrid != null and ssrid != ''"> and SSRID = #{ssrid} </if>
<if test="ssr != null and ssr != ''"> and SSR = #{ssr} </if>
<if test="xmfldm != null and xmfldm != ''"> and XMFLDM = #{xmfldm} </if>
<if test="xmflmc != null and xmflmc != ''"> and XMFLMC = #{xmflmc} </if>
<if test="zcbh != null and zcbh != ''"> and ZCBH = #{zcbh} </if>
<if test="gwzjbxdbh != null and gwzjbxdbh != ''"> and GWZJBXDBH = #{gwzjbxdbh} </if>
<if test="wbdjbh != null and wbdjbh != ''"> and WBDJBH = #{wbdjbh} </if>
<if test="fzx11dm != null and fzx11dm != ''"> and FZX11DM = #{fzx11dm} </if>
<if test="fzx11mc != null and fzx11mc != ''"> and FZX11MC = #{fzx11mc} </if>
<if test="fzx12dm != null and fzx12dm != ''"> and FZX12DM = #{fzx12dm} </if>
<if test="fzx12mc != null and fzx12mc != ''"> and FZX12MC = #{fzx12mc} </if>
<if test="fzx13dm != null and fzx13dm != ''"> and FZX13DM = #{fzx13dm} </if>
<if test="fzx13mc != null and fzx13mc != ''"> and FZX13MC = #{fzx13mc} </if>
<if test="fzx14dm != null and fzx14dm != ''"> and FZX14DM = #{fzx14dm} </if>
<if test="fzx14mc != null and fzx14mc != ''"> and FZX14MC = #{fzx14mc} </if>
<if test="fzx15dm != null and fzx15dm != ''"> and FZX15DM = #{fzx15dm} </if>
<if test="fzx15mc != null and fzx15mc != ''"> and FZX15MC = #{fzx15mc} </if>
<if test="fzx16dm != null and fzx16dm != ''"> and FZX16DM = #{fzx16dm} </if>
<if test="fzx16mc != null and fzx16mc != ''"> and FZX16MC = #{fzx16mc} </if>
<if test="fzx17dm != null and fzx17dm != ''"> and FZX17DM = #{fzx17dm} </if>
<if test="fzx17mc != null and fzx17mc != ''"> and FZX17MC = #{fzx17mc} </if>
<if test="fzx18dm != null and fzx18dm != ''"> and FZX18DM = #{fzx18dm} </if>
<if test="fzx18mc != null and fzx18mc != ''"> and FZX18MC = #{fzx18mc} </if>
<if test="fzx19dm != null and fzx19dm != ''"> and FZX19DM = #{fzx19dm} </if>
<if test="fzx19mc != null and fzx19mc != ''"> and FZX19MC = #{fzx19mc} </if>
<if test="fzx20dm != null and fzx20dm != ''"> and FZX20DM = #{fzx20dm} </if>
<if test="fzx20mc != null and fzx20mc != ''"> and FZX20MC = #{fzx20mc} </if>
<if test="fzx21dm != null and fzx21dm != ''"> and FZX21DM = #{fzx21dm} </if>
<if test="fzx21mc != null and fzx21mc != ''"> and FZX21MC = #{fzx21mc} </if>
<if test="fzx22dm != null and fzx22dm != ''"> and FZX22DM = #{fzx22dm} </if>
<if test="fzx22mc != null and fzx22mc != ''"> and FZX22MC = #{fzx22mc} </if>
<if test="fzx23dm != null and fzx23dm != ''"> and FZX23DM = #{fzx23dm} </if>
<if test="fzx23mc != null and fzx23mc != ''"> and FZX23MC = #{fzx23mc} </if>
<if test="fzx24dm != null and fzx24dm != ''"> and FZX24DM = #{fzx24dm} </if>
<if test="fzx24mc != null and fzx24mc != ''"> and FZX24MC = #{fzx24mc} </if>
<if test="fzx25dm != null and fzx25dm != ''"> and FZX25DM = #{fzx25dm} </if>
<if test="fzx25mc != null and fzx25mc != ''"> and FZX25MC = #{fzx25mc} </if>
<if test="fzx26dm != null and fzx26dm != ''"> and FZX26DM = #{fzx26dm} </if>
<if test="fzx26mc != null and fzx26mc != ''"> and FZX26MC = #{fzx26mc} </if>
<if test="fzx27dm != null and fzx27dm != ''"> and FZX27DM = #{fzx27dm} </if>
<if test="fzx27mc != null and fzx27mc != ''"> and FZX27MC = #{fzx27mc} </if>
<if test="fzx28dm != null and fzx28dm != ''"> and FZX28DM = #{fzx28dm} </if>
<if test="fzx28mc != null and fzx28mc != ''"> and FZX28MC = #{fzx28mc} </if>
<if test="fzx29dm != null and fzx29dm != ''"> and FZX29DM = #{fzx29dm} </if>
<if test="fzx29mc != null and fzx29mc != ''"> and FZX29MC = #{fzx29mc} </if>
<if test="fzx30dm != null and fzx30dm != ''"> and FZX30DM = #{fzx30dm} </if>
<if test="fzx30mc != null and fzx30mc != ''"> and FZX30MC = #{fzx30mc} </if>
<if test="tduser != null and tduser != ''"> and TDUSER = #{tduser} </if>
<if test="tddate != null and tddate != ''"> and TDDATE = #{tddate} </if>
</trim>
</select>
<update id="updateOerDjmlZt" parameterType = "com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity" >
update OER_DJML set
<trim suffix="" suffixOverrides=",">
<if test="gsdm != null and gsdm != ''"> GSDM = #{gsdm}, </if>
<if test="kjnd != null and kjnd != ''"> KJND = #{kjnd}, </if>
<if test="djlxid != null"> DJLXID = #{djlxid},</if>
<if test="dqrq != null and dqrq != ''"> DQRQ = #{dqrq},</if>
<if test="zt != null and zt != ''"> ZT = #{zt},</if>
<if test="crerdm != null and crerdm != ''"> CRERDM = #{crerdm},</if>
<if test="crermc != null and crermc != ''"> CRERMC = #{crermc},</if>
<if test="crerdate != null and crerdate != ''"> CRERDATE = #{crerdate},</if>
<if test="fkdh != null and fkdh != ''"> FKDH = #{fkdh},</if>
<if test="fkrid != null"> FKRID = #{fkrid},</if>
<if test="fkr != null and fkr != ''"> FKR = #{fkr},</if>
<if test="fkrq != null and fkrq != ''"> FKRQ = #{fkrq},</if>
<if test="idpzh != null and idpzh != ''"> IDPZH = #{idpzh},</if>
<if test="pzrid != null"> PZRID = #{pzrid},</if>
<if test="pzr != null and pzr != ''"> PZR = #{pzr},</if>
<if test="pzrq != null and pzrq != ''"> PZRQ = #{pzrq},</if>
<if test="djbh != null and djbh != ''"> DJBH = #{djbh},</if>
<if test="djdate != null and djdate != ''"> DJDATE = #{djdate},</if>
<if test="je != null"> JE = #{je},</if>
<if test="jedx != null and jedx != ''"> JEDX = #{jedx},</if>
<if test="whje != null"> WHJE = #{whje},</if>
<if test="fjs != null"> FJS = #{fjs},</if>
<if test="zy != null and zy != ''"> ZY = #{zy},</if>
<if test="yjje != null"> YJJE = #{yjje},</if>
<if test="thje != null"> THJE = #{thje},</if>
<if test="blje != null"> BLJE = #{blje},</if>
<if test="bmdm != null and bmdm != ''"> BMDM = #{bmdm},</if>
<if test="bmmc != null and bmmc != ''"> BMMC = #{bmmc},</if>
<if test="xmdm != null and xmdm != ''"> XMDM = #{xmdm},</if>
<if test="xmmc != null and xmmc != ''"> XMMC = #{xmmc},</if>
<if test="grdm != null and grdm != ''"> GRDM = #{grdm},</if>
<if test="grmc != null and grmc != ''"> GRMC = #{grmc},</if>
<if test="dwdm != null and dwdm != ''"> DWDM = #{dwdm},</if>
<if test="dwmc != null and dwmc != ''"> DWMC = #{dwmc},</if>
<if test="gndm != null and gndm != ''"> GNDM = #{gndm},</if>
<if test="gnmc != null and gnmc != ''"> GNMC = #{gnmc},</if>
<if test="jjdm != null and jjdm != ''"> JJDM = #{jjdm},</if>
<if test="jjmc != null and jjmc != ''"> JJMC = #{jjmc},</if>
<if test="fzx6dm != null and fzx6dm != ''"> FZX6DM = #{fzx6dm},</if>
<if test="fzx6mc != null and fzx6mc != ''"> FZX6MC = #{fzx6mc},</if>
<if test="fzx7dm != null and fzx7dm != ''"> FZX7DM = #{fzx7dm},</if>
<if test="fzx7mc != null and fzx7mc != ''"> FZX7MC = #{fzx7mc},</if>
<if test="fzx8dm != null and fzx8dm != ''"> FZX8DM = #{fzx8dm},</if>
<if test="fzx8mc != null and fzx8mc != ''"> FZX8MC = #{fzx8mc},</if>
<if test="fzx9dm != null and fzx9dm != ''"> FZX9DM = #{fzx9dm},</if>
<if test="fzx9mc != null and fzx9mc != ''"> FZX9MC = #{fzx9mc},</if>
<if test="fzxadm != null and fzxadm != ''"> FZXADM = #{fzxadm},</if>
<if test="fzxamc != null and fzxamc != ''"> FZXAMC = #{fzxamc},</if>
<if test="kmdm != null and kmdm != ''"> KMDM = #{kmdm},</if>
<if test="kmmc != null and kmmc != ''"> KMMC = #{kmmc},</if>
<if test="htbh != null and htbh != ''"> HTBH = #{htbh},</if>
<if test="htjh != null and htjh != ''"> HTJH = #{htjh},</if>
<if test="skr != null and skr != ''"> SKR = #{skr},</if>
<if test="yhzh != null and yhzh != ''"> YHZH = #{yhzh},</if>
<if test="khyh != null and khyh != ''"> KHYH = #{khyh},</if>
<if test="curshjd != null"> CURSHJD = #{curshjd},</if>
<if test="nextshjd != null"> NEXTSHJD = #{nextshjd},</if>
<if test="flowcode != null and flowcode != ''"> FLOWCODE = #{flowcode},</if>
<if test="shrid != null and shrid != ''"> SHRID = #{shrid},</if>
<if test="shr != null and shr != ''"> SHR = #{shr},</if>
<if test="shrq != null and shrq != ''"> SHRQ = #{shrq},</if>
<if test="sfth != null and sfth != ''"> SFTH = #{sfth},</if>
<if test="thxx != null and thxx != ''"> THXX = #{thxx},</if>
<if test="jsfs != null and jsfs != ''"> JSFS = #{jsfs},</if>
<if test="fqrid != null"> FQRID = #{fqrid},</if>
<if test="fqr != null and fqr != ''"> FQR = #{fqr},</if>
<if test="fqrq != null and fqrq != ''"> FQRQ = #{fqrq},</if>
<if test="wx00000051 != null and wx00000051 != ''"> WX00000051 = #{wx00000051},</if>
<if test="wx00000052 != null and wx00000052 != ''"> WX00000052 = #{wx00000052},</if>
<if test="wx00000053 != null and wx00000053 != ''"> WX00000053 = #{wx00000053},</if>
<if test="wx00000054 != null and wx00000054 != ''"> WX00000054 = #{wx00000054},</if>
<if test="wx00000055 != null and wx00000055 != ''"> WX00000055 = #{wx00000055},</if>
<if test="wx00000056 != null"> WX00000056 = #{wx00000056},</if>
<if test="wx00000057 != null and wx00000057 != ''"> WX00000057 = #{wx00000057},</if>
<if test="wx00000058 != null and wx00000058 != ''"> WX00000058 = #{wx00000058},</if>
<if test="wx00000059 != null"> WX00000059 = #{wx00000059},</if>
<if test="xq != null and xq != ''"> XQ = #{xq},</if>
<if test="wx00000060 != null and wx00000060 != ''"> WX00000060 = #{wx00000060},</if>
<if test="skzh != null and skzh != ''"> SKZH = #{skzh},</if>
<if test="fkzh != null and fkzh != ''"> FKZH = #{fkzh},</if>
<if test="jsdh != null and jsdh != ''"> JSDH = #{jsdh},</if>
<if test="jsrid != null"> JSRID = #{jsrid},</if>
<if test="jsr != null and jsr != ''"> JSR = #{jsr},</if>
<if test="jsrq != null and jsrq != ''"> JSRQ = #{jsrq},</if>
<if test="wx00000061 != null and wx00000061 != ''"> WX00000061 = #{wx00000061},</if>
<if test="wx00000062 != null and wx00000062 != ''"> WX00000062 = #{wx00000062},</if>
<if test="lybxsx != null and lybxsx != ''"> LYBXSX = #{lybxsx},</if>
<if test="wx00000065 != null"> WX00000065 = #{wx00000065},</if>
<if test="wx00000066 != null"> WX00000066 = #{wx00000066},</if>
<if test="wx00000063 != null"> WX00000063 = #{wx00000063},</if>
<if test="wx00000064 != null"> WX00000064 = #{wx00000064},</if>
<if test="wx00000067 != null and wx00000067 != ''"> WX00000067 = #{wx00000067},</if>
<if test="wx00000068 != null"> WX00000068 = #{wx00000068},</if>
<if test="wx00000069 != null and wx00000069 != ''"> WX00000069 = #{wx00000069},</if>
<if test="jflxdm != null and jflxdm != ''"> JFLXDM = #{jflxdm},</if>
<if test="jflxmc != null and jflxmc != ''"> JFLXMC = #{jflxmc},</if>
<if test="gzdm != null"> GZDM = #{gzdm},</if>
<if test="gzmc != null and gzmc != ''"> GZMC = #{gzmc},</if>
<if test="mxxmdm != null and mxxmdm != ''"> MXXMDM = #{mxxmdm},</if>
<if test="mxxmmc != null and mxxmmc != ''"> MXXMMC = #{mxxmmc},</if>
<if test="jxse != null"> JXSE = #{jxse},</if>
<if test="posrq != null and posrq != ''"> POSRQ = #{posrq},</if>
<if test="posdh != null and posdh != ''"> POSDH = #{posdh},</if>
<if test="sfzh != null and sfzh != ''"> SFZH = #{sfzh},</if>
<if test="province != null and province != ''"> PROVINCE = #{province},</if>
<if test="city != null and city != ''"> CITY = #{city},</if>
<if test="yh != null and yh != ''"> YH = #{yh},</if>
<if test="yhhh != null and yhhh != ''"> YHHH = #{yhhh},</if>
<if test="khdq != null and khdq != ''"> KHDQ = #{khdq},</if>
<if test="wyzfguid != null and wyzfguid != ''"> WYZFGUID = #{wyzfguid},</if>
<if test="fkrname != null and fkrname != ''"> FKRNAME = #{fkrname},</if>
<if test="fkrkhyh != null and fkrkhyh != ''"> FKRKHYH = #{fkrkhyh},</if>
<if test="fkryhzh != null and fkryhzh != ''"> FKRYHZH = #{fkryhzh},</if>
<if test="tel != null and tel != ''"> TEL = #{tel},</if>
<if test="clfCcr != null and clfCcr != ''"> CLF_CCR = #{clfCcr},</if>
<if test="wlywguid != null and wlywguid != ''"> WLYWGUID = #{wlywguid},</if>
<if test="yybh != null and yybh != ''"> YYBH = #{yybh},</if>
<if test="zjxzdm != null and zjxzdm != ''"> ZJXZDM = #{zjxzdm},</if>
<if test="zjxzmc != null and zjxzmc != ''"> ZJXZMC = #{zjxzmc},</if>
<if test="zjlydm != null and zjlydm != ''"> ZJLYDM = #{zjlydm},</if>
<if test="zjlymc != null and zjlymc != ''"> ZJLYMC = #{zjlymc},</if>
<if test="ysdwdm != null and ysdwdm != ''"> YSDWDM = #{ysdwdm},</if>
<if test="ysdwmc != null and ysdwmc != ''"> YSDWMC = #{ysdwmc},</if>
<if test="sfkgsdm != null and sfkgsdm != ''"> SFKGSDM = #{sfkgsdm},</if>
<if test="wlh != null and wlh != ''"> wlh = #{wlh},</if>
<if test="wlhdisplay != null and wlhdisplay != ''"> wlhDisplay = #{wlhdisplay},</if>
<if test="clfCclb != null and clfCclb != ''"> CLF_CCLB = #{clfCclb},</if>
<if test="kzzl1dm != null and kzzl1dm != ''"> KZZL1DM = #{kzzl1dm},</if>
<if test="kzzl1mc != null and kzzl1mc != ''"> KZZL1MC = #{kzzl1mc},</if>
<if test="kzzl2dm != null and kzzl2dm != ''"> KZZL2DM = #{kzzl2dm},</if>
<if test="kzzl2mc != null and kzzl2mc != ''"> KZZL2MC = #{kzzl2mc},</if>
<if test="kzzl3dm != null and kzzl3dm != ''"> KZZL3DM = #{kzzl3dm},</if>
<if test="kzzl3mc != null and kzzl3mc != ''"> KZZL3MC = #{kzzl3mc},</if>
<if test="kzzl4dm != null and kzzl4dm != ''"> KZZL4DM = #{kzzl4dm},</if>
<if test="kzzl4mc != null and kzzl4mc != ''"> KZZL4MC = #{kzzl4mc},</if>
<if test="kzzl5dm != null and kzzl5dm != ''"> KZZL5DM = #{kzzl5dm},</if>
<if test="kzzl5mc != null and kzzl5mc != ''"> KZZL5MC = #{kzzl5mc},</if>
<if test="kzzl6dm != null and kzzl6dm != ''"> KZZL6DM = #{kzzl6dm},</if>
<if test="kzzl6mc != null and kzzl6mc != ''"> KZZL6MC = #{kzzl6mc},</if>
<if test="kzzl7dm != null and kzzl7dm != ''"> KZZL7DM = #{kzzl7dm},</if>
<if test="kzzl7mc != null and kzzl7mc != ''"> KZZL7MC = #{kzzl7mc},</if>
<if test="zcsxdm != null and zcsxdm != ''"> ZCSXDM = #{zcsxdm},</if>
<if test="zcsxmc != null and zcsxmc != ''"> ZCSXMC = #{zcsxmc},</if>
<if test="fybz != null and fybz != ''"> FYBZ = #{fybz},</if>
<if test="ts != null"> TS = #{ts},</if>
<if test="hdksrq != null and hdksrq != ''"> HDKSRQ = #{hdksrq},</if>
<if test="hdjsrq != null and hdjsrq != ''"> HDJSRQ = #{hdjsrq},</if>
<if test="startdate != null and startdate != ''"> StartDate = #{startdate},</if>
<if test="enddate != null and enddate != ''"> EndDate = #{enddate},</if>
<if test="sfdd != null and sfdd != ''"> SFDD = #{sfdd},</if>
<if test="fddsm != null and fddsm != ''"> FDDSM = #{fddsm},</if>
<if test="zwjb != null and zwjb != ''"> ZWJB = #{zwjb},</if>
<if test="jddxdw != null and jddxdw != ''"> JDDXDW = #{jddxdw},</if>
<if test="zbxm != null and zbxm != ''"> ZBXM = #{zbxm},</if>
<if test="hylb != null and hylb != ''"> HYLB = #{hylb},</if>
<if test="pxmc != null and pxmc != ''"> PXMC = #{pxmc},</if>
<if test="pxlb != null and pxlb != ''"> PXLB = #{pxlb},</if>
<if test="zyrs != null"> ZYRS = #{zyrs},</if>
<if test="fzrs != null"> FZRS = #{fzrs},</if>
<if test="dd != null and dd != ''"> DD = #{dd},</if>
<if test="hymc != null and hymc != ''"> HYMC = #{hymc},</if>
<if test="smssendflag != null"> SmsSendFlag = #{smssendflag},</if>
<if test="billmods != null and billmods != ''"> BillMODS = #{billmods},</if>
<if test="dxLwfdh != null and dxLwfdh != ''"> DX_LWFDH = #{dxLwfdh},</if>
<if test="dxClspdh != null and dxClspdh != ''"> DX_CLSPDH = #{dxClspdh},</if>
<if test="dxHyjh != null and dxHyjh != ''"> DX_HYJH = #{dxHyjh},</if>
<if test="dxZclx != null and dxZclx != ''"> DX_ZCLX = #{dxZclx},</if>
<if test="zffsxx != null and zffsxx != ''"> ZFFSXX = #{zffsxx},</if>
<if test="clfQzf != null"> CLF_QZF = #{clfQzf},</if>
<if test="clfBxf != null"> CLF_BXF = #{clfBxf},</if>
<if test="clfQtf != null"> CLF_QTF = #{clfQtf},</if>
<if test="clfJtf != null"> CLF_JTF = #{clfJtf},</if>
<if test="clfCcts != null"> CLF_CCTS = #{clfCcts},</if>
<if test="dyrid != null and dyrid != ''"> DYRID = #{dyrid},</if>
<if test="dyr != null and dyr != ''"> DYR = #{dyr},</if>
<if test="dyrq != null and dyrq != ''"> DYRQ = #{dyrq},</if>
<if test="dycs != null"> DYCS = #{dycs},</if>
<if test="idsfpd != null and idsfpd != ''"> IDSFPD = #{idsfpd},</if>
<if test="yskjkmdm != null and yskjkmdm != ''"> YSKJKMDM = #{yskjkmdm},</if>
<if test="yskjkmmc != null and yskjkmmc != ''"> YSKJKMMC = #{yskjkmmc},</if>
<if test="djguid != null and djguid != ''"> DJGUID = #{djguid},</if>
<if test="ssrq != null and ssrq != ''"> SSRQ = #{ssrq},</if>
<if test="ssrid != null and ssrid != ''"> SSRID = #{ssrid},</if>
<if test="ssr != null and ssr != ''"> SSR = #{ssr},</if>
<if test="xmfldm != null and xmfldm != ''"> XMFLDM = #{xmfldm},</if>
<if test="xmflmc != null and xmflmc != ''"> XMFLMC = #{xmflmc},</if>
<if test="zcbh != null and zcbh != ''"> ZCBH = #{zcbh},</if>
<if test="gwzjbxdbh != null and gwzjbxdbh != ''"> GWZJBXDBH = #{gwzjbxdbh},</if>
<if test="wbdjbh != null and wbdjbh != ''"> WBDJBH = #{wbdjbh},</if>
<if test="fzx11dm != null and fzx11dm != ''"> FZX11DM = #{fzx11dm},</if>
<if test="fzx11mc != null and fzx11mc != ''"> FZX11MC = #{fzx11mc},</if>
<if test="fzx12dm != null and fzx12dm != ''"> FZX12DM = #{fzx12dm},</if>
<if test="fzx12mc != null and fzx12mc != ''"> FZX12MC = #{fzx12mc},</if>
<if test="fzx13dm != null and fzx13dm != ''"> FZX13DM = #{fzx13dm},</if>
<if test="fzx13mc != null and fzx13mc != ''"> FZX13MC = #{fzx13mc},</if>
<if test="fzx14dm != null and fzx14dm != ''"> FZX14DM = #{fzx14dm},</if>
<if test="fzx14mc != null and fzx14mc != ''"> FZX14MC = #{fzx14mc},</if>
<if test="fzx15dm != null and fzx15dm != ''"> FZX15DM = #{fzx15dm},</if>
<if test="fzx15mc != null and fzx15mc != ''"> FZX15MC = #{fzx15mc},</if>
<if test="fzx16dm != null and fzx16dm != ''"> FZX16DM = #{fzx16dm},</if>
<if test="fzx16mc != null and fzx16mc != ''"> FZX16MC = #{fzx16mc},</if>
<if test="fzx17dm != null and fzx17dm != ''"> FZX17DM = #{fzx17dm},</if>
<if test="fzx17mc != null and fzx17mc != ''"> FZX17MC = #{fzx17mc},</if>
<if test="fzx18dm != null and fzx18dm != ''"> FZX18DM = #{fzx18dm},</if>
<if test="fzx18mc != null and fzx18mc != ''"> FZX18MC = #{fzx18mc},</if>
<if test="fzx19dm != null and fzx19dm != ''"> FZX19DM = #{fzx19dm},</if>
<if test="fzx19mc != null and fzx19mc != ''"> FZX19MC = #{fzx19mc},</if>
<if test="fzx20dm != null and fzx20dm != ''"> FZX20DM = #{fzx20dm},</if>
<if test="fzx20mc != null and fzx20mc != ''"> FZX20MC = #{fzx20mc},</if>
<if test="fzx21dm != null and fzx21dm != ''"> FZX21DM = #{fzx21dm},</if>
<if test="fzx21mc != null and fzx21mc != ''"> FZX21MC = #{fzx21mc},</if>
<if test="fzx22dm != null and fzx22dm != ''"> FZX22DM = #{fzx22dm},</if>
<if test="fzx22mc != null and fzx22mc != ''"> FZX22MC = #{fzx22mc},</if>
<if test="fzx23dm != null and fzx23dm != ''"> FZX23DM = #{fzx23dm},</if>
<if test="fzx23mc != null and fzx23mc != ''"> FZX23MC = #{fzx23mc},</if>
<if test="fzx24dm != null and fzx24dm != ''"> FZX24DM = #{fzx24dm},</if>
<if test="fzx24mc != null and fzx24mc != ''"> FZX24MC = #{fzx24mc},</if>
<if test="fzx25dm != null and fzx25dm != ''"> FZX25DM = #{fzx25dm},</if>
<if test="fzx25mc != null and fzx25mc != ''"> FZX25MC = #{fzx25mc},</if>
<if test="fzx26dm != null and fzx26dm != ''"> FZX26DM = #{fzx26dm},</if>
<if test="fzx26mc != null and fzx26mc != ''"> FZX26MC = #{fzx26mc},</if>
<if test="fzx27dm != null and fzx27dm != ''"> FZX27DM = #{fzx27dm},</if>
<if test="fzx27mc != null and fzx27mc != ''"> FZX27MC = #{fzx27mc},</if>
<if test="fzx28dm != null and fzx28dm != ''"> FZX28DM = #{fzx28dm},</if>
<if test="fzx28mc != null and fzx28mc != ''"> FZX28MC = #{fzx28mc},</if>
<if test="fzx29dm != null and fzx29dm != ''"> FZX29DM = #{fzx29dm},</if>
<if test="fzx29mc != null and fzx29mc != ''"> FZX29MC = #{fzx29mc},</if>
<if test="fzx30dm != null and fzx30dm != ''"> FZX30DM = #{fzx30dm},</if>
<if test="fzx30mc != null and fzx30mc != ''"> FZX30MC = #{fzx30mc},</if>
<if test="tduser != null and tduser != ''"> TDUSER = #{tduser},</if>
<if test="tddate != null and tddate != ''"> TDDATE = #{tddate},</if>
</trim>
where MLID = #{mlid}
</update>
<update id="updateGbiZbsyrecByDjid" parameterType = "com.hzya.frame.grpU8.nxproof.oerdjml.entity.GbiZbsyrecAllEntity" >
update GBI_ZBSYREC set
<trim suffix="" suffixOverrides=",">
<if test="djzt != null and djzt != ''"> DJZT = #{djzt},</if>
</trim>
where djid = #{djid} and djlx = #{djlx}
</update>
</mapper> </mapper>

View File

@ -0,0 +1,666 @@
package com.hzya.frame.grpU8.nxproof.oerdjml.entity;
import com.hzya.frame.web.entity.BaseEntity;
import java.math.BigDecimal;
/**
* (OerYszb)实体类
*
* @author makejava
* @since 2024-08-14 10:15:58
*/
public class OerYszbAllEntity extends BaseEntity {
private Integer mlid;
private String gsdm;
private String kjnd;
private Integer bnxid;
private Integer dataid;
private Integer xh;
private String zbdm;
private BigDecimal je;
private Integer zbid;
private Integer jhid;
private String zy;
private String kmdm;
private String kmmc;
private Integer djlxid;
private String zbgnkmdm;
private String zbgnkmmc;
private String zbjjkmdm;
private String zbjjkmmc;
private Integer kzzbid;
private String zbfz6dm;
private String zbfz6mc;
private String zbfz7dm;
private String zbfz7mc;
private String zbfz8dm;
private String zbfz8mc;
private String zbfz9dm;
private String zbfz9mc;
private String zbfzadm;
private String zbfzamc;
private String yskjkmdm;
private String yskjkmmc;
private Integer czyszbid;
private String zbfz11dm;
private String zbfz11mc;
private String zbfz12dm;
private String zbfz12mc;
private String zbfz13dm;
private String zbfz13mc;
private String zbfz14dm;
private String zbfz14mc;
private String zbfz15dm;
private String zbfz15mc;
private String zbfz16dm;
private String zbfz16mc;
private String zbfz17dm;
private String zbfz17mc;
private String zbfz18dm;
private String zbfz18mc;
private String zbfz19dm;
private String zbfz19mc;
private String zbfz20dm;
private String zbfz20mc;
private String zbfz21dm;
private String zbfz21mc;
private String zbfz22dm;
private String zbfz22mc;
private String zbfz23dm;
private String zbfz23mc;
private String zbfz24dm;
private String zbfz24mc;
private String zbfz25dm;
private String zbfz25mc;
private String zbfz26dm;
private String zbfz26mc;
private String zbfz27dm;
private String zbfz27mc;
private String zbfz28dm;
private String zbfz28mc;
private String zbfz29dm;
private String zbfz29mc;
private String zbfz30dm;
private String zbfz30mc;
public Integer getMlid() {
return mlid;
}
public void setMlid(Integer mlid) {
this.mlid = mlid;
}
public String getGsdm() {
return gsdm;
}
public void setGsdm(String gsdm) {
this.gsdm = gsdm;
}
public String getKjnd() {
return kjnd;
}
public void setKjnd(String kjnd) {
this.kjnd = kjnd;
}
public Integer getBnxid() {
return bnxid;
}
public void setBnxid(Integer bnxid) {
this.bnxid = bnxid;
}
public Integer getDataid() {
return dataid;
}
public void setDataid(Integer dataid) {
this.dataid = dataid;
}
public Integer getXh() {
return xh;
}
public void setXh(Integer xh) {
this.xh = xh;
}
public String getZbdm() {
return zbdm;
}
public void setZbdm(String zbdm) {
this.zbdm = zbdm;
}
public BigDecimal getJe() {
return je;
}
public void setJe(BigDecimal je) {
this.je = je;
}
public Integer getZbid() {
return zbid;
}
public void setZbid(Integer zbid) {
this.zbid = zbid;
}
public Integer getJhid() {
return jhid;
}
public void setJhid(Integer jhid) {
this.jhid = jhid;
}
public String getZy() {
return zy;
}
public void setZy(String zy) {
this.zy = zy;
}
public String getKmdm() {
return kmdm;
}
public void setKmdm(String kmdm) {
this.kmdm = kmdm;
}
public String getKmmc() {
return kmmc;
}
public void setKmmc(String kmmc) {
this.kmmc = kmmc;
}
public Integer getDjlxid() {
return djlxid;
}
public void setDjlxid(Integer djlxid) {
this.djlxid = djlxid;
}
public String getZbgnkmdm() {
return zbgnkmdm;
}
public void setZbgnkmdm(String zbgnkmdm) {
this.zbgnkmdm = zbgnkmdm;
}
public String getZbgnkmmc() {
return zbgnkmmc;
}
public void setZbgnkmmc(String zbgnkmmc) {
this.zbgnkmmc = zbgnkmmc;
}
public String getZbjjkmdm() {
return zbjjkmdm;
}
public void setZbjjkmdm(String zbjjkmdm) {
this.zbjjkmdm = zbjjkmdm;
}
public String getZbjjkmmc() {
return zbjjkmmc;
}
public void setZbjjkmmc(String zbjjkmmc) {
this.zbjjkmmc = zbjjkmmc;
}
public Integer getKzzbid() {
return kzzbid;
}
public void setKzzbid(Integer kzzbid) {
this.kzzbid = kzzbid;
}
public String getZbfz6dm() {
return zbfz6dm;
}
public void setZbfz6dm(String zbfz6dm) {
this.zbfz6dm = zbfz6dm;
}
public String getZbfz6mc() {
return zbfz6mc;
}
public void setZbfz6mc(String zbfz6mc) {
this.zbfz6mc = zbfz6mc;
}
public String getZbfz7dm() {
return zbfz7dm;
}
public void setZbfz7dm(String zbfz7dm) {
this.zbfz7dm = zbfz7dm;
}
public String getZbfz7mc() {
return zbfz7mc;
}
public void setZbfz7mc(String zbfz7mc) {
this.zbfz7mc = zbfz7mc;
}
public String getZbfz8dm() {
return zbfz8dm;
}
public void setZbfz8dm(String zbfz8dm) {
this.zbfz8dm = zbfz8dm;
}
public String getZbfz8mc() {
return zbfz8mc;
}
public void setZbfz8mc(String zbfz8mc) {
this.zbfz8mc = zbfz8mc;
}
public String getZbfz9dm() {
return zbfz9dm;
}
public void setZbfz9dm(String zbfz9dm) {
this.zbfz9dm = zbfz9dm;
}
public String getZbfz9mc() {
return zbfz9mc;
}
public void setZbfz9mc(String zbfz9mc) {
this.zbfz9mc = zbfz9mc;
}
public String getZbfzadm() {
return zbfzadm;
}
public void setZbfzadm(String zbfzadm) {
this.zbfzadm = zbfzadm;
}
public String getZbfzamc() {
return zbfzamc;
}
public void setZbfzamc(String zbfzamc) {
this.zbfzamc = zbfzamc;
}
public String getYskjkmdm() {
return yskjkmdm;
}
public void setYskjkmdm(String yskjkmdm) {
this.yskjkmdm = yskjkmdm;
}
public String getYskjkmmc() {
return yskjkmmc;
}
public void setYskjkmmc(String yskjkmmc) {
this.yskjkmmc = yskjkmmc;
}
public Integer getCzyszbid() {
return czyszbid;
}
public void setCzyszbid(Integer czyszbid) {
this.czyszbid = czyszbid;
}
public String getZbfz11dm() {
return zbfz11dm;
}
public void setZbfz11dm(String zbfz11dm) {
this.zbfz11dm = zbfz11dm;
}
public String getZbfz11mc() {
return zbfz11mc;
}
public void setZbfz11mc(String zbfz11mc) {
this.zbfz11mc = zbfz11mc;
}
public String getZbfz12dm() {
return zbfz12dm;
}
public void setZbfz12dm(String zbfz12dm) {
this.zbfz12dm = zbfz12dm;
}
public String getZbfz12mc() {
return zbfz12mc;
}
public void setZbfz12mc(String zbfz12mc) {
this.zbfz12mc = zbfz12mc;
}
public String getZbfz13dm() {
return zbfz13dm;
}
public void setZbfz13dm(String zbfz13dm) {
this.zbfz13dm = zbfz13dm;
}
public String getZbfz13mc() {
return zbfz13mc;
}
public void setZbfz13mc(String zbfz13mc) {
this.zbfz13mc = zbfz13mc;
}
public String getZbfz14dm() {
return zbfz14dm;
}
public void setZbfz14dm(String zbfz14dm) {
this.zbfz14dm = zbfz14dm;
}
public String getZbfz14mc() {
return zbfz14mc;
}
public void setZbfz14mc(String zbfz14mc) {
this.zbfz14mc = zbfz14mc;
}
public String getZbfz15dm() {
return zbfz15dm;
}
public void setZbfz15dm(String zbfz15dm) {
this.zbfz15dm = zbfz15dm;
}
public String getZbfz15mc() {
return zbfz15mc;
}
public void setZbfz15mc(String zbfz15mc) {
this.zbfz15mc = zbfz15mc;
}
public String getZbfz16dm() {
return zbfz16dm;
}
public void setZbfz16dm(String zbfz16dm) {
this.zbfz16dm = zbfz16dm;
}
public String getZbfz16mc() {
return zbfz16mc;
}
public void setZbfz16mc(String zbfz16mc) {
this.zbfz16mc = zbfz16mc;
}
public String getZbfz17dm() {
return zbfz17dm;
}
public void setZbfz17dm(String zbfz17dm) {
this.zbfz17dm = zbfz17dm;
}
public String getZbfz17mc() {
return zbfz17mc;
}
public void setZbfz17mc(String zbfz17mc) {
this.zbfz17mc = zbfz17mc;
}
public String getZbfz18dm() {
return zbfz18dm;
}
public void setZbfz18dm(String zbfz18dm) {
this.zbfz18dm = zbfz18dm;
}
public String getZbfz18mc() {
return zbfz18mc;
}
public void setZbfz18mc(String zbfz18mc) {
this.zbfz18mc = zbfz18mc;
}
public String getZbfz19dm() {
return zbfz19dm;
}
public void setZbfz19dm(String zbfz19dm) {
this.zbfz19dm = zbfz19dm;
}
public String getZbfz19mc() {
return zbfz19mc;
}
public void setZbfz19mc(String zbfz19mc) {
this.zbfz19mc = zbfz19mc;
}
public String getZbfz20dm() {
return zbfz20dm;
}
public void setZbfz20dm(String zbfz20dm) {
this.zbfz20dm = zbfz20dm;
}
public String getZbfz20mc() {
return zbfz20mc;
}
public void setZbfz20mc(String zbfz20mc) {
this.zbfz20mc = zbfz20mc;
}
public String getZbfz21dm() {
return zbfz21dm;
}
public void setZbfz21dm(String zbfz21dm) {
this.zbfz21dm = zbfz21dm;
}
public String getZbfz21mc() {
return zbfz21mc;
}
public void setZbfz21mc(String zbfz21mc) {
this.zbfz21mc = zbfz21mc;
}
public String getZbfz22dm() {
return zbfz22dm;
}
public void setZbfz22dm(String zbfz22dm) {
this.zbfz22dm = zbfz22dm;
}
public String getZbfz22mc() {
return zbfz22mc;
}
public void setZbfz22mc(String zbfz22mc) {
this.zbfz22mc = zbfz22mc;
}
public String getZbfz23dm() {
return zbfz23dm;
}
public void setZbfz23dm(String zbfz23dm) {
this.zbfz23dm = zbfz23dm;
}
public String getZbfz23mc() {
return zbfz23mc;
}
public void setZbfz23mc(String zbfz23mc) {
this.zbfz23mc = zbfz23mc;
}
public String getZbfz24dm() {
return zbfz24dm;
}
public void setZbfz24dm(String zbfz24dm) {
this.zbfz24dm = zbfz24dm;
}
public String getZbfz24mc() {
return zbfz24mc;
}
public void setZbfz24mc(String zbfz24mc) {
this.zbfz24mc = zbfz24mc;
}
public String getZbfz25dm() {
return zbfz25dm;
}
public void setZbfz25dm(String zbfz25dm) {
this.zbfz25dm = zbfz25dm;
}
public String getZbfz25mc() {
return zbfz25mc;
}
public void setZbfz25mc(String zbfz25mc) {
this.zbfz25mc = zbfz25mc;
}
public String getZbfz26dm() {
return zbfz26dm;
}
public void setZbfz26dm(String zbfz26dm) {
this.zbfz26dm = zbfz26dm;
}
public String getZbfz26mc() {
return zbfz26mc;
}
public void setZbfz26mc(String zbfz26mc) {
this.zbfz26mc = zbfz26mc;
}
public String getZbfz27dm() {
return zbfz27dm;
}
public void setZbfz27dm(String zbfz27dm) {
this.zbfz27dm = zbfz27dm;
}
public String getZbfz27mc() {
return zbfz27mc;
}
public void setZbfz27mc(String zbfz27mc) {
this.zbfz27mc = zbfz27mc;
}
public String getZbfz28dm() {
return zbfz28dm;
}
public void setZbfz28dm(String zbfz28dm) {
this.zbfz28dm = zbfz28dm;
}
public String getZbfz28mc() {
return zbfz28mc;
}
public void setZbfz28mc(String zbfz28mc) {
this.zbfz28mc = zbfz28mc;
}
public String getZbfz29dm() {
return zbfz29dm;
}
public void setZbfz29dm(String zbfz29dm) {
this.zbfz29dm = zbfz29dm;
}
public String getZbfz29mc() {
return zbfz29mc;
}
public void setZbfz29mc(String zbfz29mc) {
this.zbfz29mc = zbfz29mc;
}
public String getZbfz30dm() {
return zbfz30dm;
}
public void setZbfz30dm(String zbfz30dm) {
this.zbfz30dm = zbfz30dm;
}
public String getZbfz30mc() {
return zbfz30mc;
}
public void setZbfz30mc(String zbfz30mc) {
this.zbfz30mc = zbfz30mc;
}
}

View File

@ -25,6 +25,15 @@ public interface IOerDjmlService {
OerDjmlEntity queryOerDjmlEntity(OerDjmlEntity oerDjmlEntity); OerDjmlEntity queryOerDjmlEntity(OerDjmlEntity oerDjmlEntity);
/**
* @Author lvleigang
* @Description 费用报销单处理
* @Date 9:54 上午 2024/8/14
* @param jsonObject
* @return java.lang.Object
**/
Object handleOerDjml(JSONObject jsonObject);
/** /**
* 保存方法前先调这个方法 组装参数 * 保存方法前先调这个方法 组装参数
* @param entity * @param entity

View File

@ -12,6 +12,7 @@ import com.hzya.frame.grpU8.nxproof.gbizbsyrec.entity.GbiZbsyrecEntity;
import com.hzya.frame.grpU8.nxproof.oerdjjsfs.dao.IOerDjjsfsDao; import com.hzya.frame.grpU8.nxproof.oerdjjsfs.dao.IOerDjjsfsDao;
import com.hzya.frame.grpU8.nxproof.oerdjjsfs.entity.OerDjjsfsEntity; import com.hzya.frame.grpU8.nxproof.oerdjjsfs.entity.OerDjjsfsEntity;
import com.hzya.frame.grpU8.nxproof.oerdjml.dao.IOerDjmlDao; import com.hzya.frame.grpU8.nxproof.oerdjml.dao.IOerDjmlDao;
import com.hzya.frame.grpU8.nxproof.oerdjml.entity.GbiZbsyrecAllEntity;
import com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity; import com.hzya.frame.grpU8.nxproof.oerdjml.entity.OerDjmlEntity;
import com.hzya.frame.grpU8.nxproof.oerdjml.service.IOerDjmlService; import com.hzya.frame.grpU8.nxproof.oerdjml.service.IOerDjmlService;
import com.hzya.frame.grpU8.nxproof.oerdjnr.dao.IOerDjnrDao; import com.hzya.frame.grpU8.nxproof.oerdjnr.dao.IOerDjnrDao;
@ -24,6 +25,9 @@ import com.hzya.frame.grpU8.nxproof.pubobjflow.dao.IPubObjFlowDao;
import com.hzya.frame.grpU8.nxproof.pubobjflow.entity.PubObjFlowEntity; import com.hzya.frame.grpU8.nxproof.pubobjflow.entity.PubObjFlowEntity;
import com.hzya.frame.seeyon.enums.ColEventTypeEnum; import com.hzya.frame.seeyon.enums.ColEventTypeEnum;
import com.hzya.frame.sysnew.application.entity.SysExtensionApiEntity; import com.hzya.frame.sysnew.application.entity.SysExtensionApiEntity;
import com.hzya.frame.mdm.entity.MdmDto;
import com.hzya.frame.seeyon.enums.ColEventTypeEnum;
import com.hzya.frame.web.entity.BaseResult;
import com.hzya.frame.web.exception.BaseSystemException; import com.hzya.frame.web.exception.BaseSystemException;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;
@ -139,7 +143,7 @@ public class OerDjmlServiceImpl implements IOerDjmlService {
iOerYszbDao.save("OerYszbEntity_insert",yszbEntity); iOerYszbDao.save("OerYszbEntity_insert",yszbEntity);
logger.info("保存预算指标记录:------>"); logger.info("保存预算指标记录:------>");
GbiZbsyrecEntity oeryszb= creteOerYszbEntity(jsonObject,djnrEntity); GbiZbsyrecEntity oeryszb= creteOerYszbEntity(jsonObject,djnrEntity);
iGbiZbsyrecDao.save("GbiZbsyrecEntity_insert",oeryszb); iGbiZbsyrecDao.save("GbiZbsyrecEntity_insert",oeryszb);
} }
logger.info("组装单据结算方式明细开始:------>"); logger.info("组装单据结算方式明细开始:------>");
List<OerDjjsfsEntity> oerDjjsfsEntityList = creatOerDjjsfsEntityList(jsonObject,maxDjbh,maxMlId); List<OerDjjsfsEntity> oerDjjsfsEntityList = creatOerDjjsfsEntityList(jsonObject,maxDjbh,maxMlId);
@ -164,6 +168,8 @@ public class OerDjmlServiceImpl implements IOerDjmlService {
return oerDjmlEntity1; return oerDjmlEntity1;
} }
/** /**
* 保存节点PUB_OBJ_FLOW * 保存节点PUB_OBJ_FLOW
* @param jsonObject * @param jsonObject
@ -602,6 +608,70 @@ public class OerDjmlServiceImpl implements IOerDjmlService {
} }
/**
* @param jsonObject
* @return java.lang.Object
* @Author lvleigang
* @Description 费用报销单处理
* @Date 9:54 上午 2024/8/14
**/
@Override
public Object handleOerDjml(JSONObject jsonObject) {
OerDjmlEntity entity = getData("jsonStr", jsonObject, OerDjmlEntity.class);
if (entity == null) {
return BaseResult.getFailureMessageEntity("参数不允许为空");
}
if (entity.getLclb() == null || "".equals(entity.getLclb())) {
return BaseResult.getFailureMessageEntity("流程类别不允许为空");
}
if (entity.getZt() == null || "".equals(entity.getZt())) {
return BaseResult.getFailureMessageEntity("状态不允许为空");
}
if (entity.getDjbh() == null || "".equals(entity.getDjbh())) {
return BaseResult.getFailureMessageEntity("单据编号不允许为空");
}
if(ColEventTypeEnum.ONSTART.getType().equals(entity.getLclb())){//流程发起
return saveOrUpdateData(entity);
}else if(ColEventTypeEnum.ONCANCEL.getType().equals(entity.getLclb())){//流程撤销
OerDjmlEntity oerDjmlAllEntity = new OerDjmlEntity();
oerDjmlAllEntity.setDjbh(entity.getDjbh());
List<OerDjmlEntity> oerDjmlAllEntities = iOerDjmlDao.queryOerDjml(oerDjmlAllEntity);
if(oerDjmlAllEntities != null && oerDjmlAllEntities.size() == 1){
//修改状态
oerDjmlAllEntity.setMlId(oerDjmlAllEntities.get(0).getMlId());
oerDjmlAllEntity.setZt(entity.getZt());
iOerDjmlDao.updateOerDjmlZt(oerDjmlAllEntity);
//释放指标
GbiZbsyrecAllEntity gbiZbsyrecAllEntity = new GbiZbsyrecAllEntity();
gbiZbsyrecAllEntity.setDjlx(oerDjmlAllEntities.get(0).getDjlxId());
gbiZbsyrecAllEntity.setDjid(oerDjmlAllEntities.get(0).getMlId());
gbiZbsyrecAllEntity.setGsdm(oerDjmlAllEntities.get(0).getGsdm());
gbiZbsyrecAllEntity.setKjnd(oerDjmlAllEntities.get(0).getKjnd());
gbiZbsyrecAllEntity.setDjflmx(Integer.valueOf(oerDjmlAllEntities.get(0).getMlId()));
gbiZbsyrecAllEntity.setModule("'OER'");
gbiZbsyrecAllEntity.setDjzt("0");
iOerDjmlDao.updateGbiZbsyrecByDjid(gbiZbsyrecAllEntity);
}else {
return BaseResult.getFailureMessageEntity("根据单据编号存在多条报销单");
}
}else if(ColEventTypeEnum.ONSTOP.getType().equals(entity.getLclb())){//流程终止
OerDjmlEntity oerDjmlAllEntity = new OerDjmlEntity();
oerDjmlAllEntity.setDjbh(entity.getDjbh());
List<OerDjmlEntity> oerDjmlAllEntities = iOerDjmlDao.queryOerDjml(oerDjmlAllEntity);
if(oerDjmlAllEntities != null && oerDjmlAllEntities.size() == 1){
//修改状态
oerDjmlAllEntity.setMlId(oerDjmlAllEntities.get(0).getMlId());
oerDjmlAllEntity.setZt(entity.getZt());
iOerDjmlDao.updateOerDjmlZt(oerDjmlAllEntity);
//释放指标
GbiZbsyrecAllEntity gbiZbsyrecAllEntity = new GbiZbsyrecAllEntity();
gbiZbsyrecAllEntity.setDjlx(oerDjmlAllEntities.get(0).getDjlxId());
gbiZbsyrecAllEntity.setDjid(oerDjmlAllEntities.get(0).getMlId());
gbiZbsyrecAllEntity.setGsdm(oerDjmlAllEntities.get(0).getGsdm());
gbiZbsyrecAllEntity.setKjnd(oerDjmlAllEntities.get(0).getKjnd());
gbiZbsyrecAllEntity.setDjflmx(Integer.valueOf(oerDjmlAllEntities.get(0).getMlId()));
gbiZbsyrecAllEntity.setModule("'OER'");
/** /**
* 保存方法前先调这个方法 组装参数 * 保存方法前先调这个方法 组装参数
* *
@ -764,6 +834,26 @@ public class OerDjmlServiceImpl implements IOerDjmlService {
} }
return null; return null;
} }
gbiZbsyrecAllEntity.setDjzt("0");
iOerDjmlDao.updateGbiZbsyrecByDjid(gbiZbsyrecAllEntity);
}else {
return BaseResult.getFailureMessageEntity("根据单据编号存在多条报销单");
}
}else if(ColEventTypeEnum.ONPROCESSFINISHED.getType().equals(entity.getLclb())){//流程结束
OerDjmlEntity oerDjmlAllEntity = new OerDjmlEntity();
oerDjmlAllEntity.setDjbh(entity.getDjbh());
List<OerDjmlEntity> oerDjmlAllEntities = iOerDjmlDao.queryOerDjml(oerDjmlAllEntity);
if(oerDjmlAllEntities != null && oerDjmlAllEntities.size() == 1){
//修改状态
oerDjmlAllEntity.setMlId(oerDjmlAllEntities.get(0).getMlId());
oerDjmlAllEntity.setZt(entity.getZt());
iOerDjmlDao.updateOerDjmlZt(oerDjmlAllEntity);
}else {
return BaseResult.getFailureMessageEntity("根据单据编号存在多条报销单");
}
}else {
return BaseResult.getFailureMessageEntity("流程类别错误");
}
/** /**
* code和name拼接[] * code和name拼接[]
@ -775,4 +865,33 @@ public class OerDjmlServiceImpl implements IOerDjmlService {
String template = "{}[{}]"; String template = "{}[{}]";
return StrUtil.format(template,code,name); return StrUtil.format(template,code,name);
} }
return null;
}
/**
* @Author lvleigang
* @Description 保存或修改主表以及指标
* @Date 4:44 下午 2024/8/14
* @param entity
* @return java.lang.Object
**/
private Object saveOrUpdateData(OerDjmlEntity entity) {
return null;
}
protected <T> T getData(String key, JSONObject jsonObject, Class<T> clz) {
if (checkStr(jsonObject.getString(key))) {
return jsonObject.getJSONObject(key).toJavaObject(clz);
}
return null;
}
protected Boolean checkStr(String str) {
Boolean flag = true;
if (str == null || "".equals(str)) {
flag = false;
}
return flag;
}
} }

View File

@ -2129,6 +2129,7 @@ public class SysApplicationServiceImpl extends BaseService<SysApplicationEntity,
&& receiveApi.getReturnSuccessValue() != null && !"".equals(receiveApi.getReturnSuccessValue())) { && receiveApi.getReturnSuccessValue() != null && !"".equals(receiveApi.getReturnSuccessValue())) {
if (JSONUtil.isTypeJSON(body)) { if (JSONUtil.isTypeJSON(body)) {
JSONObject cheackdatas = JSONObject.parseObject(body); JSONObject cheackdatas = JSONObject.parseObject(body);
JSONObject datas = JSONObject.parseObject(body);
String checkdata = cheackdatas.getString(receiveApi.getReturnSuccessField()); String checkdata = cheackdatas.getString(receiveApi.getReturnSuccessField());
if (checkdata != null && receiveApi.getReturnSuccessValue().equals(checkdata)) { if (checkdata != null && receiveApi.getReturnSuccessValue().equals(checkdata)) {
sysMessageManageLogEntity.setStatus("3");//返回信息 sysMessageManageLogEntity.setStatus("3");//返回信息
@ -2138,13 +2139,62 @@ public class SysApplicationServiceImpl extends BaseService<SysApplicationEntity,
} else { } else {
sysMessageManageLogEntity.setRemark("接口调用成功");//返回信息 sysMessageManageLogEntity.setRemark("接口调用成功");//返回信息
} }
}else { }else if(receiveApi.getReturnSuccessValue().equals("not null") && checkdata != null){
sysMessageManageLogEntity.setStatus("4");//返回信息 sysMessageManageLogEntity.setStatus("3");//返回信息
if (receiveApi.getReturnMsg() != null && !"".equals(receiveApi.getReturnMsg())) { if (receiveApi.getReturnMsg() != null && !"".equals(receiveApi.getReturnMsg())) {
String returnMsg = cheackdatas.getString(receiveApi.getReturnMsg()); String returnMsg = cheackdatas.getString(receiveApi.getReturnMsg());
sysMessageManageLogEntity.setRemark("接口调用失败,返回值错误,返回信息如下:" + returnMsg);//返回信息 sysMessageManageLogEntity.setRemark("接口调用成功,返回信息如下:" + returnMsg);//返回信息
} else { } else {
sysMessageManageLogEntity.setRemark("接口调用失败,返回值错误");//返回信息 sysMessageManageLogEntity.setRemark("接口调用成功");//返回信息
}
}else {
String fieldname = receiveApi.getReturnSuccessField();
if(fieldname.contains(".")){
String[] fileds = fieldname.split("\\.");
boolean flags = false;
for (int i = 0; i < fileds.length; i++) {
if (JSONUtil.isTypeJSON(datas.getString(fileds[i]))) {
datas = datas.getJSONObject(fileds[i]);
if(fileds.length-2 == i ){
String a = datas.getString(fileds[i+1]);
if (a != null && receiveApi.getReturnSuccessValue().equals(a)) {
flags = true;
break;
}else if(receiveApi.getReturnSuccessValue().equals("not null") && a != null){
flags = true;
break;
}else {
break;
}
}
}
}
if(flags){
sysMessageManageLogEntity.setStatus("3");//返回信息
if (receiveApi.getReturnMsg() != null && !"".equals(receiveApi.getReturnMsg())) {
String returnMsg = cheackdatas.getString(receiveApi.getReturnMsg());
sysMessageManageLogEntity.setRemark("接口调用成功,返回信息如下:" + returnMsg);//返回信息
} else {
sysMessageManageLogEntity.setRemark("接口调用成功");//返回信息
}
}else {
sysMessageManageLogEntity.setStatus("4");//返回信息
if (receiveApi.getReturnMsg() != null && !"".equals(receiveApi.getReturnMsg())) {
String returnMsg = cheackdatas.getString(receiveApi.getReturnMsg());
sysMessageManageLogEntity.setRemark("接口调用失败,返回值错误,返回信息如下:" + returnMsg);//返回信息
} else {
sysMessageManageLogEntity.setRemark("接口调用失败,返回值错误");//返回信息
}
}
}else {
sysMessageManageLogEntity.setStatus("4");//返回信息
if (receiveApi.getReturnMsg() != null && !"".equals(receiveApi.getReturnMsg())) {
String returnMsg = cheackdatas.getString(receiveApi.getReturnMsg());
sysMessageManageLogEntity.setRemark("接口调用失败,返回值错误,返回信息如下:" + returnMsg);//返回信息
} else {
sysMessageManageLogEntity.setRemark("接口调用失败,返回值错误");//返回信息
}
} }
} }
} else { } else {