diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfMlDao.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfMlDao.java new file mode 100644 index 00000000..33adbaa4 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfMlDao.java @@ -0,0 +1,13 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.dao; +import com.hzya.frame.basedao.dao.IBaseDao; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity; +/** + * @description: 劳务费目录表 dao + * @tableName: GZ_LWFML + * @entityName: GzLwfMlEntity + * @author: gjh + * @history: 1.0 + */ +public interface IGzLwfMlDao extends IBaseDao<GzLwfMlEntity , String>{ + +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfNrDao.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfNrDao.java new file mode 100644 index 00000000..6ffc91ce --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfNrDao.java @@ -0,0 +1,13 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.dao; +import com.hzya.frame.basedao.dao.IBaseDao; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity; +/** + * @description: 劳务费内容 dao + * @tableName: GZ_LWFNR + * @entityName: GzLwfNrEntity + * @author: gjh + * @history: 1.0 + */ +public interface IGzLwfNrDao extends IBaseDao<GzLwfNrEntity , String>{ + +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfSdsDao.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfSdsDao.java new file mode 100644 index 00000000..cc22de4c --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/IGzLwfSdsDao.java @@ -0,0 +1,13 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.dao; +import com.hzya.frame.basedao.dao.IBaseDao; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity; +/** + * @description: 劳务费税率 dao + * @tableName: gz_lwfsds + * @entityName: GzLwfSdsEntity + * @author: gjh + * @history: 1.0 + */ +public interface IGzLwfSdsDao extends IBaseDao<GzLwfSdsEntity , String>{ + +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfMlDaoImpl.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfMlDaoImpl.java new file mode 100644 index 00000000..3d5819c4 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfMlDaoImpl.java @@ -0,0 +1,17 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.dao.impl; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity; +import org.springframework.stereotype.Repository; +import com.hzya.frame.basedao.dao.MybatisGenericDao; +import com.hzya.frame.grpU8.nxproof.gzlwfml.dao.IGzLwfMlDao; + +/** + * @description: 劳务费目录表 dao + * @tableName: GZ_LWFML + * @entityName: GzLwfMlEntity + * @author: gjh + * @history:1.0 + */ +@Repository("GZ_LWFMLdao") +public class GzLwfMlDaoImpl extends MybatisGenericDao<GzLwfMlEntity, String> implements IGzLwfMlDao{ + +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfNrDaoImpl.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfNrDaoImpl.java new file mode 100644 index 00000000..aeacdecf --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfNrDaoImpl.java @@ -0,0 +1,17 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.dao.impl; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity; +import org.springframework.stereotype.Repository; +import com.hzya.frame.basedao.dao.MybatisGenericDao; +import com.hzya.frame.grpU8.nxproof.gzlwfml.dao.IGzLwfNrDao; + +/** + * @description: 劳务费内容 dao + * @tableName: GZ_LWFNR + * @entityName: GzLwfNrEntity + * @author: gjh + * @history:1.0 + */ +@Repository("GZ_LWFNRdao") +public class GzLwfNrDaoImpl extends MybatisGenericDao<GzLwfNrEntity, String> implements IGzLwfNrDao{ + +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfSdsDaoImpl.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfSdsDaoImpl.java new file mode 100644 index 00000000..d7d1c992 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/dao/impl/GzLwfSdsDaoImpl.java @@ -0,0 +1,17 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.dao.impl; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity; +import org.springframework.stereotype.Repository; +import com.hzya.frame.basedao.dao.MybatisGenericDao; +import com.hzya.frame.grpU8.nxproof.gzlwfml.dao.IGzLwfSdsDao; + +/** + * @description: 劳务费税率 dao + * @tableName: gz_lwfsds + * @entityName: GzLwfSdsEntity + * @author: gjh + * @history:1.0 + */ +@Repository("gz_lwfsdsdao") +public class GzLwfSdsDaoImpl extends MybatisGenericDao<GzLwfSdsEntity, String> implements IGzLwfSdsDao{ + +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfMlEntity.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfMlEntity.java new file mode 100644 index 00000000..38b1d8fc --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfMlEntity.java @@ -0,0 +1,1534 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.entity; + +import java.util.Date; + +import org.springframework.format.annotation.DateTimeFormat; +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.math.BigDecimal; +import java.util.List; + +import com.hzya.frame.web.entity.BaseEntity; + +/** + * @description: 劳务费目录表 + * @tableName: GZ_LWFML + * @entityName: GzLwfMlEntity + * @author: gjh + * @history: 1.0 + */ +public class GzLwfMlEntity extends BaseEntity { + + //劳务费子表 + private List<GzLwfNrEntity> lwfnrList; + //劳务费结算方式 + private List<GzLwfSdsEntity> lwfsdsList; + //流程类别 + private String lclb; + /** + * 无备注 + */ + private String GSDM; + /** + * 无备注 + */ + private String FFND; + /** + * 无备注 + */ + private String LBDM; + /** + * 无备注 + */ + private String LBMC; + /** + * 无备注 + */ + private String FFDATE; + /** + * 无备注 + */ + private Integer FFCS; + /** + * 无备注 + */ + private String MXDH; + /** + * 无备注 + */ + private String ZT; + /** + * 无备注 + */ + private String BZ; + /** + * 无备注 + */ + private String BZR; + /** + * 无备注 + */ + private String BZRID; + /** + * 无备注 + */ + private String BZRQ; + /** + * 无备注 + */ + private String BZSJ; + /** + * 无备注 + */ + private String SBR; + /** + * 无备注 + */ + private String SBRID; + /** + * 无备注 + */ + private String SBRQ; + /** + * 无备注 + */ + private String SBSJ; + /** + * 无备注 + */ + private String SHR; + /** + * 无备注 + */ + private Integer SHRID; + /** + * 无备注 + */ + private String SHRQ; + /** + * 无备注 + */ + private String SHSJ; + /** + * 无备注 + */ + private String THR; + /** + * 无备注 + */ + private Integer THRID; + /** + * 无备注 + */ + private String THRQ; + /** + * 无备注 + */ + private String THSJ; + /** + * 无备注 + */ + private Integer GZDM; + /** + * 无备注 + */ + private String BMDM; + /** + * 无备注 + */ + private String DJBH; + /** + * 无备注 + */ + private String DJLX; + /** + * 无备注 + */ + private String ZBID; + /** + * 无备注 + */ + private String ZBLB; + /** + * 无备注 + */ + private String IDPZH; + /** + * 无备注 + */ + private String GSMC; + /** + * 无备注 + */ + private String BMMC; + /** + * 无备注 + */ + private String XMDM; + /** + * 无备注 + */ + private String XMMC; + /** + * 无备注 + */ + private String YYBH; + /** + * 无备注 + */ + private String GZXMMC; + /** + * 无备注 + */ + private String MXXMDM; + /** + * 无备注 + */ + private String MXXMMC; + /** + * 无备注 + */ + private String gndm; + /** + * 无备注 + */ + private String gnmc; + /** + * 无备注 + */ + private String jjdm; + /** + * 无备注 + */ + private String jjmc; + /** + * 无备注 + */ + private String jfkmdm; + /** + * 无备注 + */ + private String jfkmmc; + /** + * 无备注 + */ + private String dfkmdm; + /** + * 无备注 + */ + private String dfkmmc; + /** + * 无备注 + */ + private Integer fjs; + /** + * 无备注 + */ + private String jsfsdm; + /** + * 无备注 + */ + private String jsfsmc; + /** + * 无备注 + */ + private String WZBDJ; + /** + * 无备注 + */ + private Integer CurSHJDID; + /** + * 无备注 + */ + private String CurSHJDMC; + /** + * 无备注 + */ + private String CurSHJDSHR; + /** + * 无备注 + */ + private String AllSHRLB; + /** + * 无备注 + */ + private String Billczy; + /** + * 无备注 + */ + private String SJLY; + /** + * 无备注 + */ + private String DJJE; + /** + * 无备注 + */ + private String SumSDS; + /** + * 无备注 + */ + private String SumQFDK; + /** + * 无备注 + */ + private Integer RecCount; + /** + * 无备注 + */ + private Integer RYCount; + /** + * 无备注 + */ + private String BZRLXFS; + /** + * 无备注 + */ + private String FZ6DM; + /** + * 无备注 + */ + private String FZ6MC; + /** + * 无备注 + */ + private String FZ7DM; + /** + * 无备注 + */ + private String FZ7MC; + /** + * 无备注 + */ + private String FZ8DM; + /** + * 无备注 + */ + private String FZ8MC; + /** + * 无备注 + */ + private String FZ9DM; + /** + * 无备注 + */ + private String FZ9MC; + /** + * 无备注 + */ + private String FZADM; + /** + * 无备注 + */ + private String FZAMC; + /** + * 无备注 + */ + private String CZSQZFM; + /** + * 无备注 + */ + private String BillGUID; + /** + * 无备注 + */ + private String FFYF; + /** + * 无备注 + */ + private String THBZ; + + + /** + * 无备注 + */ + public void setGSDM(String GSDM) { + this.GSDM = GSDM; + } + + /** + * 无备注 + */ + public String getGSDM() { + return GSDM; + } + + + /** + * 无备注 + */ + public void setFFND(String FFND) { + this.FFND = FFND; + } + + /** + * 无备注 + */ + public String getFFND() { + return FFND; + } + + + /** + * 无备注 + */ + public void setLBDM(String LBDM) { + this.LBDM = LBDM; + } + + /** + * 无备注 + */ + public String getLBDM() { + return LBDM; + } + + + /** + * 无备注 + */ + public void setLBMC(String LBMC) { + this.LBMC = LBMC; + } + + /** + * 无备注 + */ + public String getLBMC() { + return LBMC; + } + + + /** + * 无备注 + */ + public void setFFDATE(String FFDATE) { + this.FFDATE = FFDATE; + } + + /** + * 无备注 + */ + public String getFFDATE() { + return FFDATE; + } + + + /** + * 无备注 + */ + public void setFFCS(Integer FFCS) { + this.FFCS = FFCS; + } + + /** + * 无备注 + */ + public Integer getFFCS() { + return FFCS; + } + + + /** + * 无备注 + */ + public void setMXDH(String MXDH) { + this.MXDH = MXDH; + } + + /** + * 无备注 + */ + public String getMXDH() { + return MXDH; + } + + + /** + * 无备注 + */ + public void setZT(String ZT) { + this.ZT = ZT; + } + + /** + * 无备注 + */ + public String getZT() { + return ZT; + } + + + /** + * 无备注 + */ + public void setBZ(String BZ) { + this.BZ = BZ; + } + + /** + * 无备注 + */ + public String getBZ() { + return BZ; + } + + + /** + * 无备注 + */ + public void setBZR(String BZR) { + this.BZR = BZR; + } + + /** + * 无备注 + */ + public String getBZR() { + return BZR; + } + + + /** + * 无备注 + */ + public void setBZRID(String BZRID) { + this.BZRID = BZRID; + } + + /** + * 无备注 + */ + public String getBZRID() { + return BZRID; + } + + + /** + * 无备注 + */ + public void setBZRQ(String BZRQ) { + this.BZRQ = BZRQ; + } + + /** + * 无备注 + */ + public String getBZRQ() { + return BZRQ; + } + + + /** + * 无备注 + */ + public void setBZSJ(String BZSJ) { + this.BZSJ = BZSJ; + } + + /** + * 无备注 + */ + public String getBZSJ() { + return BZSJ; + } + + + /** + * 无备注 + */ + public void setSBR(String SBR) { + this.SBR = SBR; + } + + /** + * 无备注 + */ + public String getSBR() { + return SBR; + } + + + /** + * 无备注 + */ + public void setSBRID(String SBRID) { + this.SBRID = SBRID; + } + + /** + * 无备注 + */ + public String getSBRID() { + return SBRID; + } + + + /** + * 无备注 + */ + public void setSBRQ(String SBRQ) { + this.SBRQ = SBRQ; + } + + /** + * 无备注 + */ + public String getSBRQ() { + return SBRQ; + } + + + /** + * 无备注 + */ + public void setSBSJ(String SBSJ) { + this.SBSJ = SBSJ; + } + + /** + * 无备注 + */ + public String getSBSJ() { + return SBSJ; + } + + + /** + * 无备注 + */ + public void setSHR(String SHR) { + this.SHR = SHR; + } + + /** + * 无备注 + */ + public String getSHR() { + return SHR; + } + + + /** + * 无备注 + */ + public void setSHRID(Integer SHRID) { + this.SHRID = SHRID; + } + + /** + * 无备注 + */ + public Integer getSHRID() { + return SHRID; + } + + + /** + * 无备注 + */ + public void setSHRQ(String SHRQ) { + this.SHRQ = SHRQ; + } + + /** + * 无备注 + */ + public String getSHRQ() { + return SHRQ; + } + + + /** + * 无备注 + */ + public void setSHSJ(String SHSJ) { + this.SHSJ = SHSJ; + } + + /** + * 无备注 + */ + public String getSHSJ() { + return SHSJ; + } + + + /** + * 无备注 + */ + public void setTHR(String THR) { + this.THR = THR; + } + + /** + * 无备注 + */ + public String getTHR() { + return THR; + } + + + /** + * 无备注 + */ + public void setTHRID(Integer THRID) { + this.THRID = THRID; + } + + /** + * 无备注 + */ + public Integer getTHRID() { + return THRID; + } + + + /** + * 无备注 + */ + public void setTHRQ(String THRQ) { + this.THRQ = THRQ; + } + + /** + * 无备注 + */ + public String getTHRQ() { + return THRQ; + } + + + /** + * 无备注 + */ + public void setTHSJ(String THSJ) { + this.THSJ = THSJ; + } + + /** + * 无备注 + */ + public String getTHSJ() { + return THSJ; + } + + + /** + * 无备注 + */ + public void setGZDM(Integer GZDM) { + this.GZDM = GZDM; + } + + /** + * 无备注 + */ + public Integer getGZDM() { + return GZDM; + } + + + /** + * 无备注 + */ + public void setBMDM(String BMDM) { + this.BMDM = BMDM; + } + + /** + * 无备注 + */ + public String getBMDM() { + return BMDM; + } + + + /** + * 无备注 + */ + public void setDJBH(String DJBH) { + this.DJBH = DJBH; + } + + /** + * 无备注 + */ + public String getDJBH() { + return DJBH; + } + + + /** + * 无备注 + */ + public void setDJLX(String DJLX) { + this.DJLX = DJLX; + } + + /** + * 无备注 + */ + public String getDJLX() { + return DJLX; + } + + + /** + * 无备注 + */ + public void setZBID(String ZBID) { + this.ZBID = ZBID; + } + + /** + * 无备注 + */ + public String getZBID() { + return ZBID; + } + + + /** + * 无备注 + */ + public void setZBLB(String ZBLB) { + this.ZBLB = ZBLB; + } + + /** + * 无备注 + */ + public String getZBLB() { + return ZBLB; + } + + + /** + * 无备注 + */ + public void setIDPZH(String IDPZH) { + this.IDPZH = IDPZH; + } + + /** + * 无备注 + */ + public String getIDPZH() { + return IDPZH; + } + + + /** + * 无备注 + */ + public void setGSMC(String GSMC) { + this.GSMC = GSMC; + } + + /** + * 无备注 + */ + public String getGSMC() { + return GSMC; + } + + + /** + * 无备注 + */ + public void setBMMC(String BMMC) { + this.BMMC = BMMC; + } + + /** + * 无备注 + */ + public String getBMMC() { + return BMMC; + } + + + /** + * 无备注 + */ + public void setXMDM(String XMDM) { + this.XMDM = XMDM; + } + + /** + * 无备注 + */ + public String getXMDM() { + return XMDM; + } + + + /** + * 无备注 + */ + public void setXMMC(String XMMC) { + this.XMMC = XMMC; + } + + /** + * 无备注 + */ + public String getXMMC() { + return XMMC; + } + + + /** + * 无备注 + */ + public void setYYBH(String YYBH) { + this.YYBH = YYBH; + } + + /** + * 无备注 + */ + public String getYYBH() { + return YYBH; + } + + + /** + * 无备注 + */ + public void setGZXMMC(String GZXMMC) { + this.GZXMMC = GZXMMC; + } + + /** + * 无备注 + */ + public String getGZXMMC() { + return GZXMMC; + } + + + /** + * 无备注 + */ + public void setMXXMDM(String MXXMDM) { + this.MXXMDM = MXXMDM; + } + + /** + * 无备注 + */ + public String getMXXMDM() { + return MXXMDM; + } + + + /** + * 无备注 + */ + public void setMXXMMC(String MXXMMC) { + this.MXXMMC = MXXMMC; + } + + /** + * 无备注 + */ + public String getMXXMMC() { + return MXXMMC; + } + + + /** + * 无备注 + */ + public void setGndm(String gndm) { + this.gndm = gndm; + } + + /** + * 无备注 + */ + public String getGndm() { + return gndm; + } + + + /** + * 无备注 + */ + public void setGnmc(String gnmc) { + this.gnmc = gnmc; + } + + /** + * 无备注 + */ + public String getGnmc() { + return gnmc; + } + + + /** + * 无备注 + */ + public void setJjdm(String jjdm) { + this.jjdm = jjdm; + } + + /** + * 无备注 + */ + public String getJjdm() { + return jjdm; + } + + + /** + * 无备注 + */ + public void setJjmc(String jjmc) { + this.jjmc = jjmc; + } + + /** + * 无备注 + */ + public String getJjmc() { + return jjmc; + } + + + /** + * 无备注 + */ + public void setJfkmdm(String jfkmdm) { + this.jfkmdm = jfkmdm; + } + + /** + * 无备注 + */ + public String getJfkmdm() { + return jfkmdm; + } + + + /** + * 无备注 + */ + public void setJfkmmc(String jfkmmc) { + this.jfkmmc = jfkmmc; + } + + /** + * 无备注 + */ + public String getJfkmmc() { + return jfkmmc; + } + + + /** + * 无备注 + */ + public void setDfkmdm(String dfkmdm) { + this.dfkmdm = dfkmdm; + } + + /** + * 无备注 + */ + public String getDfkmdm() { + return dfkmdm; + } + + + /** + * 无备注 + */ + public void setDfkmmc(String dfkmmc) { + this.dfkmmc = dfkmmc; + } + + /** + * 无备注 + */ + public String getDfkmmc() { + return dfkmmc; + } + + + /** + * 无备注 + */ + public void setFjs(Integer fjs) { + this.fjs = fjs; + } + + /** + * 无备注 + */ + public Integer getFjs() { + return fjs; + } + + + /** + * 无备注 + */ + public void setJsfsdm(String jsfsdm) { + this.jsfsdm = jsfsdm; + } + + /** + * 无备注 + */ + public String getJsfsdm() { + return jsfsdm; + } + + + /** + * 无备注 + */ + public void setJsfsmc(String jsfsmc) { + this.jsfsmc = jsfsmc; + } + + /** + * 无备注 + */ + public String getJsfsmc() { + return jsfsmc; + } + + + /** + * 无备注 + */ + public void setWZBDJ(String WZBDJ) { + this.WZBDJ = WZBDJ; + } + + /** + * 无备注 + */ + public String getWZBDJ() { + return WZBDJ; + } + + + /** + * 无备注 + */ + public void setCurSHJDID(Integer CurSHJDID) { + this.CurSHJDID = CurSHJDID; + } + + /** + * 无备注 + */ + public Integer getCurSHJDID() { + return CurSHJDID; + } + + + /** + * 无备注 + */ + public void setCurSHJDMC(String CurSHJDMC) { + this.CurSHJDMC = CurSHJDMC; + } + + /** + * 无备注 + */ + public String getCurSHJDMC() { + return CurSHJDMC; + } + + + /** + * 无备注 + */ + public void setCurSHJDSHR(String CurSHJDSHR) { + this.CurSHJDSHR = CurSHJDSHR; + } + + /** + * 无备注 + */ + public String getCurSHJDSHR() { + return CurSHJDSHR; + } + + + /** + * 无备注 + */ + public void setAllSHRLB(String AllSHRLB) { + this.AllSHRLB = AllSHRLB; + } + + /** + * 无备注 + */ + public String getAllSHRLB() { + return AllSHRLB; + } + + + /** + * 无备注 + */ + public void setBillczy(String Billczy) { + this.Billczy = Billczy; + } + + /** + * 无备注 + */ + public String getBillczy() { + return Billczy; + } + + + /** + * 无备注 + */ + public void setSJLY(String SJLY) { + this.SJLY = SJLY; + } + + /** + * 无备注 + */ + public String getSJLY() { + return SJLY; + } + + + /** + * 无备注 + */ + public void setDJJE(String DJJE) { + this.DJJE = DJJE; + } + + /** + * 无备注 + */ + public String getDJJE() { + return DJJE; + } + + + /** + * 无备注 + */ + public void setSumSDS(String SumSDS) { + this.SumSDS = SumSDS; + } + + /** + * 无备注 + */ + public String getSumSDS() { + return SumSDS; + } + + + /** + * 无备注 + */ + public void setSumQFDK(String SumQFDK) { + this.SumQFDK = SumQFDK; + } + + /** + * 无备注 + */ + public String getSumQFDK() { + return SumQFDK; + } + + + /** + * 无备注 + */ + public void setRecCount(Integer RecCount) { + this.RecCount = RecCount; + } + + /** + * 无备注 + */ + public Integer getRecCount() { + return RecCount; + } + + + /** + * 无备注 + */ + public void setRYCount(Integer RYCount) { + this.RYCount = RYCount; + } + + /** + * 无备注 + */ + public Integer getRYCount() { + return RYCount; + } + + + /** + * 无备注 + */ + public void setBZRLXFS(String BZRLXFS) { + this.BZRLXFS = BZRLXFS; + } + + /** + * 无备注 + */ + public String getBZRLXFS() { + return BZRLXFS; + } + + + /** + * 无备注 + */ + public void setFZ6DM(String FZ6DM) { + this.FZ6DM = FZ6DM; + } + + /** + * 无备注 + */ + public String getFZ6DM() { + return FZ6DM; + } + + + /** + * 无备注 + */ + public void setFZ6MC(String FZ6MC) { + this.FZ6MC = FZ6MC; + } + + /** + * 无备注 + */ + public String getFZ6MC() { + return FZ6MC; + } + + + /** + * 无备注 + */ + public void setFZ7DM(String FZ7DM) { + this.FZ7DM = FZ7DM; + } + + /** + * 无备注 + */ + public String getFZ7DM() { + return FZ7DM; + } + + + /** + * 无备注 + */ + public void setFZ7MC(String FZ7MC) { + this.FZ7MC = FZ7MC; + } + + /** + * 无备注 + */ + public String getFZ7MC() { + return FZ7MC; + } + + + /** + * 无备注 + */ + public void setFZ8DM(String FZ8DM) { + this.FZ8DM = FZ8DM; + } + + /** + * 无备注 + */ + public String getFZ8DM() { + return FZ8DM; + } + + + /** + * 无备注 + */ + public void setFZ8MC(String FZ8MC) { + this.FZ8MC = FZ8MC; + } + + /** + * 无备注 + */ + public String getFZ8MC() { + return FZ8MC; + } + + + /** + * 无备注 + */ + public void setFZ9DM(String FZ9DM) { + this.FZ9DM = FZ9DM; + } + + /** + * 无备注 + */ + public String getFZ9DM() { + return FZ9DM; + } + + + /** + * 无备注 + */ + public void setFZ9MC(String FZ9MC) { + this.FZ9MC = FZ9MC; + } + + /** + * 无备注 + */ + public String getFZ9MC() { + return FZ9MC; + } + + + /** + * 无备注 + */ + public void setFZADM(String FZADM) { + this.FZADM = FZADM; + } + + /** + * 无备注 + */ + public String getFZADM() { + return FZADM; + } + + + /** + * 无备注 + */ + public void setFZAMC(String FZAMC) { + this.FZAMC = FZAMC; + } + + /** + * 无备注 + */ + public String getFZAMC() { + return FZAMC; + } + + + /** + * 无备注 + */ + public void setCZSQZFM(String CZSQZFM) { + this.CZSQZFM = CZSQZFM; + } + + /** + * 无备注 + */ + public String getCZSQZFM() { + return CZSQZFM; + } + + + /** + * 无备注 + */ + public void setBillGUID(String BillGUID) { + this.BillGUID = BillGUID; + } + + /** + * 无备注 + */ + public String getBillGUID() { + return BillGUID; + } + + + /** + * 无备注 + */ + public void setFFYF(String FFYF) { + this.FFYF = FFYF; + } + + /** + * 无备注 + */ + public String getFFYF() { + return FFYF; + } + + + /** + * 无备注 + */ + public void setTHBZ(String THBZ) { + this.THBZ = THBZ; + } + + /** + * 无备注 + */ + public String getTHBZ() { + return THBZ; + } + + public String getLclb() { + return lclb; + } + + public void setLclb(String lclb) { + this.lclb = lclb; + } + + public List<GzLwfNrEntity> getLwfnrList() { + return lwfnrList; + } + + public void setLwfnrList(List<GzLwfNrEntity> lwfnrList) { + this.lwfnrList = lwfnrList; + } + + public List<GzLwfSdsEntity> getLwfsdsList() { + return lwfsdsList; + } + + public void setLwfsdsList(List<GzLwfSdsEntity> lwfsdsList) { + this.lwfsdsList = lwfsdsList; + } +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfMlEntity.xml b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfMlEntity.xml new file mode 100644 index 00000000..0c7508ca --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfMlEntity.xml @@ -0,0 +1,595 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.hzya.frame.grpU8.nxproof.gzlwfml.dao.impl.GzLwfMlDaoImpl"> + <resultMap id="get-GzLwfMlEntity-result" type="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity"> + <!--无备注 --> + <result property="GSDM" column="GSDM" /> + <!--无备注 --> + <result property="FFND" column="FFND" /> + <!--无备注 --> + <result property="LBDM" column="LBDM" /> + <!--无备注 --> + <result property="LBMC" column="LBMC" /> + <!--无备注 --> + <result property="FFDATE" column="FFDATE" /> + <!--无备注 --> + <result property="FFCS" column="FFCS" /> + <!--无备注 --> + <result property="MXDH" column="MXDH" /> + <!--无备注 --> + <result property="ZT" column="ZT" /> + <!--无备注 --> + <result property="BZ" column="BZ" /> + <!--无备注 --> + <result property="BZR" column="BZR" /> + <!--无备注 --> + <result property="BZRID" column="BZRID" /> + <!--无备注 --> + <result property="BZRQ" column="BZRQ" /> + <!--无备注 --> + <result property="BZSJ" column="BZSJ" /> + <!--无备注 --> + <result property="SBR" column="SBR" /> + <!--无备注 --> + <result property="SBRID" column="SBRID" /> + <!--无备注 --> + <result property="SBRQ" column="SBRQ" /> + <!--无备注 --> + <result property="SBSJ" column="SBSJ" /> + <!--无备注 --> + <result property="SHR" column="SHR" /> + <!--无备注 --> + <result property="SHRID" column="SHRID" /> + <!--无备注 --> + <result property="SHRQ" column="SHRQ" /> + <!--无备注 --> + <result property="SHSJ" column="SHSJ" /> + <!--无备注 --> + <result property="THR" column="THR" /> + <!--无备注 --> + <result property="THRID" column="THRID" /> + <!--无备注 --> + <result property="THRQ" column="THRQ" /> + <!--无备注 --> + <result property="THSJ" column="THSJ" /> + <!--无备注 --> + <result property="GZDM" column="GZDM" /> + <!--无备注 --> + <result property="BMDM" column="BMDM" /> + <!--无备注 --> + <result property="DJBH" column="DJBH" /> + <!--无备注 --> + <result property="DJLX" column="DJLX" /> + <!--无备注 --> + <result property="ZBID" column="ZBID" /> + <!--无备注 --> + <result property="ZBLB" column="ZBLB" /> + <!--无备注 --> + <result property="IDPZH" column="IDPZH" /> + <!--无备注 --> + <result property="GSMC" column="GSMC" /> + <!--无备注 --> + <result property="BMMC" column="BMMC" /> + <!--无备注 --> + <result property="XMDM" column="XMDM" /> + <!--无备注 --> + <result property="XMMC" column="XMMC" /> + <!--无备注 --> + <result property="YYBH" column="YYBH" /> + <!--无备注 --> + <result property="GZXMMC" column="GZXMMC" /> + <!--无备注 --> + <result property="MXXMDM" column="MXXMDM" /> + <!--无备注 --> + <result property="MXXMMC" column="MXXMMC" /> + <!--无备注 --> + <result property="gndm" column="gndm" /> + <!--无备注 --> + <result property="gnmc" column="gnmc" /> + <!--无备注 --> + <result property="jjdm" column="jjdm" /> + <!--无备注 --> + <result property="jjmc" column="jjmc" /> + <!--无备注 --> + <result property="jfkmdm" column="jfkmdm" /> + <!--无备注 --> + <result property="jfkmmc" column="jfkmmc" /> + <!--无备注 --> + <result property="dfkmdm" column="dfkmdm" /> + <!--无备注 --> + <result property="dfkmmc" column="dfkmmc" /> + <!--无备注 --> + <result property="fjs" column="fjs" /> + <!--无备注 --> + <result property="jsfsdm" column="jsfsdm" /> + <!--无备注 --> + <result property="jsfsmc" column="jsfsmc" /> + <!--无备注 --> + <result property="WZBDJ" column="WZBDJ" /> + <!--无备注 --> + <result property="CurSHJDID" column="CurSHJDID" /> + <!--无备注 --> + <result property="CurSHJDMC" column="CurSHJDMC" /> + <!--无备注 --> + <result property="CurSHJDSHR" column="CurSHJDSHR" /> + <!--无备注 --> + <result property="AllSHRLB" column="AllSHRLB" /> + <!--无备注 --> + <result property="Billczy" column="Billczy" /> + <!--无备注 --> + <result property="SJLY" column="SJLY" /> + <!--无备注 --> + <result property="DJJE" column="DJJE" /> + <!--无备注 --> + <result property="SumSDS" column="SumSDS" /> + <!--无备注 --> + <result property="SumQFDK" column="SumQFDK" /> + <!--无备注 --> + <result property="RecCount" column="RecCount" /> + <!--无备注 --> + <result property="RYCount" column="RYCount" /> + <!--无备注 --> + <result property="BZRLXFS" column="BZRLXFS" /> + <!--无备注 --> + <result property="FZ6DM" column="FZ6DM" /> + <!--无备注 --> + <result property="FZ6MC" column="FZ6MC" /> + <!--无备注 --> + <result property="FZ7DM" column="FZ7DM" /> + <!--无备注 --> + <result property="FZ7MC" column="FZ7MC" /> + <!--无备注 --> + <result property="FZ8DM" column="FZ8DM" /> + <!--无备注 --> + <result property="FZ8MC" column="FZ8MC" /> + <!--无备注 --> + <result property="FZ9DM" column="FZ9DM" /> + <!--无备注 --> + <result property="FZ9MC" column="FZ9MC" /> + <!--无备注 --> + <result property="FZADM" column="FZADM" /> + <!--无备注 --> + <result property="FZAMC" column="FZAMC" /> + <!--无备注 --> + <result property="CZSQZFM" column="CZSQZFM" /> + <!--无备注 --> + <result property="BillGUID" column="BillGUID" /> + <!--无备注 --> + <result property="FFYF" column="FFYF" /> + <!--无备注 --> + <result property="THBZ" column="THBZ" /> + </resultMap> + + <sql id="GzLwfMlEntity_Base_Column_List"> + GSDM, + FFND, + LBDM, + LBMC, + FFDATE, + FFCS, + MXDH, + ZT, + BZ, + BZR, + BZRID, + BZRQ, + BZSJ, + SBR, + SBRID, + SBRQ, + SBSJ, + SHR, + SHRID, + SHRQ, + SHSJ, + THR, + THRID, + THRQ, + THSJ, + GZDM, + BMDM, + DJBH, + DJLX, + ZBID, + ZBLB, + IDPZH, + GSMC, + BMMC, + XMDM, + XMMC, + YYBH, + GZXMMC, + MXXMDM, + MXXMMC, + gndm, + gnmc, + jjdm, + jjmc, + jfkmdm, + jfkmmc, + dfkmdm, + dfkmmc, + fjs, + jsfsdm, + jsfsmc, + WZBDJ, + CurSHJDID, + CurSHJDMC, + CurSHJDSHR, + AllSHRLB, + Billczy, + SJLY, + DJJE, + SumSDS, + SumQFDK, + RecCount, + RYCount, + BZRLXFS, + FZ6DM, + FZ6MC, + FZ7DM, + FZ7MC, + FZ8DM, + FZ8MC, + FZ9DM, + FZ9MC, + FZADM, + FZAMC, + CZSQZFM, + BillGUID, + FFYF, + THBZ + </sql> + + + <!-- 查最大mlid --> + <select id="entity_list_maxMlid" resultMap="get-GzLwfMlEntity-result" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity"> + select max(mlid) + 1 as mxdh from oer_djml where FFND = #{FFND} and GSDM = #{GSDM} + </select> + + <!-- 查询 采用==查询 --> + <select id="entity_list_base" resultMap="get-GzLwfMlEntity-result" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity"> + select + <include refid="GzLwfMlEntity_Base_Column_List" /> + from GZ_LWFML + <trim prefix="where" prefixOverrides="and"> + <if test="GSDM != null and GSDM !='' ">GSDM = #{GSDM} </if> + <if test="FFND != null and FFND !='' "> and FFND = #{FFND}</if> + <if test="LBDM != null and LBDM !='' "> and LBDM = #{LBDM}</if> + <if test="LBMC != null and LBMC !='' "> and LBMC = #{LBMC}</if> + <if test="FFDATE != null and FFDATE !='' "> and FFDATE = #{FFDATE}</if> + <if test="FFCS != null "> and FFCS = #{FFCS}</if> + <if test="MXDH != null and MXDH !='' "> and MXDH = #{MXDH}</if> + <if test="ZT != null and ZT !='' "> and ZT = #{ZT}</if> + <if test="BZ != null and BZ !='' "> and BZ = #{BZ}</if> + <if test="BZR != null and BZR !='' "> and BZR = #{BZR}</if> + <if test="BZRID != null and BZRID !='' "> and BZRID = #{BZRID}</if> + <if test="BZRQ != null and BZRQ !='' "> and BZRQ = #{BZRQ}</if> + <if test="BZSJ != null and BZSJ !='' "> and BZSJ = #{BZSJ}</if> + <if test="SBR != null and SBR !='' "> and SBR = #{SBR}</if> + <if test="SBRID != null and SBRID !='' "> and SBRID = #{SBRID}</if> + <if test="SBRQ != null and SBRQ !='' "> and SBRQ = #{SBRQ}</if> + <if test="SBSJ != null and SBSJ !='' "> and SBSJ = #{SBSJ}</if> + <if test="SHR != null and SHR !='' "> and SHR = #{SHR}</if> + <if test="SHRID != null "> and SHRID = #{SHRID}</if> + <if test="SHRQ != null and SHRQ !='' "> and SHRQ = #{SHRQ}</if> + <if test="SHSJ != null and SHSJ !='' "> and SHSJ = #{SHSJ}</if> + <if test="THR != null and THR !='' "> and THR = #{THR}</if> + <if test="THRID != null "> and THRID = #{THRID}</if> + <if test="THRQ != null and THRQ !='' "> and THRQ = #{THRQ}</if> + <if test="THSJ != null and THSJ !='' "> and THSJ = #{THSJ}</if> + <if test="GZDM != null "> and GZDM = #{GZDM}</if> + <if test="BMDM != null and BMDM !='' "> and BMDM = #{BMDM}</if> + <if test="DJBH != null and DJBH !='' "> and DJBH = #{DJBH}</if> + <if test="DJLX != null and DJLX !='' "> and DJLX = #{DJLX}</if> + <if test="ZBID != null and ZBID !='' "> and ZBID = #{ZBID}</if> + <if test="ZBLB != null and ZBLB !='' "> and ZBLB = #{ZBLB}</if> + <if test="IDPZH != null and IDPZH !='' "> and IDPZH = #{IDPZH}</if> + <if test="GSMC != null and GSMC !='' "> and GSMC = #{GSMC}</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="YYBH != null and YYBH !='' "> and YYBH = #{YYBH}</if> + <if test="GZXMMC != null and GZXMMC !='' "> and GZXMMC = #{GZXMMC}</if> + <if test="MXXMDM != null and MXXMDM !='' "> and MXXMDM = #{MXXMDM}</if> + <if test="MXXMMC != null and MXXMMC !='' "> and MXXMMC = #{MXXMMC}</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="jfkmdm != null and jfkmdm !='' "> and jfkmdm = #{jfkmdm}</if> + <if test="jfkmmc != null and jfkmmc !='' "> and jfkmmc = #{jfkmmc}</if> + <if test="dfkmdm != null and dfkmdm !='' "> and dfkmdm = #{dfkmdm}</if> + <if test="dfkmmc != null and dfkmmc !='' "> and dfkmmc = #{dfkmmc}</if> + <if test="fjs != null "> and fjs = #{fjs}</if> + <if test="jsfsdm != null and jsfsdm !='' "> and jsfsdm = #{jsfsdm}</if> + <if test="jsfsmc != null and jsfsmc !='' "> and jsfsmc = #{jsfsmc}</if> + <if test="WZBDJ != null and WZBDJ !='' "> and WZBDJ = #{WZBDJ}</if> + <if test="CurSHJDID != null "> and CurSHJDID = #{CurSHJDID}</if> + <if test="CurSHJDMC != null and CurSHJDMC !='' "> and CurSHJDMC = #{CurSHJDMC}</if> + <if test="CurSHJDSHR != null and CurSHJDSHR !='' "> and CurSHJDSHR = #{CurSHJDSHR}</if> + <if test="AllSHRLB != null and AllSHRLB !='' "> and AllSHRLB = #{AllSHRLB}</if> + <if test="Billczy != null and Billczy !='' "> and Billczy = #{Billczy}</if> + <if test="SJLY != null and SJLY !='' "> and SJLY = #{SJLY}</if> + <if test="DJJE != null and DJJE !='' "> and DJJE = #{DJJE}</if> + <if test="SumSDS != null and SumSDS !='' "> and SumSDS = #{SumSDS}</if> + <if test="SumQFDK != null and SumQFDK !='' "> and SumQFDK = #{SumQFDK}</if> + <if test="RecCount != null "> and RecCount = #{RecCount}</if> + <if test="RYCount != null "> and RYCount = #{RYCount}</if> + <if test="BZRLXFS != null and BZRLXFS !='' "> and BZRLXFS = #{BZRLXFS}</if> + <if test="FZ6DM != null and FZ6DM !='' "> and FZ6DM = #{FZ6DM}</if> + <if test="FZ6MC != null and FZ6MC !='' "> and FZ6MC = #{FZ6MC}</if> + <if test="FZ7DM != null and FZ7DM !='' "> and FZ7DM = #{FZ7DM}</if> + <if test="FZ7MC != null and FZ7MC !='' "> and FZ7MC = #{FZ7MC}</if> + <if test="FZ8DM != null and FZ8DM !='' "> and FZ8DM = #{FZ8DM}</if> + <if test="FZ8MC != null and FZ8MC !='' "> and FZ8MC = #{FZ8MC}</if> + <if test="FZ9DM != null and FZ9DM !='' "> and FZ9DM = #{FZ9DM}</if> + <if test="FZ9MC != null and FZ9MC !='' "> and FZ9MC = #{FZ9MC}</if> + <if test="FZADM != null and FZADM !='' "> and FZADM = #{FZADM}</if> + <if test="FZAMC != null and FZAMC !='' "> and FZAMC = #{FZAMC}</if> + <if test="CZSQZFM != null and CZSQZFM !='' "> and CZSQZFM = #{CZSQZFM}</if> + <if test="BillGUID != null and BillGUID !='' "> and BillGUID = #{BillGUID}</if> + <if test="FFYF != null and FFYF !='' "> and FFYF = #{FFYF}</if> + <if test="THBZ != null and THBZ !='' "> and THBZ = #{THBZ}</if> + + </trim> + </select> + + <!-- 新增 --> + <insert id="entity_insert" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity"> + insert into GZ_LWFML( + <trim suffix="" suffixOverrides=","> + <if test="GSDM != null and GSDM !='' "> GSDM, </if> + <if test="FFND != null and FFND !='' "> FFND, </if> + <if test="LBDM != null and LBDM !='' "> LBDM, </if> + <if test="LBMC != null and LBMC !='' "> LBMC, </if> + <if test="FFDATE != null and FFDATE !='' "> FFDATE, </if> + <if test="FFCS != null ">FFCS,</if> + <if test="MXDH != null and MXDH !='' "> MXDH, </if> + <if test="ZT != null and ZT !='' "> ZT, </if> + <if test="BZ != null and BZ !='' "> BZ, </if> + <if test="BZR != null and BZR !='' "> BZR, </if> + <if test="BZRID != null and BZRID !='' "> BZRID, </if> + <if test="BZRQ != null and BZRQ !='' "> BZRQ, </if> + <if test="BZSJ != null and BZSJ !='' "> BZSJ, </if> + <if test="SBR != null and SBR !='' "> SBR, </if> + <if test="SBRID != null and SBRID !='' "> SBRID, </if> + <if test="SBRQ != null and SBRQ !='' "> SBRQ, </if> + <if test="SBSJ != null and SBSJ !='' "> SBSJ, </if> + <if test="SHR != null and SHR !='' "> SHR, </if> + <if test="SHRID != null ">SHRID,</if> + <if test="SHRQ != null and SHRQ !='' "> SHRQ, </if> + <if test="SHSJ != null and SHSJ !='' "> SHSJ, </if> + <if test="THR != null and THR !='' "> THR, </if> + <if test="THRID != null ">THRID,</if> + <if test="THRQ != null and THRQ !='' "> THRQ, </if> + <if test="THSJ != null and THSJ !='' "> THSJ, </if> + <if test="GZDM != null ">GZDM,</if> + <if test="BMDM != null and BMDM !='' "> BMDM, </if> + <if test="DJBH != null and DJBH !='' "> DJBH, </if> + <if test="DJLX != null and DJLX !='' "> DJLX, </if> + <if test="ZBID != null and ZBID !='' "> ZBID, </if> + <if test="ZBLB != null and ZBLB !='' "> ZBLB, </if> + <if test="IDPZH != null and IDPZH !='' "> IDPZH, </if> + <if test="GSMC != null and GSMC !='' "> GSMC, </if> + <if test="BMMC != null and BMMC !='' "> BMMC, </if> + <if test="XMDM != null and XMDM !='' "> XMDM, </if> + <if test="XMMC != null and XMMC !='' "> XMMC, </if> + <if test="YYBH != null and YYBH !='' "> YYBH, </if> + <if test="GZXMMC != null and GZXMMC !='' "> GZXMMC, </if> + <if test="MXXMDM != null and MXXMDM !='' "> MXXMDM, </if> + <if test="MXXMMC != null and MXXMMC !='' "> MXXMMC, </if> + <if test="gndm != null and gndm !='' "> gndm, </if> + <if test="gnmc != null and gnmc !='' "> gnmc, </if> + <if test="jjdm != null and jjdm !='' "> jjdm, </if> + <if test="jjmc != null and jjmc !='' "> jjmc, </if> + <if test="jfkmdm != null and jfkmdm !='' "> jfkmdm, </if> + <if test="jfkmmc != null and jfkmmc !='' "> jfkmmc, </if> + <if test="dfkmdm != null and dfkmdm !='' "> dfkmdm, </if> + <if test="dfkmmc != null and dfkmmc !='' "> dfkmmc, </if> + <if test="fjs != null ">fjs,</if> + <if test="jsfsdm != null and jsfsdm !='' "> jsfsdm, </if> + <if test="jsfsmc != null and jsfsmc !='' "> jsfsmc, </if> + <if test="WZBDJ != null and WZBDJ !='' "> WZBDJ, </if> + <if test="CurSHJDID != null ">CurSHJDID,</if> + <if test="CurSHJDMC != null and CurSHJDMC !='' "> CurSHJDMC, </if> + <if test="CurSHJDSHR != null and CurSHJDSHR !='' "> CurSHJDSHR, </if> + <if test="AllSHRLB != null and AllSHRLB !='' "> AllSHRLB, </if> + <if test="Billczy != null and Billczy !='' "> Billczy, </if> + <if test="SJLY != null and SJLY !='' "> SJLY, </if> + <if test="DJJE != null and DJJE !='' "> DJJE, </if> + <if test="SumSDS != null and SumSDS !='' "> SumSDS, </if> + <if test="SumQFDK != null and SumQFDK !='' "> SumQFDK, </if> + <if test="RecCount != null ">RecCount,</if> + <if test="RYCount != null ">RYCount,</if> + <if test="BZRLXFS != null and BZRLXFS !='' "> BZRLXFS, </if> + <if test="FZ6DM != null and FZ6DM !='' "> FZ6DM, </if> + <if test="FZ6MC != null and FZ6MC !='' "> FZ6MC, </if> + <if test="FZ7DM != null and FZ7DM !='' "> FZ7DM, </if> + <if test="FZ7MC != null and FZ7MC !='' "> FZ7MC, </if> + <if test="FZ8DM != null and FZ8DM !='' "> FZ8DM, </if> + <if test="FZ8MC != null and FZ8MC !='' "> FZ8MC, </if> + <if test="FZ9DM != null and FZ9DM !='' "> FZ9DM, </if> + <if test="FZ9MC != null and FZ9MC !='' "> FZ9MC, </if> + <if test="FZADM != null and FZADM !='' "> FZADM, </if> + <if test="FZAMC != null and FZAMC !='' "> FZAMC, </if> + <if test="CZSQZFM != null and CZSQZFM !='' "> CZSQZFM, </if> + <if test="BillGUID != null and BillGUID !='' "> BillGUID, </if> + <if test="FFYF != null and FFYF !='' "> FFYF, </if> + <if test="THBZ != null and THBZ !='' "> THBZ </if> + + </trim> + )values + ( + <trim suffix="" suffixOverrides=","> + <if test="GSDM != null and GSDM !='' "> #{GSDM}, </if> + <if test="FFND != null and FFND !='' "> #{FFND}, </if> + <if test="LBDM != null and LBDM !='' "> #{LBDM}, </if> + <if test="LBMC != null and LBMC !='' "> #{LBMC}, </if> + <if test="FFDATE != null and FFDATE !='' "> #{FFDATE}, </if> + <if test="FFCS != null ">#{FFCS},</if> + <if test="MXDH != null and MXDH !='' "> #{MXDH}, </if> + <if test="ZT != null and ZT !='' "> #{ZT}, </if> + <if test="BZ != null and BZ !='' "> #{BZ}, </if> + <if test="BZR != null and BZR !='' "> #{BZR}, </if> + <if test="BZRID != null and BZRID !='' "> #{BZRID}, </if> + <if test="BZRQ != null and BZRQ !='' "> #{BZRQ}, </if> + <if test="BZSJ != null and BZSJ !='' "> #{BZSJ}, </if> + <if test="SBR != null and SBR !='' "> #{SBR}, </if> + <if test="SBRID != null and SBRID !='' "> #{SBRID}, </if> + <if test="SBRQ != null and SBRQ !='' "> #{SBRQ}, </if> + <if test="SBSJ != null and SBSJ !='' "> #{SBSJ}, </if> + <if test="SHR != null and SHR !='' "> #{SHR}, </if> + <if test="SHRID != null ">#{SHRID},</if> + <if test="SHRQ != null and SHRQ !='' "> #{SHRQ}, </if> + <if test="SHSJ != null and SHSJ !='' "> #{SHSJ}, </if> + <if test="THR != null and THR !='' "> #{THR}, </if> + <if test="THRID != null ">#{THRID},</if> + <if test="THRQ != null and THRQ !='' "> #{THRQ}, </if> + <if test="THSJ != null and THSJ !='' "> #{THSJ}, </if> + <if test="GZDM != null ">#{GZDM},</if> + <if test="BMDM != null and BMDM !='' "> #{BMDM}, </if> + <if test="DJBH != null and DJBH !='' "> #{DJBH}, </if> + <if test="DJLX != null and DJLX !='' "> #{DJLX}, </if> + <if test="ZBID != null and ZBID !='' "> #{ZBID}, </if> + <if test="ZBLB != null and ZBLB !='' "> #{ZBLB}, </if> + <if test="IDPZH != null and IDPZH !='' "> #{IDPZH}, </if> + <if test="GSMC != null and GSMC !='' "> #{GSMC}, </if> + <if test="BMMC != null and BMMC !='' "> #{BMMC}, </if> + <if test="XMDM != null and XMDM !='' "> #{XMDM}, </if> + <if test="XMMC != null and XMMC !='' "> #{XMMC}, </if> + <if test="YYBH != null and YYBH !='' "> #{YYBH}, </if> + <if test="GZXMMC != null and GZXMMC !='' "> #{GZXMMC}, </if> + <if test="MXXMDM != null and MXXMDM !='' "> #{MXXMDM}, </if> + <if test="MXXMMC != null and MXXMMC !='' "> #{MXXMMC}, </if> + <if test="gndm != null and gndm !='' "> #{gndm}, </if> + <if test="gnmc != null and gnmc !='' "> #{gnmc}, </if> + <if test="jjdm != null and jjdm !='' "> #{jjdm}, </if> + <if test="jjmc != null and jjmc !='' "> #{jjmc}, </if> + <if test="jfkmdm != null and jfkmdm !='' "> #{jfkmdm}, </if> + <if test="jfkmmc != null and jfkmmc !='' "> #{jfkmmc}, </if> + <if test="dfkmdm != null and dfkmdm !='' "> #{dfkmdm}, </if> + <if test="dfkmmc != null and dfkmmc !='' "> #{dfkmmc}, </if> + <if test="fjs != null ">#{fjs},</if> + <if test="jsfsdm != null and jsfsdm !='' "> #{jsfsdm}, </if> + <if test="jsfsmc != null and jsfsmc !='' "> #{jsfsmc}, </if> + <if test="WZBDJ != null and WZBDJ !='' "> #{WZBDJ}, </if> + <if test="CurSHJDID != null ">#{CurSHJDID},</if> + <if test="CurSHJDMC != null and CurSHJDMC !='' "> #{CurSHJDMC}, </if> + <if test="CurSHJDSHR != null and CurSHJDSHR !='' "> #{CurSHJDSHR}, </if> + <if test="AllSHRLB != null and AllSHRLB !='' "> #{AllSHRLB}, </if> + <if test="Billczy != null and Billczy !='' "> #{Billczy}, </if> + <if test="SJLY != null and SJLY !='' "> #{SJLY}, </if> + <if test="DJJE != null and DJJE !='' "> #{DJJE}, </if> + <if test="SumSDS != null and SumSDS !='' "> #{SumSDS}, </if> + <if test="SumQFDK != null and SumQFDK !='' "> #{SumQFDK}, </if> + <if test="RecCount != null ">#{RecCount},</if> + <if test="RYCount != null ">#{RYCount},</if> + <if test="BZRLXFS != null and BZRLXFS !='' "> #{BZRLXFS}, </if> + <if test="FZ6DM != null and FZ6DM !='' "> #{FZ6DM}, </if> + <if test="FZ6MC != null and FZ6MC !='' "> #{FZ6MC}, </if> + <if test="FZ7DM != null and FZ7DM !='' "> #{FZ7DM}, </if> + <if test="FZ7MC != null and FZ7MC !='' "> #{FZ7MC}, </if> + <if test="FZ8DM != null and FZ8DM !='' "> #{FZ8DM}, </if> + <if test="FZ8MC != null and FZ8MC !='' "> #{FZ8MC}, </if> + <if test="FZ9DM != null and FZ9DM !='' "> #{FZ9DM}, </if> + <if test="FZ9MC != null and FZ9MC !='' "> #{FZ9MC}, </if> + <if test="FZADM != null and FZADM !='' "> #{FZADM}, </if> + <if test="FZAMC != null and FZAMC !='' "> #{FZAMC}, </if> + <if test="CZSQZFM != null and CZSQZFM !='' "> #{CZSQZFM}, </if> + <if test="BillGUID != null and BillGUID !='' "> #{BillGUID}, </if> + <if test="FFYF != null and FFYF !='' "> #{FFYF}, </if> + <if test="THBZ != null and THBZ !='' "> #{THBZ}</if> + + </trim> + ) + </insert> + + <!-- 修改 --> + <update id="entity_update" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity"> + update GZ_LWFML set + <trim suffix="" suffixOverrides=","> + <if test="GSDM != null and GSDM !='' "> GSDM = #{GSDM},</if> + <if test="FFND != null and FFND !='' "> FFND = #{FFND},</if> + <if test="LBDM != null and LBDM !='' "> LBDM = #{LBDM},</if> + <if test="LBMC != null and LBMC !='' "> LBMC = #{LBMC},</if> + <if test="FFDATE != null and FFDATE !='' "> FFDATE = #{FFDATE},</if> + <if test="FFCS != null ">FFCS = #{FFCS},</if> + <if test="MXDH != null and MXDH !='' "> MXDH = #{MXDH},</if> + <if test="ZT != null and ZT !='' "> ZT = #{ZT},</if> + <if test="BZ != null and BZ !='' "> BZ = #{BZ},</if> + <if test="BZR != null and BZR !='' "> BZR = #{BZR},</if> + <if test="BZRID != null and BZRID !='' "> BZRID = #{BZRID},</if> + <if test="BZRQ != null and BZRQ !='' "> BZRQ = #{BZRQ},</if> + <if test="BZSJ != null and BZSJ !='' "> BZSJ = #{BZSJ},</if> + <if test="SBR != null and SBR !='' "> SBR = #{SBR},</if> + <if test="SBRID != null and SBRID !='' "> SBRID = #{SBRID},</if> + <if test="SBRQ != null and SBRQ !='' "> SBRQ = #{SBRQ},</if> + <if test="SBSJ != null and SBSJ !='' "> SBSJ = #{SBSJ},</if> + <if test="SHR != null and SHR !='' "> SHR = #{SHR},</if> + <if test="SHRID != null ">SHRID = #{SHRID},</if> + <if test="SHRQ != null and SHRQ !='' "> SHRQ = #{SHRQ},</if> + <if test="SHSJ != null and SHSJ !='' "> SHSJ = #{SHSJ},</if> + <if test="THR != null and THR !='' "> THR = #{THR},</if> + <if test="THRID != null ">THRID = #{THRID},</if> + <if test="THRQ != null and THRQ !='' "> THRQ = #{THRQ},</if> + <if test="THSJ != null and THSJ !='' "> THSJ = #{THSJ},</if> + <if test="GZDM != null ">GZDM = #{GZDM},</if> + <if test="BMDM != null and BMDM !='' "> BMDM = #{BMDM},</if> + <if test="DJBH != null and DJBH !='' "> DJBH = #{DJBH},</if> + <if test="DJLX != null and DJLX !='' "> DJLX = #{DJLX},</if> + <if test="ZBID != null and ZBID !='' "> ZBID = #{ZBID},</if> + <if test="ZBLB != null and ZBLB !='' "> ZBLB = #{ZBLB},</if> + <if test="IDPZH != null and IDPZH !='' "> IDPZH = #{IDPZH},</if> + <if test="GSMC != null and GSMC !='' "> GSMC = #{GSMC},</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="YYBH != null and YYBH !='' "> YYBH = #{YYBH},</if> + <if test="GZXMMC != null and GZXMMC !='' "> GZXMMC = #{GZXMMC},</if> + <if test="MXXMDM != null and MXXMDM !='' "> MXXMDM = #{MXXMDM},</if> + <if test="MXXMMC != null and MXXMMC !='' "> MXXMMC = #{MXXMMC},</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="jfkmdm != null and jfkmdm !='' "> jfkmdm = #{jfkmdm},</if> + <if test="jfkmmc != null and jfkmmc !='' "> jfkmmc = #{jfkmmc},</if> + <if test="dfkmdm != null and dfkmdm !='' "> dfkmdm = #{dfkmdm},</if> + <if test="dfkmmc != null and dfkmmc !='' "> dfkmmc = #{dfkmmc},</if> + <if test="fjs != null ">fjs = #{fjs},</if> + <if test="jsfsdm != null and jsfsdm !='' "> jsfsdm = #{jsfsdm},</if> + <if test="jsfsmc != null and jsfsmc !='' "> jsfsmc = #{jsfsmc},</if> + <if test="WZBDJ != null and WZBDJ !='' "> WZBDJ = #{WZBDJ},</if> + <if test="CurSHJDID != null ">CurSHJDID = #{CurSHJDID},</if> + <if test="CurSHJDMC != null and CurSHJDMC !='' "> CurSHJDMC = #{CurSHJDMC},</if> + <if test="CurSHJDSHR != null and CurSHJDSHR !='' "> CurSHJDSHR = #{CurSHJDSHR},</if> + <if test="AllSHRLB != null and AllSHRLB !='' "> AllSHRLB = #{AllSHRLB},</if> + <if test="Billczy != null and Billczy !='' "> Billczy = #{Billczy},</if> + <if test="SJLY != null and SJLY !='' "> SJLY = #{SJLY},</if> + <if test="DJJE != null and DJJE !='' "> DJJE = #{DJJE},</if> + <if test="SumSDS != null and SumSDS !='' "> SumSDS = #{SumSDS},</if> + <if test="SumQFDK != null and SumQFDK !='' "> SumQFDK = #{SumQFDK},</if> + <if test="RecCount != null ">RecCount = #{RecCount},</if> + <if test="RYCount != null ">RYCount = #{RYCount},</if> + <if test="BZRLXFS != null and BZRLXFS !='' "> BZRLXFS = #{BZRLXFS},</if> + <if test="FZ6DM != null and FZ6DM !='' "> FZ6DM = #{FZ6DM},</if> + <if test="FZ6MC != null and FZ6MC !='' "> FZ6MC = #{FZ6MC},</if> + <if test="FZ7DM != null and FZ7DM !='' "> FZ7DM = #{FZ7DM},</if> + <if test="FZ7MC != null and FZ7MC !='' "> FZ7MC = #{FZ7MC},</if> + <if test="FZ8DM != null and FZ8DM !='' "> FZ8DM = #{FZ8DM},</if> + <if test="FZ8MC != null and FZ8MC !='' "> FZ8MC = #{FZ8MC},</if> + <if test="FZ9DM != null and FZ9DM !='' "> FZ9DM = #{FZ9DM},</if> + <if test="FZ9MC != null and FZ9MC !='' "> FZ9MC = #{FZ9MC},</if> + <if test="FZADM != null and FZADM !='' "> FZADM = #{FZADM},</if> + <if test="FZAMC != null and FZAMC !='' "> FZAMC = #{FZAMC},</if> + <if test="CZSQZFM != null and CZSQZFM !='' "> CZSQZFM = #{CZSQZFM},</if> + <if test="BillGUID != null and BillGUID !='' "> BillGUID = #{BillGUID},</if> + <if test="FFYF != null and FFYF !='' "> FFYF = #{FFYF},</if> + <if test="THBZ != null and THBZ !='' "> THBZ = #{THBZ}</if> + </trim> + where MXDH = #{MXDH} + </update> + + +</mapper> diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfNrEntity.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfNrEntity.java new file mode 100644 index 00000000..137ca618 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfNrEntity.java @@ -0,0 +1,810 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.entity; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.math.BigDecimal; +import com.hzya.frame.web.entity.BaseEntity; +/** + * @description: 劳务费内容 + * @tableName: GZ_LWFNR + * @entityName: GzLwfNrEntity + * @author: gjh + * @history: 1.0 + */ +public class GzLwfNrEntity extends BaseEntity { + +/** 无备注 */ +private String GSDM; +/** 无备注 */ +private String FFND; +/** 无备注 */ +private String LBDM; +/** 无备注 */ +private String LBMC; +/** 无备注 */ +private String BMDM; +/** 无备注 */ +private String BMMC; +/** 无备注 */ +private String LXDM; +/** 无备注 */ +private String LXMC; +/** 无备注 */ +private String ZYDM; +/** 无备注 */ +private String ZYXM; +/** 无备注 */ +private String MXDH; +/** 无备注 */ +private String FFDATE; +/** 无备注 */ +private Integer FFCS; +/** 无备注 */ +private String FFLX; +/** 无备注 */ +private String FFZH; +/** 无备注 */ +private String SFZH; +/** 无备注 */ +private String SBBMDM; +/** 无备注 */ +private String SBBMMC; +/** 无备注 */ +private Integer GZDM; +/** 无备注 */ +private String MXXMDM; +/** 无备注 */ +private String MXXMMC; +/** 无备注 */ +private Integer MXFLH; +/** 无备注 */ +private String JE; +/** 无备注 */ +private String BZ; +/** 无备注 */ +private BigDecimal SDS; +/** 无备注 */ +private String yhmc; +/** 无备注 */ +private Integer ZJLXDM; +/** 无备注 */ +private String ZJLXMC; +/** 无备注 */ +private String GZXMMC; +/** 无备注 */ +private String GROUPID; +/** 无备注 */ +private Integer ZFZT; +/** 无备注 */ +private String DJLX; +/** 无备注 */ +private String ZBID; +/** 无备注 */ +private String ZBLB; +/** 无备注 */ +private String YHHH; +/** 无备注 */ +private String KHSF; +/** 无备注 */ +private String KHCS; +/** 无备注 */ +private String DJBH; +/** 无备注 */ +private String XMDM; +/** 无备注 */ +private String XMMC; +/** 无备注 */ +private String ZFCZY; +/** 无备注 */ +private String ZFRQ; +/** 无备注 */ +private String ZFSJ; +/** 无备注 */ +private String ZFID; +/** 无备注 */ +private Integer ZFGROUPFLH; +/** 无备注 */ +private String YJSDS; +/** 无备注 */ +private String KHHDM; +/** 无备注 */ +private String KHHMC; +/** 无备注 */ +private String XSID; +/** 无备注 */ +private String XSQFDK; +/** 无备注 */ +private String KKJE; +/** 无备注 */ +private String DJH; +/** 无备注 */ +private String DJNM; +/** 无备注 */ +private Integer SFDK; +/** 无备注 */ +private String QFJE; +/** 无备注 */ +private String KHSFDM; +/** 无备注 */ +private String KHCSDM; +/** 无备注 */ +private String YHJGDM; +/** 无备注 */ +private String YHJGMC; +/** 无备注 */ +private String NATION; +/** 无备注 */ +private String TELEPHONE; +/** 无备注 */ +private String ChkResult; +/** 无备注 */ +private String ChkTips; +/** 无备注 */ +private String YHKJY; +/** 无备注 */ +private String BillGUID; +/** 无备注 */ +private String GZDW; + + +/** 无备注 */ +public void setGSDM(String GSDM) { + this.GSDM = GSDM; + } +/** 无备注 */ +public String getGSDM() { + return GSDM; + } + + +/** 无备注 */ +public void setFFND(String FFND) { + this.FFND = FFND; + } +/** 无备注 */ +public String getFFND() { + return FFND; + } + + +/** 无备注 */ +public void setLBDM(String LBDM) { + this.LBDM = LBDM; + } +/** 无备注 */ +public String getLBDM() { + return LBDM; + } + + +/** 无备注 */ +public void setLBMC(String LBMC) { + this.LBMC = LBMC; + } +/** 无备注 */ +public String getLBMC() { + return LBMC; + } + + +/** 无备注 */ +public void setBMDM(String BMDM) { + this.BMDM = BMDM; + } +/** 无备注 */ +public String getBMDM() { + return BMDM; + } + + +/** 无备注 */ +public void setBMMC(String BMMC) { + this.BMMC = BMMC; + } +/** 无备注 */ +public String getBMMC() { + return BMMC; + } + + +/** 无备注 */ +public void setLXDM(String LXDM) { + this.LXDM = LXDM; + } +/** 无备注 */ +public String getLXDM() { + return LXDM; + } + + +/** 无备注 */ +public void setLXMC(String LXMC) { + this.LXMC = LXMC; + } +/** 无备注 */ +public String getLXMC() { + return LXMC; + } + + +/** 无备注 */ +public void setZYDM(String ZYDM) { + this.ZYDM = ZYDM; + } +/** 无备注 */ +public String getZYDM() { + return ZYDM; + } + + +/** 无备注 */ +public void setZYXM(String ZYXM) { + this.ZYXM = ZYXM; + } +/** 无备注 */ +public String getZYXM() { + return ZYXM; + } + + +/** 无备注 */ +public void setMXDH(String MXDH) { + this.MXDH = MXDH; + } +/** 无备注 */ +public String getMXDH() { + return MXDH; + } + + +/** 无备注 */ +public void setFFDATE(String FFDATE) { + this.FFDATE = FFDATE; + } +/** 无备注 */ +public String getFFDATE() { + return FFDATE; + } + + +/** 无备注 */ +public void setFFCS(Integer FFCS) { + this.FFCS = FFCS; + } +/** 无备注 */ +public Integer getFFCS() { + return FFCS; + } + + +/** 无备注 */ +public void setFFLX(String FFLX) { + this.FFLX = FFLX; + } +/** 无备注 */ +public String getFFLX() { + return FFLX; + } + + +/** 无备注 */ +public void setFFZH(String FFZH) { + this.FFZH = FFZH; + } +/** 无备注 */ +public String getFFZH() { + return FFZH; + } + + +/** 无备注 */ +public void setSFZH(String SFZH) { + this.SFZH = SFZH; + } +/** 无备注 */ +public String getSFZH() { + return SFZH; + } + + +/** 无备注 */ +public void setSBBMDM(String SBBMDM) { + this.SBBMDM = SBBMDM; + } +/** 无备注 */ +public String getSBBMDM() { + return SBBMDM; + } + + +/** 无备注 */ +public void setSBBMMC(String SBBMMC) { + this.SBBMMC = SBBMMC; + } +/** 无备注 */ +public String getSBBMMC() { + return SBBMMC; + } + + +/** 无备注 */ +public void setGZDM(Integer GZDM) { + this.GZDM = GZDM; + } +/** 无备注 */ +public Integer getGZDM() { + return GZDM; + } + + +/** 无备注 */ +public void setMXXMDM(String MXXMDM) { + this.MXXMDM = MXXMDM; + } +/** 无备注 */ +public String getMXXMDM() { + return MXXMDM; + } + + +/** 无备注 */ +public void setMXXMMC(String MXXMMC) { + this.MXXMMC = MXXMMC; + } +/** 无备注 */ +public String getMXXMMC() { + return MXXMMC; + } + + +/** 无备注 */ +public void setMXFLH(Integer MXFLH) { + this.MXFLH = MXFLH; + } +/** 无备注 */ +public Integer getMXFLH() { + return MXFLH; + } + + +/** 无备注 */ +public void setJE(String JE) { + this.JE = JE; + } +/** 无备注 */ +public String getJE() { + return JE; + } + + +/** 无备注 */ +public void setBZ(String BZ) { + this.BZ = BZ; + } +/** 无备注 */ +public String getBZ() { + return BZ; + } + + +/** 无备注 */ +public void setSDS(BigDecimal SDS) { + this.SDS = SDS; + } +/** 无备注 */ +public BigDecimal getSDS() { + return SDS; + } + + +/** 无备注 */ +public void setYhmc(String yhmc) { + this.yhmc = yhmc; + } +/** 无备注 */ +public String getYhmc() { + return yhmc; + } + + +/** 无备注 */ +public void setZJLXDM(Integer ZJLXDM) { + this.ZJLXDM = ZJLXDM; + } +/** 无备注 */ +public Integer getZJLXDM() { + return ZJLXDM; + } + + +/** 无备注 */ +public void setZJLXMC(String ZJLXMC) { + this.ZJLXMC = ZJLXMC; + } +/** 无备注 */ +public String getZJLXMC() { + return ZJLXMC; + } + + +/** 无备注 */ +public void setGZXMMC(String GZXMMC) { + this.GZXMMC = GZXMMC; + } +/** 无备注 */ +public String getGZXMMC() { + return GZXMMC; + } + + +/** 无备注 */ +public void setGROUPID(String GROUPID) { + this.GROUPID = GROUPID; + } +/** 无备注 */ +public String getGROUPID() { + return GROUPID; + } + + +/** 无备注 */ +public void setZFZT(Integer ZFZT) { + this.ZFZT = ZFZT; + } +/** 无备注 */ +public Integer getZFZT() { + return ZFZT; + } + + +/** 无备注 */ +public void setDJLX(String DJLX) { + this.DJLX = DJLX; + } +/** 无备注 */ +public String getDJLX() { + return DJLX; + } + + +/** 无备注 */ +public void setZBID(String ZBID) { + this.ZBID = ZBID; + } +/** 无备注 */ +public String getZBID() { + return ZBID; + } + + +/** 无备注 */ +public void setZBLB(String ZBLB) { + this.ZBLB = ZBLB; + } +/** 无备注 */ +public String getZBLB() { + return ZBLB; + } + + +/** 无备注 */ +public void setYHHH(String YHHH) { + this.YHHH = YHHH; + } +/** 无备注 */ +public String getYHHH() { + return YHHH; + } + + +/** 无备注 */ +public void setKHSF(String KHSF) { + this.KHSF = KHSF; + } +/** 无备注 */ +public String getKHSF() { + return KHSF; + } + + +/** 无备注 */ +public void setKHCS(String KHCS) { + this.KHCS = KHCS; + } +/** 无备注 */ +public String getKHCS() { + return KHCS; + } + + +/** 无备注 */ +public void setDJBH(String DJBH) { + this.DJBH = DJBH; + } +/** 无备注 */ +public String getDJBH() { + return DJBH; + } + + +/** 无备注 */ +public void setXMDM(String XMDM) { + this.XMDM = XMDM; + } +/** 无备注 */ +public String getXMDM() { + return XMDM; + } + + +/** 无备注 */ +public void setXMMC(String XMMC) { + this.XMMC = XMMC; + } +/** 无备注 */ +public String getXMMC() { + return XMMC; + } + + +/** 无备注 */ +public void setZFCZY(String ZFCZY) { + this.ZFCZY = ZFCZY; + } +/** 无备注 */ +public String getZFCZY() { + return ZFCZY; + } + + +/** 无备注 */ +public void setZFRQ(String ZFRQ) { + this.ZFRQ = ZFRQ; + } +/** 无备注 */ +public String getZFRQ() { + return ZFRQ; + } + + +/** 无备注 */ +public void setZFSJ(String ZFSJ) { + this.ZFSJ = ZFSJ; + } +/** 无备注 */ +public String getZFSJ() { + return ZFSJ; + } + + +/** 无备注 */ +public void setZFID(String ZFID) { + this.ZFID = ZFID; + } +/** 无备注 */ +public String getZFID() { + return ZFID; + } + + +/** 无备注 */ +public void setZFGROUPFLH(Integer ZFGROUPFLH) { + this.ZFGROUPFLH = ZFGROUPFLH; + } +/** 无备注 */ +public Integer getZFGROUPFLH() { + return ZFGROUPFLH; + } + + +/** 无备注 */ +public void setYJSDS(String YJSDS) { + this.YJSDS = YJSDS; + } +/** 无备注 */ +public String getYJSDS() { + return YJSDS; + } + + +/** 无备注 */ +public void setKHHDM(String KHHDM) { + this.KHHDM = KHHDM; + } +/** 无备注 */ +public String getKHHDM() { + return KHHDM; + } + + +/** 无备注 */ +public void setKHHMC(String KHHMC) { + this.KHHMC = KHHMC; + } +/** 无备注 */ +public String getKHHMC() { + return KHHMC; + } + + +/** 无备注 */ +public void setXSID(String XSID) { + this.XSID = XSID; + } +/** 无备注 */ +public String getXSID() { + return XSID; + } + + +/** 无备注 */ +public void setXSQFDK(String XSQFDK) { + this.XSQFDK = XSQFDK; + } +/** 无备注 */ +public String getXSQFDK() { + return XSQFDK; + } + + +/** 无备注 */ +public void setKKJE(String KKJE) { + this.KKJE = KKJE; + } +/** 无备注 */ +public String getKKJE() { + return KKJE; + } + + +/** 无备注 */ +public void setDJH(String DJH) { + this.DJH = DJH; + } +/** 无备注 */ +public String getDJH() { + return DJH; + } + + +/** 无备注 */ +public void setDJNM(String DJNM) { + this.DJNM = DJNM; + } +/** 无备注 */ +public String getDJNM() { + return DJNM; + } + + +/** 无备注 */ +public void setSFDK(Integer SFDK) { + this.SFDK = SFDK; + } +/** 无备注 */ +public Integer getSFDK() { + return SFDK; + } + + +/** 无备注 */ +public void setQFJE(String QFJE) { + this.QFJE = QFJE; + } +/** 无备注 */ +public String getQFJE() { + return QFJE; + } + + +/** 无备注 */ +public void setKHSFDM(String KHSFDM) { + this.KHSFDM = KHSFDM; + } +/** 无备注 */ +public String getKHSFDM() { + return KHSFDM; + } + + +/** 无备注 */ +public void setKHCSDM(String KHCSDM) { + this.KHCSDM = KHCSDM; + } +/** 无备注 */ +public String getKHCSDM() { + return KHCSDM; + } + + +/** 无备注 */ +public void setYHJGDM(String YHJGDM) { + this.YHJGDM = YHJGDM; + } +/** 无备注 */ +public String getYHJGDM() { + return YHJGDM; + } + + +/** 无备注 */ +public void setYHJGMC(String YHJGMC) { + this.YHJGMC = YHJGMC; + } +/** 无备注 */ +public String getYHJGMC() { + return YHJGMC; + } + + +/** 无备注 */ +public void setNATION(String NATION) { + this.NATION = NATION; + } +/** 无备注 */ +public String getNATION() { + return NATION; + } + + +/** 无备注 */ +public void setTELEPHONE(String TELEPHONE) { + this.TELEPHONE = TELEPHONE; + } +/** 无备注 */ +public String getTELEPHONE() { + return TELEPHONE; + } + + +/** 无备注 */ +public void setChkResult(String ChkResult) { + this.ChkResult = ChkResult; + } +/** 无备注 */ +public String getChkResult() { + return ChkResult; + } + + +/** 无备注 */ +public void setChkTips(String ChkTips) { + this.ChkTips = ChkTips; + } +/** 无备注 */ +public String getChkTips() { + return ChkTips; + } + + +/** 无备注 */ +public void setYHKJY(String YHKJY) { + this.YHKJY = YHKJY; + } +/** 无备注 */ +public String getYHKJY() { + return YHKJY; + } + + +/** 无备注 */ +public void setBillGUID(String BillGUID) { + this.BillGUID = BillGUID; + } +/** 无备注 */ +public String getBillGUID() { + return BillGUID; + } + + +/** 无备注 */ +public void setGZDW(String GZDW) { + this.GZDW = GZDW; + } +/** 无备注 */ +public String getGZDW() { + return GZDW; + } + + + } diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfNrEntity.xml b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfNrEntity.xml new file mode 100644 index 00000000..788b7653 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfNrEntity.xml @@ -0,0 +1,508 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.hzya.frame.grpU8.nxproof.gzlwfml.dao.impl.GzLwfNrDaoImpl"> + <resultMap id="get-GzLwfNrEntity-result" type="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity"> + <!--无备注 --> + <result property="GSDM" column="GSDM" /> + <!--无备注 --> + <result property="FFND" column="FFND" /> + <!--无备注 --> + <result property="LBDM" column="LBDM" /> + <!--无备注 --> + <result property="LBMC" column="LBMC" /> + <!--无备注 --> + <result property="BMDM" column="BMDM" /> + <!--无备注 --> + <result property="BMMC" column="BMMC" /> + <!--无备注 --> + <result property="LXDM" column="LXDM" /> + <!--无备注 --> + <result property="LXMC" column="LXMC" /> + <!--无备注 --> + <result property="ZYDM" column="ZYDM" /> + <!--无备注 --> + <result property="ZYXM" column="ZYXM" /> + <!--无备注 --> + <result property="MXDH" column="MXDH" /> + <!--无备注 --> + <result property="FFDATE" column="FFDATE" /> + <!--无备注 --> + <result property="FFCS" column="FFCS" /> + <!--无备注 --> + <result property="FFLX" column="FFLX" /> + <!--无备注 --> + <result property="FFZH" column="FFZH" /> + <!--无备注 --> + <result property="SFZH" column="SFZH" /> + <!--无备注 --> + <result property="SBBMDM" column="SBBMDM" /> + <!--无备注 --> + <result property="SBBMMC" column="SBBMMC" /> + <!--无备注 --> + <result property="GZDM" column="GZDM" /> + <!--无备注 --> + <result property="MXXMDM" column="MXXMDM" /> + <!--无备注 --> + <result property="MXXMMC" column="MXXMMC" /> + <!--无备注 --> + <result property="MXFLH" column="MXFLH" /> + <!--无备注 --> + <result property="JE" column="JE" /> + <!--无备注 --> + <result property="BZ" column="BZ" /> + <!--无备注 --> + <result property="SDS" column="SDS" /> + <!--无备注 --> + <result property="yhmc" column="yhmc" /> + <!--无备注 --> + <result property="ZJLXDM" column="ZJLXDM" /> + <!--无备注 --> + <result property="ZJLXMC" column="ZJLXMC" /> + <!--无备注 --> + <result property="GZXMMC" column="GZXMMC" /> + <!--无备注 --> + <result property="GROUPID" column="GROUPID" /> + <!--无备注 --> + <result property="ZFZT" column="ZFZT" /> + <!--无备注 --> + <result property="DJLX" column="DJLX" /> + <!--无备注 --> + <result property="ZBID" column="ZBID" /> + <!--无备注 --> + <result property="ZBLB" column="ZBLB" /> + <!--无备注 --> + <result property="YHHH" column="YHHH" /> + <!--无备注 --> + <result property="KHSF" column="KHSF" /> + <!--无备注 --> + <result property="KHCS" column="KHCS" /> + <!--无备注 --> + <result property="DJBH" column="DJBH" /> + <!--无备注 --> + <result property="XMDM" column="XMDM" /> + <!--无备注 --> + <result property="XMMC" column="XMMC" /> + <!--无备注 --> + <result property="ZFCZY" column="ZFCZY" /> + <!--无备注 --> + <result property="ZFRQ" column="ZFRQ" /> + <!--无备注 --> + <result property="ZFSJ" column="ZFSJ" /> + <!--无备注 --> + <result property="ZFID" column="ZFID" /> + <!--无备注 --> + <result property="ZFGROUPFLH" column="ZFGROUPFLH" /> + <!--无备注 --> + <result property="YJSDS" column="YJSDS" /> + <!--无备注 --> + <result property="KHHDM" column="KHHDM" /> + <!--无备注 --> + <result property="KHHMC" column="KHHMC" /> + <!--无备注 --> + <result property="XSID" column="XSID" /> + <!--无备注 --> + <result property="XSQFDK" column="XSQFDK" /> + <!--无备注 --> + <result property="KKJE" column="KKJE" /> + <!--无备注 --> + <result property="DJH" column="DJH" /> + <!--无备注 --> + <result property="DJNM" column="DJNM" /> + <!--无备注 --> + <result property="SFDK" column="SFDK" /> + <!--无备注 --> + <result property="QFJE" column="QFJE" /> + <!--无备注 --> + <result property="KHSFDM" column="KHSFDM" /> + <!--无备注 --> + <result property="KHCSDM" column="KHCSDM" /> + <!--无备注 --> + <result property="YHJGDM" column="YHJGDM" /> + <!--无备注 --> + <result property="YHJGMC" column="YHJGMC" /> + <!--无备注 --> + <result property="NATION" column="NATION" /> + <!--无备注 --> + <result property="TELEPHONE" column="TELEPHONE" /> + <!--无备注 --> + <result property="ChkResult" column="ChkResult" /> + <!--无备注 --> + <result property="ChkTips" column="ChkTips" /> + <!--无备注 --> + <result property="YHKJY" column="YHKJY" /> + <!--无备注 --> + <result property="BillGUID" column="BillGUID" /> + <!--无备注 --> + <result property="GZDW" column="GZDW" /> + </resultMap> + + <sql id="GzLwfNrEntity_Base_Column_List"> + GSDM, + FFND, + LBDM, + LBMC, + BMDM, + BMMC, + LXDM, + LXMC, + ZYDM, + ZYXM, + MXDH, + FFDATE, + FFCS, + FFLX, + FFZH, + SFZH, + SBBMDM, + SBBMMC, + GZDM, + MXXMDM, + MXXMMC, + MXFLH, + JE, + BZ, + SDS, + yhmc, + ZJLXDM, + ZJLXMC, + GZXMMC, + GROUPID, + ZFZT, + DJLX, + ZBID, + ZBLB, + YHHH, + KHSF, + KHCS, + DJBH, + XMDM, + XMMC, + ZFCZY, + ZFRQ, + ZFSJ, + ZFID, + ZFGROUPFLH, + YJSDS, + KHHDM, + KHHMC, + XSID, + XSQFDK, + KKJE, + DJH, + DJNM, + SFDK, + QFJE, + KHSFDM, + KHCSDM, + YHJGDM, + YHJGMC, + NATION, + TELEPHONE, + ChkResult, + ChkTips, + YHKJY, + BillGUID, + GZDW + </sql> + + + <!-- 查询 采用==查询 --> + <select id="entity_list_base" resultMap="get-GzLwfNrEntity-result" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity"> + select + <include refid="GzLwfNrEntity_Base_Column_List" /> + from GZ_LWFNR + <trim prefix="where" prefixOverrides="and"> + <if test="GSDM != null and GSDM !='' ">GSDM = #{GSDM} </if> + <if test="FFND != null and FFND !='' "> and FFND = #{FFND}</if> + <if test="LBDM != null and LBDM !='' "> and LBDM = #{LBDM}</if> + <if test="LBMC != null and LBMC !='' "> and LBMC = #{LBMC}</if> + <if test="BMDM != null and BMDM !='' "> and BMDM = #{BMDM}</if> + <if test="BMMC != null and BMMC !='' "> and BMMC = #{BMMC}</if> + <if test="LXDM != null and LXDM !='' "> and LXDM = #{LXDM}</if> + <if test="LXMC != null and LXMC !='' "> and LXMC = #{LXMC}</if> + <if test="ZYDM != null and ZYDM !='' "> and ZYDM = #{ZYDM}</if> + <if test="ZYXM != null and ZYXM !='' "> and ZYXM = #{ZYXM}</if> + <if test="MXDH != null and MXDH !='' "> and MXDH = #{MXDH}</if> + <if test="FFDATE != null and FFDATE !='' "> and FFDATE = #{FFDATE}</if> + <if test="FFCS != null and FFCS !='' "> and FFCS = #{FFCS}</if> + <if test="FFLX != null and FFLX !='' "> and FFLX = #{FFLX}</if> + <if test="FFZH != null and FFZH !='' "> and FFZH = #{FFZH}</if> + <if test="SFZH != null and SFZH !='' "> and SFZH = #{SFZH}</if> + <if test="SBBMDM != null and SBBMDM !='' "> and SBBMDM = #{SBBMDM}</if> + <if test="SBBMMC != null and SBBMMC !='' "> and SBBMMC = #{SBBMMC}</if> + <if test="GZDM != null "> and GZDM = #{GZDM}</if> + <if test="MXXMDM != null and MXXMDM !='' "> and MXXMDM = #{MXXMDM}</if> + <if test="MXXMMC != null and MXXMMC !='' "> and MXXMMC = #{MXXMMC}</if> + <if test="MXFLH != null "> and MXFLH = #{MXFLH}</if> + <if test="JE != null and JE !='' "> and JE = #{JE}</if> + <if test="BZ != null and BZ !='' "> and BZ = #{BZ}</if> + <if test="SDS != null "> and SDS = #{SDS}</if> + <if test="yhmc != null and yhmc !='' "> and yhmc = #{yhmc}</if> + <if test="ZJLXDM != null "> and ZJLXDM = #{ZJLXDM}</if> + <if test="ZJLXMC != null and ZJLXMC !='' "> and ZJLXMC = #{ZJLXMC}</if> + <if test="GZXMMC != null and GZXMMC !='' "> and GZXMMC = #{GZXMMC}</if> + <if test="GROUPID != null and GROUPID !='' "> and GROUPID = #{GROUPID}</if> + <if test="ZFZT != null "> and ZFZT = #{ZFZT}</if> + <if test="DJLX != null and DJLX !='' "> and DJLX = #{DJLX}</if> + <if test="ZBID != null and ZBID !='' "> and ZBID = #{ZBID}</if> + <if test="ZBLB != null and ZBLB !='' "> and ZBLB = #{ZBLB}</if> + <if test="YHHH != null and YHHH !='' "> and YHHH = #{YHHH}</if> + <if test="KHSF != null and KHSF !='' "> and KHSF = #{KHSF}</if> + <if test="KHCS != null and KHCS !='' "> and KHCS = #{KHCS}</if> + <if test="DJBH != null and DJBH !='' "> and DJBH = #{DJBH}</if> + <if test="XMDM != null and XMDM !='' "> and XMDM = #{XMDM}</if> + <if test="XMMC != null and XMMC !='' "> and XMMC = #{XMMC}</if> + <if test="ZFCZY != null and ZFCZY !='' "> and ZFCZY = #{ZFCZY}</if> + <if test="ZFRQ != null and ZFRQ !='' "> and ZFRQ = #{ZFRQ}</if> + <if test="ZFSJ != null and ZFSJ !='' "> and ZFSJ = #{ZFSJ}</if> + <if test="ZFID != null and ZFID !='' "> and ZFID = #{ZFID}</if> + <if test="ZFGROUPFLH != null "> and ZFGROUPFLH = #{ZFGROUPFLH}</if> + <if test="YJSDS != null and YJSDS !='' "> and YJSDS = #{YJSDS}</if> + <if test="KHHDM != null and KHHDM !='' "> and KHHDM = #{KHHDM}</if> + <if test="KHHMC != null and KHHMC !='' "> and KHHMC = #{KHHMC}</if> + <if test="XSID != null and XSID !='' "> and XSID = #{XSID}</if> + <if test="XSQFDK != null and XSQFDK !='' "> and XSQFDK = #{XSQFDK}</if> + <if test="KKJE != null and KKJE !='' "> and KKJE = #{KKJE}</if> + <if test="DJH != null and DJH !='' "> and DJH = #{DJH}</if> + <if test="DJNM != null and DJNM !='' "> and DJNM = #{DJNM}</if> + <if test="SFDK != null "> and SFDK = #{SFDK}</if> + <if test="QFJE != null and QFJE !='' "> and QFJE = #{QFJE}</if> + <if test="KHSFDM != null and KHSFDM !='' "> and KHSFDM = #{KHSFDM}</if> + <if test="KHCSDM != null and KHCSDM !='' "> and KHCSDM = #{KHCSDM}</if> + <if test="YHJGDM != null and YHJGDM !='' "> and YHJGDM = #{YHJGDM}</if> + <if test="YHJGMC != null and YHJGMC !='' "> and YHJGMC = #{YHJGMC}</if> + <if test="NATION != null and NATION !='' "> and NATION = #{NATION}</if> + <if test="TELEPHONE != null and TELEPHONE !='' "> and TELEPHONE = #{TELEPHONE}</if> + <if test="ChkResult != null and ChkResult !='' "> and ChkResult = #{ChkResult}</if> + <if test="ChkTips != null and ChkTips !='' "> and ChkTips = #{ChkTips}</if> + <if test="YHKJY != null and YHKJY !='' "> and YHKJY = #{YHKJY}</if> + <if test="BillGUID != null and BillGUID !='' "> and BillGUID = #{BillGUID}</if> + <if test="GZDW != null and GZDW !='' "> and GZDW = #{GZDW}</if> + + </trim> + + </select> + + <!-- 新增 --> + <insert id="entity_insert" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity"> + insert into GZ_LWFNR( + <trim suffix="" suffixOverrides=","> + <if test="GSDM != null and GSDM !='' "> GSDM, </if> + <if test="FFND != null and FFND !='' "> FFND, </if> + <if test="LBDM != null and LBDM !='' "> LBDM, </if> + <if test="LBMC != null and LBMC !='' "> LBMC, </if> + <if test="BMDM != null and BMDM !='' "> BMDM, </if> + <if test="BMMC != null and BMMC !='' "> BMMC, </if> + <if test="LXDM != null and LXDM !='' "> LXDM, </if> + <if test="LXMC != null and LXMC !='' "> LXMC, </if> + <if test="ZYDM != null and ZYDM !='' "> ZYDM, </if> + <if test="ZYXM != null and ZYXM !='' "> ZYXM, </if> + <if test="MXDH != null and MXDH !='' "> MXDH, </if> + <if test="FFDATE != null and FFDATE !='' "> FFDATE, </if> + <if test="FFCS != null and FFCS !='' "> FFCS, </if> + <if test="FFLX != null and FFLX !='' "> FFLX, </if> + <if test="FFZH != null and FFZH !='' "> FFZH, </if> + <if test="SFZH != null and SFZH !='' "> SFZH, </if> + <if test="SBBMDM != null and SBBMDM !='' "> SBBMDM, </if> + <if test="SBBMMC != null and SBBMMC !='' "> SBBMMC, </if> + <if test="GZDM != null ">GZDM,</if> + <if test="MXXMDM != null and MXXMDM !='' "> MXXMDM, </if> + <if test="MXXMMC != null and MXXMMC !='' "> MXXMMC, </if> + <if test="MXFLH != null ">MXFLH,</if> + <if test="JE != null and JE !='' "> JE, </if> + <if test="BZ != null and BZ !='' "> BZ, </if> + <if test="SDS != null ">SDS,</if> + <if test="yhmc != null and yhmc !='' "> yhmc, </if> + <if test="ZJLXDM != null ">ZJLXDM,</if> + <if test="ZJLXMC != null and ZJLXMC !='' "> ZJLXMC, </if> + <if test="GZXMMC != null and GZXMMC !='' "> GZXMMC, </if> + <if test="GROUPID != null and GROUPID !='' "> GROUPID, </if> + <if test="ZFZT != null ">ZFZT,</if> + <if test="DJLX != null and DJLX !='' "> DJLX, </if> + <if test="ZBID != null and ZBID !='' "> ZBID, </if> + <if test="ZBLB != null and ZBLB !='' "> ZBLB, </if> + <if test="YHHH != null and YHHH !='' "> YHHH, </if> + <if test="KHSF != null and KHSF !='' "> KHSF, </if> + <if test="KHCS != null and KHCS !='' "> KHCS, </if> + <if test="DJBH != null and DJBH !='' "> DJBH, </if> + <if test="XMDM != null and XMDM !='' "> XMDM, </if> + <if test="XMMC != null and XMMC !='' "> XMMC, </if> + <if test="ZFCZY != null and ZFCZY !='' "> ZFCZY, </if> + <if test="ZFRQ != null and ZFRQ !='' "> ZFRQ, </if> + <if test="ZFSJ != null and ZFSJ !='' "> ZFSJ, </if> + <if test="ZFID != null and ZFID !='' "> ZFID, </if> + <if test="ZFGROUPFLH != null ">ZFGROUPFLH,</if> + <if test="YJSDS != null and YJSDS !='' "> YJSDS, </if> + <if test="KHHDM != null and KHHDM !='' "> KHHDM, </if> + <if test="KHHMC != null and KHHMC !='' "> KHHMC, </if> + <if test="XSID != null and XSID !='' "> XSID, </if> + <if test="XSQFDK != null and XSQFDK !='' "> XSQFDK, </if> + <if test="KKJE != null and KKJE !='' "> KKJE, </if> + <if test="DJH != null and DJH !='' "> DJH, </if> + <if test="DJNM != null and DJNM !='' "> DJNM, </if> + <if test="SFDK != null ">SFDK,</if> + <if test="QFJE != null and QFJE !='' "> QFJE, </if> + <if test="KHSFDM != null and KHSFDM !='' "> KHSFDM, </if> + <if test="KHCSDM != null and KHCSDM !='' "> KHCSDM, </if> + <if test="YHJGDM != null and YHJGDM !='' "> YHJGDM, </if> + <if test="YHJGMC != null and YHJGMC !='' "> YHJGMC, </if> + <if test="NATION != null and NATION !='' "> NATION, </if> + <if test="TELEPHONE != null and TELEPHONE !='' "> TELEPHONE, </if> + <if test="ChkResult != null and ChkResult !='' "> ChkResult, </if> + <if test="ChkTips != null and ChkTips !='' "> ChkTips, </if> + <if test="YHKJY != null and YHKJY !='' "> YHKJY, </if> + <if test="BillGUID != null and BillGUID !='' "> BillGUID, </if> + <if test="GZDW != null and GZDW !='' "> GZDW </if> + </trim> + )values + ( + <trim suffix="" suffixOverrides=","> + <if test="GSDM != null and GSDM !='' "> #{GSDM}, </if> + <if test="FFND != null and FFND !='' "> #{FFND}, </if> + <if test="LBDM != null and LBDM !='' "> #{LBDM}, </if> + <if test="LBMC != null and LBMC !='' "> #{LBMC}, </if> + <if test="BMDM != null and BMDM !='' "> #{BMDM}, </if> + <if test="BMMC != null and BMMC !='' "> #{BMMC}, </if> + <if test="LXDM != null and LXDM !='' "> #{LXDM}, </if> + <if test="LXMC != null and LXMC !='' "> #{LXMC}, </if> + <if test="ZYDM != null and ZYDM !='' "> #{ZYDM}, </if> + <if test="ZYXM != null and ZYXM !='' "> #{ZYXM}, </if> + <if test="MXDH != null and MXDH !='' "> #{MXDH}, </if> + <if test="FFDATE != null and FFDATE !='' "> #{FFDATE}, </if> + <if test="FFCS != null and FFCS !='' "> #{FFCS}, </if> + <if test="FFLX != null and FFLX !='' "> #{FFLX}, </if> + <if test="FFZH != null and FFZH !='' "> #{FFZH}, </if> + <if test="SFZH != null and SFZH !='' "> #{SFZH}, </if> + <if test="SBBMDM != null and SBBMDM !='' "> #{SBBMDM}, </if> + <if test="SBBMMC != null and SBBMMC !='' "> #{SBBMMC}, </if> + <if test="GZDM != null ">#{GZDM},</if> + <if test="MXXMDM != null and MXXMDM !='' "> #{MXXMDM}, </if> + <if test="MXXMMC != null and MXXMMC !='' "> #{MXXMMC}, </if> + <if test="MXFLH != null ">#{MXFLH},</if> + <if test="JE != null and JE !='' "> #{JE}, </if> + <if test="BZ != null and BZ !='' "> #{BZ}, </if> + <if test="SDS != null ">#{SDS},</if> + <if test="yhmc != null and yhmc !='' "> #{yhmc}, </if> + <if test="ZJLXDM != null ">#{ZJLXDM},</if> + <if test="ZJLXMC != null and ZJLXMC !='' "> #{ZJLXMC}, </if> + <if test="GZXMMC != null and GZXMMC !='' "> #{GZXMMC}, </if> + <if test="GROUPID != null and GROUPID !='' "> #{GROUPID}, </if> + <if test="ZFZT != null ">#{ZFZT},</if> + <if test="DJLX != null and DJLX !='' "> #{DJLX}, </if> + <if test="ZBID != null and ZBID !='' "> #{ZBID}, </if> + <if test="ZBLB != null and ZBLB !='' "> #{ZBLB}, </if> + <if test="YHHH != null and YHHH !='' "> #{YHHH}, </if> + <if test="KHSF != null and KHSF !='' "> #{KHSF}, </if> + <if test="KHCS != null and KHCS !='' "> #{KHCS}, </if> + <if test="DJBH != null and DJBH !='' "> #{DJBH}, </if> + <if test="XMDM != null and XMDM !='' "> #{XMDM}, </if> + <if test="XMMC != null and XMMC !='' "> #{XMMC}, </if> + <if test="ZFCZY != null and ZFCZY !='' "> #{ZFCZY}, </if> + <if test="ZFRQ != null and ZFRQ !='' "> #{ZFRQ}, </if> + <if test="ZFSJ != null and ZFSJ !='' "> #{ZFSJ}, </if> + <if test="ZFID != null and ZFID !='' "> #{ZFID}, </if> + <if test="ZFGROUPFLH != null ">#{ZFGROUPFLH},</if> + <if test="YJSDS != null and YJSDS !='' "> #{YJSDS}, </if> + <if test="KHHDM != null and KHHDM !='' "> #{KHHDM}, </if> + <if test="KHHMC != null and KHHMC !='' "> #{KHHMC}, </if> + <if test="XSID != null and XSID !='' "> #{XSID}, </if> + <if test="XSQFDK != null and XSQFDK !='' "> #{XSQFDK}, </if> + <if test="KKJE != null and KKJE !='' "> #{KKJE}, </if> + <if test="DJH != null and DJH !='' "> #{DJH}, </if> + <if test="DJNM != null and DJNM !='' "> #{DJNM}, </if> + <if test="SFDK != null ">#{SFDK},</if> + <if test="QFJE != null and QFJE !='' "> #{QFJE}, </if> + <if test="KHSFDM != null and KHSFDM !='' "> #{KHSFDM}, </if> + <if test="KHCSDM != null and KHCSDM !='' "> #{KHCSDM}, </if> + <if test="YHJGDM != null and YHJGDM !='' "> #{YHJGDM}, </if> + <if test="YHJGMC != null and YHJGMC !='' "> #{YHJGMC}, </if> + <if test="NATION != null and NATION !='' "> #{NATION}, </if> + <if test="TELEPHONE != null and TELEPHONE !='' "> #{TELEPHONE}, </if> + <if test="ChkResult != null and ChkResult !='' "> #{ChkResult}, </if> + <if test="ChkTips != null and ChkTips !='' "> #{ChkTips}, </if> + <if test="YHKJY != null and YHKJY !='' "> #{YHKJY}, </if> + <if test="BillGUID != null and BillGUID !='' "> #{BillGUID}, </if> + <if test="GZDW != null and GZDW !='' "> #{GZDW}</if> + </trim> + ) + </insert> + + <!-- 修改 --> + <update id="entity_update" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity"> + update GZ_LWFNR set + <trim suffix="" suffixOverrides=","> + <if test="GSDM != null and GSDM !='' "> GSDM = #{GSDM},</if> + <if test="FFND != null and FFND !='' "> FFND = #{FFND},</if> + <if test="LBDM != null and LBDM !='' "> LBDM = #{LBDM},</if> + <if test="LBMC != null and LBMC !='' "> LBMC = #{LBMC},</if> + <if test="BMDM != null and BMDM !='' "> BMDM = #{BMDM},</if> + <if test="BMMC != null and BMMC !='' "> BMMC = #{BMMC},</if> + <if test="LXDM != null and LXDM !='' "> LXDM = #{LXDM},</if> + <if test="LXMC != null and LXMC !='' "> LXMC = #{LXMC},</if> + <if test="ZYDM != null and ZYDM !='' "> ZYDM = #{ZYDM},</if> + <if test="ZYXM != null and ZYXM !='' "> ZYXM = #{ZYXM},</if> + <if test="MXDH != null and MXDH !='' "> MXDH = #{MXDH},</if> + <if test="FFDATE != null and FFDATE !='' "> FFDATE = #{FFDATE},</if> + <if test="FFCS != null and FFCS !='' "> FFCS = #{FFCS},</if> + <if test="FFLX != null and FFLX !='' "> FFLX = #{FFLX},</if> + <if test="FFZH != null and FFZH !='' "> FFZH = #{FFZH},</if> + <if test="SFZH != null and SFZH !='' "> SFZH = #{SFZH},</if> + <if test="SBBMDM != null and SBBMDM !='' "> SBBMDM = #{SBBMDM},</if> + <if test="SBBMMC != null and SBBMMC !='' "> SBBMMC = #{SBBMMC},</if> + <if test="GZDM != null ">GZDM = #{GZDM},</if> + <if test="MXXMDM != null and MXXMDM !='' "> MXXMDM = #{MXXMDM},</if> + <if test="MXXMMC != null and MXXMMC !='' "> MXXMMC = #{MXXMMC},</if> + <if test="MXFLH != null ">MXFLH = #{MXFLH},</if> + <if test="JE != null and JE !='' "> JE = #{JE},</if> + <if test="BZ != null and BZ !='' "> BZ = #{BZ},</if> + <if test="SDS != null ">SDS = #{SDS},</if> + <if test="yhmc != null and yhmc !='' "> yhmc = #{yhmc},</if> + <if test="ZJLXDM != null ">ZJLXDM = #{ZJLXDM},</if> + <if test="ZJLXMC != null and ZJLXMC !='' "> ZJLXMC = #{ZJLXMC},</if> + <if test="GZXMMC != null and GZXMMC !='' "> GZXMMC = #{GZXMMC},</if> + <if test="GROUPID != null and GROUPID !='' "> GROUPID = #{GROUPID},</if> + <if test="ZFZT != null ">ZFZT = #{ZFZT},</if> + <if test="DJLX != null and DJLX !='' "> DJLX = #{DJLX},</if> + <if test="ZBID != null and ZBID !='' "> ZBID = #{ZBID},</if> + <if test="ZBLB != null and ZBLB !='' "> ZBLB = #{ZBLB},</if> + <if test="YHHH != null and YHHH !='' "> YHHH = #{YHHH},</if> + <if test="KHSF != null and KHSF !='' "> KHSF = #{KHSF},</if> + <if test="KHCS != null and KHCS !='' "> KHCS = #{KHCS},</if> + <if test="DJBH != null and DJBH !='' "> DJBH = #{DJBH},</if> + <if test="XMDM != null and XMDM !='' "> XMDM = #{XMDM},</if> + <if test="XMMC != null and XMMC !='' "> XMMC = #{XMMC},</if> + <if test="ZFCZY != null and ZFCZY !='' "> ZFCZY = #{ZFCZY},</if> + <if test="ZFRQ != null and ZFRQ !='' "> ZFRQ = #{ZFRQ},</if> + <if test="ZFSJ != null and ZFSJ !='' "> ZFSJ = #{ZFSJ},</if> + <if test="ZFID != null and ZFID !='' "> ZFID = #{ZFID},</if> + <if test="ZFGROUPFLH != null ">ZFGROUPFLH = #{ZFGROUPFLH},</if> + <if test="YJSDS != null and YJSDS !='' "> YJSDS = #{YJSDS},</if> + <if test="KHHDM != null and KHHDM !='' "> KHHDM = #{KHHDM},</if> + <if test="KHHMC != null and KHHMC !='' "> KHHMC = #{KHHMC},</if> + <if test="XSID != null and XSID !='' "> XSID = #{XSID},</if> + <if test="XSQFDK != null and XSQFDK !='' "> XSQFDK = #{XSQFDK},</if> + <if test="KKJE != null and KKJE !='' "> KKJE = #{KKJE},</if> + <if test="DJH != null and DJH !='' "> DJH = #{DJH},</if> + <if test="DJNM != null and DJNM !='' "> DJNM = #{DJNM},</if> + <if test="SFDK != null ">SFDK = #{SFDK},</if> + <if test="QFJE != null and QFJE !='' "> QFJE = #{QFJE},</if> + <if test="KHSFDM != null and KHSFDM !='' "> KHSFDM = #{KHSFDM},</if> + <if test="KHCSDM != null and KHCSDM !='' "> KHCSDM = #{KHCSDM},</if> + <if test="YHJGDM != null and YHJGDM !='' "> YHJGDM = #{YHJGDM},</if> + <if test="YHJGMC != null and YHJGMC !='' "> YHJGMC = #{YHJGMC},</if> + <if test="NATION != null and NATION !='' "> NATION = #{NATION},</if> + <if test="TELEPHONE != null and TELEPHONE !='' "> TELEPHONE = #{TELEPHONE},</if> + <if test="ChkResult != null and ChkResult !='' "> ChkResult = #{ChkResult},</if> + <if test="ChkTips != null and ChkTips !='' "> ChkTips = #{ChkTips},</if> + <if test="YHKJY != null and YHKJY !='' "> YHKJY = #{YHKJY},</if> + <if test="BillGUID != null and BillGUID !='' "> BillGUID = #{BillGUID},</if> + <if test="GZDW != null and GZDW !='' "> GZDW = #{GZDW}</if> + </trim> + where BillGUID = #{BillGUID} + </update> + + <!-- 删除 --> + <delete id="entity_delete" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity" > + delete from GZ_LWFNR where MXDH = #{MXDH} and gsdm = #{GSDM} and FFND = #{FFDN} + </delete> +</mapper> diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfSdsEntity.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfSdsEntity.java new file mode 100644 index 00000000..c62a079d --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfSdsEntity.java @@ -0,0 +1,138 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.entity; +import java.util.Date; +import org.springframework.format.annotation.DateTimeFormat; +import com.fasterxml.jackson.annotation.JsonFormat; +import java.math.BigDecimal; +import com.hzya.frame.web.entity.BaseEntity; +/** + * @description: 劳务费税率 + * @tableName: gz_lwfsds + * @entityName: GzLwfSdsEntity + * @author: gjh + * @history: 1.0 + */ +public class GzLwfSdsEntity extends BaseEntity { + +/** 无备注 */ +private String gsdm; +/** 无备注 */ +private Integer jc; +/** 无备注 */ +private Integer xx; +/** 无备注 */ +private Integer sx; +/** 无备注 */ +private Integer js; +/** 无备注 */ +private Integer fjf; +/** 无备注 */ +private String sl; +/** 无备注 */ +private String kcs; +/** 无备注 */ +private Integer SLBDM; +/** 无备注 */ +private String SLBMC; + + +/** 无备注 */ +public void setGsdm(String gsdm) { + this.gsdm = gsdm; + } +/** 无备注 */ +public String getGsdm() { + return gsdm; + } + + +/** 无备注 */ +public void setJc(Integer jc) { + this.jc = jc; + } +/** 无备注 */ +public Integer getJc() { + return jc; + } + + +/** 无备注 */ +public void setXx(Integer xx) { + this.xx = xx; + } +/** 无备注 */ +public Integer getXx() { + return xx; + } + + +/** 无备注 */ +public void setSx(Integer sx) { + this.sx = sx; + } +/** 无备注 */ +public Integer getSx() { + return sx; + } + + +/** 无备注 */ +public void setJs(Integer js) { + this.js = js; + } +/** 无备注 */ +public Integer getJs() { + return js; + } + + +/** 无备注 */ +public void setFjf(Integer fjf) { + this.fjf = fjf; + } +/** 无备注 */ +public Integer getFjf() { + return fjf; + } + + +/** 无备注 */ +public void setSl(String sl) { + this.sl = sl; + } +/** 无备注 */ +public String getSl() { + return sl; + } + + +/** 无备注 */ +public void setKcs(String kcs) { + this.kcs = kcs; + } +/** 无备注 */ +public String getKcs() { + return kcs; + } + + +/** 无备注 */ +public void setSLBDM(Integer SLBDM) { + this.SLBDM = SLBDM; + } +/** 无备注 */ +public Integer getSLBDM() { + return SLBDM; + } + + +/** 无备注 */ +public void setSLBMC(String SLBMC) { + this.SLBMC = SLBMC; + } +/** 无备注 */ +public String getSLBMC() { + return SLBMC; + } + + + } diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfSdsEntity.xml b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfSdsEntity.xml new file mode 100644 index 00000000..8f2bb87b --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/entity/GzLwfSdsEntity.xml @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> +<mapper namespace="com.hzya.frame.grpU8.nxproof.gzlwfml.dao.impl.GzLwfSdsDaoImpl"> + <resultMap id="get-GzLwfSdsEntity-result" type="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity"> + <!--无备注 --> + <result property="gsdm" column="gsdm" /> + <!--无备注 --> + <result property="jc" column="jc" /> + <!--无备注 --> + <result property="xx" column="xx" /> + <!--无备注 --> + <result property="sx" column="sx" /> + <!--无备注 --> + <result property="js" column="js" /> + <!--无备注 --> + <result property="fjf" column="fjf" /> + <!--无备注 --> + <result property="sl" column="sl" /> + <!--无备注 --> + <result property="kcs" column="kcs" /> + <!--无备注 --> + <result property="SLBDM" column="SLBDM" /> + <!--无备注 --> + <result property="SLBMC" column="SLBMC" /> + </resultMap> + + <sql id="GzLwfSdsEntity_Base_Column_List"> + gsdm, + jc, + xx, + sx, + js, + fjf, + sl, + kcs, + SLBDM, + SLBMC + </sql> + + + + <!-- 查询 采用==查询 --> + <select id="entity_list_base" resultMap="get-GzLwfSdsEntity-result" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity"> + select + <include refid="GzLwfSdsEntity_Base_Column_List" /> + from gz_lwfsds + <trim prefix="where" prefixOverrides="and"> + <if test="gsdm != null and gsdm !='' ">gsdm = #{gsdm} </if> + <if test="jc != null and jc !='' "> and jc = #{jc}</if> + <if test="xx != null "> and xx = #{xx}</if> + <if test="sx != null "> and sx = #{sx}</if> + <if test="js != null "> and js = #{js}</if> + <if test="fjf != null "> and fjf = #{fjf}</if> + <if test="sl != null and sl !='' "> and sl = #{sl}</if> + <if test="kcs != null and kcs !='' "> and kcs = #{kcs}</if> + <if test="SLBDM != null and SLBDM !='' "> and SLBDM = #{SLBDM}</if> + <if test="SLBMC != null and SLBMC !='' "> and SLBMC = #{SLBMC}</if> + + </trim> + + </select> + + <!-- 新增 --> + <insert id="entity_insert" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity"> + insert into gz_lwfsds( + <trim suffix="" suffixOverrides=","> + <if test="gsdm != null and gsdm !='' "> gsdm, </if> + <if test="jc != null and jc !='' "> jc, </if> + <if test="xx != null ">xx,</if> + <if test="sx != null ">sx,</if> + <if test="js != null ">js,</if> + <if test="fjf != null ">fjf,</if> + <if test="sl != null and sl !='' "> sl, </if> + <if test="kcs != null and kcs !='' "> kcs, </if> + <if test="SLBDM != null and SLBDM !='' "> SLBDM, </if> + <if test="SLBMC != null and SLBMC !='' "> SLBMC</if> + </trim> + )values + ( + <trim suffix="" suffixOverrides=","> + <if test="gsdm != null and gsdm !='' "> #{gsdm}, </if> + <if test="jc != null and jc !='' "> #{jc}, </if> + <if test="xx != null ">#{xx},</if> + <if test="sx != null ">#{sx},</if> + <if test="js != null ">#{js},</if> + <if test="fjf != null ">#{fjf},</if> + <if test="sl != null and sl !='' "> #{sl}, </if> + <if test="kcs != null and kcs !='' "> #{kcs}, </if> + <if test="SLBDM != null and SLBDM !='' "> #{SLBDM}, </if> + <if test="SLBMC != null and SLBMC !='' "> #{SLBMC}</if> + </trim> + ) + </insert> + + <!-- 修改 --> + <update id="entity_update" parameterType="com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity"> + update gz_lwfsds set + <trim suffix="" suffixOverrides=","> + <if test="gsdm != null and gsdm !='' "> gsdm = #{gsdm},</if> + <if test="jc != null and jc !='' "> jc = #{jc},</if> + <if test="xx != null ">xx = #{xx},</if> + <if test="sx != null ">sx = #{sx},</if> + <if test="js != null ">js = #{js},</if> + <if test="fjf != null ">fjf = #{fjf},</if> + <if test="sl != null and sl !='' "> sl = #{sl},</if> + <if test="kcs != null and kcs !='' "> kcs = #{kcs},</if> + <if test="SLBDM != null and SLBDM !='' "> SLBDM = #{SLBDM},</if> + <if test="SLBMC != null and SLBMC !='' "> SLBMC = #{SLBMC},</if> + <if test="modify_time != null "> modify_time =#{modify_time} </if> + <if test="modify_time == null "> modify_time = now()</if> + </trim> + where id = #{id} + </update> + +</mapper> diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfMlService.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfMlService.java new file mode 100644 index 00000000..298fb9a4 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfMlService.java @@ -0,0 +1,40 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.service; +import com.alibaba.fastjson.JSONObject; +import com.baomidou.dynamic.datasource.annotation.DSTransactional; +import com.hzya.frame.basedao.service.IBaseService; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity; +import com.hzya.frame.web.entity.JsonResultEntity; + +/** + * @description: 劳务费目录表 service + * @tableName: GZ_LWFML + * @entityName: GzLwfMlEntity + * @author: gjh + * @history: 1.0 + */ +public interface IGzLwfMlService extends IBaseService<GzLwfMlEntity,String> { + + /** + * 劳务费处理 + * @param jsonObject + * @return + */ + @DSTransactional() + JsonResultEntity saveLwf(JSONObject jsonObject); + + + /** + * 劳务费处理 + * @param jsonObject + * @return + */ + @DSTransactional() + JsonResultEntity updateLwf(JSONObject jsonObject); + + /** + * 查询最大id + * @param entity + * @return + */ + String queryMaxMxdh(GzLwfMlEntity entity); +} \ No newline at end of file diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfNrService.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfNrService.java new file mode 100644 index 00000000..7a4f1171 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfNrService.java @@ -0,0 +1,26 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.service; +import com.hzya.frame.basedao.service.IBaseService; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity; +/** + * @description: 劳务费内容 service + * @tableName: GZ_LWFNR + * @entityName: GzLwfNrEntity + * @author: gjh + * @history: 1.0 + */ +public interface IGzLwfNrService extends IBaseService<GzLwfNrEntity,String> { + + /** + * 保存劳务费内容 + * @param entity + * @return + */ + GzLwfNrEntity saveLwfNr(GzLwfNrEntity entity); + + /** + * 删除劳务费明细 + * @param entity + * @return + */ + int deleteLwfNr(GzLwfNrEntity entity); +} \ No newline at end of file diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfSdsService.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfSdsService.java new file mode 100644 index 00000000..baf5e156 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/IGzLwfSdsService.java @@ -0,0 +1,13 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.service; +import com.hzya.frame.basedao.service.IBaseService; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity; +/** + * @description: 劳务费税率 service + * @tableName: gz_lwfsds + * @entityName: GzLwfSdsEntity + * @author: gjh + * @history: 1.0 + */ +public interface IGzLwfSdsService extends IBaseService<GzLwfSdsEntity,String> { + +} \ No newline at end of file diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfMlServiceImpl.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfMlServiceImpl.java new file mode 100644 index 00000000..fe6f780f --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfMlServiceImpl.java @@ -0,0 +1,132 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.service.impl; +import cn.hutool.core.lang.Assert; +import com.alibaba.fastjson.JSONObject; +import com.baomidou.dynamic.datasource.annotation.DS; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity; +import com.hzya.frame.grpU8.nxproof.gzlwfml.service.IGzLwfNrService; +import com.hzya.frame.uuid.UUIDUtils; +import com.hzya.frame.web.entity.BaseResult; +import com.hzya.frame.web.entity.JsonResultEntity; +import com.hzya.frame.web.exception.BaseSystemException; +import org.apache.commons.collections.CollectionUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfMlEntity; +import com.hzya.frame.grpU8.nxproof.gzlwfml.service.IGzLwfMlService; +import com.hzya.frame.grpU8.nxproof.gzlwfml.dao.IGzLwfMlDao; +import com.hzya.frame.basedao.service.impl.BaseService; + +import java.util.List; + +/** + * @description: 劳务费目录表 service + * @tableName: GZ_LWFML + * @entityName: GzLwfMlEntity + * @author: gjh + * @history: 1.0 + */ +@Service(value="GZ_LWFMLService") +public class GzLwfMlServiceImpl extends BaseService< GzLwfMlEntity,String> implements IGzLwfMlService{ + + protected IGzLwfMlDao gzlwfmlDao; + @Autowired + private IGzLwfNrService gzLwfNrService; + @Autowired + public void setGzLwfMlDao(IGzLwfMlDao dao) { + this.gzlwfmlDao = dao; + this.dao=dao; + } + + /** + * 查询最大id + * + * @param entity + * @return + */ + @DS("#entity.dataSourceCode") + @Override + public String queryMaxMxdh(GzLwfMlEntity entity) { + Assert.notNull(entity,"参数不能为空"); + Assert.notEmpty(entity.getGSDM(),"gsdm参数不能为空"); + Assert.notEmpty(entity.getFFND(),"ffdn参数不能为空"); + List<GzLwfMlEntity> lwfList = gzlwfmlDao.queryList(entity, "entity_list_maxMlid"); + if (CollectionUtils.isNotEmpty(lwfList)){ + logger.info("查询到的最大mxdh:{}",lwfList.get(0).getMXDH()); + return lwfList.get(0).getMXDH(); + } + return null; + } + + /** + * 劳务费保存 + * + * @param jsonObject + * @return + */ + @Override + public JsonResultEntity saveLwf(JSONObject jsonObject) { + GzLwfMlEntity lwfMlEntity = getData("jsonStr", jsonObject, GzLwfMlEntity.class); + try { + checkParams(lwfMlEntity,"save"); + }catch (Exception e){ + BaseResult.getFailureMessageEntity(e.getMessage()); + } + //处理最大mxdh + lwfMlEntity.setMXDH(queryMaxMxdh(lwfMlEntity)); + GzLwfMlEntity lwf = gzlwfmlDao.save(lwfMlEntity); + //保存子表 + for (GzLwfNrEntity gzLwfNrEntity : lwfMlEntity.getLwfnrList()) { + gzLwfNrEntity.setMXDH(lwfMlEntity.getMXDH()); + gzLwfNrEntity.setBillGUID(UUIDUtils.getUUID()); + gzLwfNrEntity.setDataSourceCode(lwfMlEntity.getDataSourceCode()); + gzLwfNrService.saveLwfNr(gzLwfNrEntity); + } + return BaseResult.getSuccessMessageEntity("保存单据成功"); + } + + /** + * 劳务费处理 + * + * @param jsonObject + * @return + */ + @Override + public JsonResultEntity updateLwf(JSONObject jsonObject) { + GzLwfMlEntity lwfMlEntity = getData("jsonStr", jsonObject, GzLwfMlEntity.class); + try { + checkParams(lwfMlEntity,"update"); + }catch (Exception e){ + BaseResult.getFailureMessageEntity(e.getMessage()); + } + gzlwfmlDao.update(lwfMlEntity); + //处理子表数据 , 先删掉,重新保存 + GzLwfNrEntity gzLwfNrEntity = new GzLwfNrEntity(); + gzLwfNrEntity.setDataSourceCode(lwfMlEntity.getDataSourceCode()); + gzLwfNrEntity.setMXDH(lwfMlEntity.getMXDH()); + gzLwfNrEntity.setGSDM(lwfMlEntity.getGSDM()); + gzLwfNrEntity.setFFND(lwfMlEntity.getFFND()); + int rows = gzLwfNrService.deleteLwfNr(gzLwfNrEntity); + logger.info("根据mxdh{},gsdm:{},ffnd:{},删除子表,受影响行数为:{}",lwfMlEntity.getMXDH(),lwfMlEntity.getGSDM(),lwfMlEntity.getFFND(),rows); + return BaseResult.getSuccessMessageEntity("修改单据成功"); + } + + private void checkParams(GzLwfMlEntity entity, String type){ + Assert.notNull(entity,"参数不能为空"); + Assert.notEmpty(entity.getDataSourceCode(),"数据源编码不能为空"); + Assert.notEmpty(entity.getLclb(),"流程类别不能为空"); + Assert.notEmpty(entity.getDJBH(),"单据编号不能为空"); + if ("save".equals(type)){ + Assert.notEmpty(entity.getGSDM(),"公司代码不能为空"); + Assert.notEmpty(entity.getFFND(),"发放年度不能为空"); + Assert.notEmpty(entity.getFFND(),"发放年度不能为空"); + if (CollectionUtils.isEmpty(entity.getLwfnrList())){ + throw new BaseSystemException("劳务费明细列表不能为空"); + } + if (CollectionUtils.isEmpty(entity.getLwfsdsList())){ + throw new BaseSystemException("劳务费税率列表不能为空"); + } + }else if ("update".equals(type)){ + Assert.notEmpty(entity.getMXDH(),"mxdh不能为空"); + } + } +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfNrServiceImpl.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfNrServiceImpl.java new file mode 100644 index 00000000..7b792791 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfNrServiceImpl.java @@ -0,0 +1,61 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.service.impl; +import cn.hutool.core.lang.Assert; +import com.baomidou.dynamic.datasource.annotation.DS; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfNrEntity; +import com.hzya.frame.grpU8.nxproof.gzlwfml.service.IGzLwfNrService; +import com.hzya.frame.grpU8.nxproof.gzlwfml.dao.IGzLwfNrDao; +import com.hzya.frame.basedao.service.impl.BaseService; +/** + * @description: 劳务费内容 service + * @tableName: GZ_LWFNR + * @entityName: GzLwfNrEntity + * @author: gjh + * @history: 1.0 + */ +@Service(value="GZ_LWFNRService") +public class GzLwfNrServiceImpl extends BaseService< GzLwfNrEntity,String> implements IGzLwfNrService{ + + protected IGzLwfNrDao gzlwfnrDao; + + @Autowired + public void setGzLwfNrDao(IGzLwfNrDao dao) { + this.gzlwfnrDao = dao; + this.dao=dao; + } + + /** + * 保存劳务费内容 + * + * @param entity + * @return + */ + @DS("#entity.dataSourceCode") + @Override + public GzLwfNrEntity saveLwfNr(GzLwfNrEntity entity) { + GzLwfNrEntity lwfNr = gzlwfnrDao.save(entity); + return lwfNr; + } + + /** + * 删除劳务费明细 + * + * @param entity + * @return + */ + @Override + public int deleteLwfNr(GzLwfNrEntity entity) { + int rows = gzlwfnrDao.delete("", entity); + return rows; + } + private void checkParam(GzLwfNrEntity entity,String type){ + Assert.notNull(entity,"参数不能为空"); + if ("save".equals(type)){ + Assert.notNull(entity.getBillGUID(),"BillGUID不能为空"); + Assert.notNull(entity.getMXDH(),"MXDH不能为空"); + }else if("delete".equals(type)){ + Assert.notNull(entity.getMXDH(),"MXDH不能为空"); + } + } +} diff --git a/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfSdsServiceImpl.java b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfSdsServiceImpl.java new file mode 100644 index 00000000..88672f74 --- /dev/null +++ b/fw-grpU8/src/main/java/com/hzya/frame/grpU8/nxproof/gzlwfml/service/impl/GzLwfSdsServiceImpl.java @@ -0,0 +1,25 @@ +package com.hzya.frame.grpU8.nxproof.gzlwfml.service.impl; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import com.hzya.frame.grpU8.nxproof.gzlwfml.entity.GzLwfSdsEntity; +import com.hzya.frame.grpU8.nxproof.gzlwfml.service.IGzLwfSdsService; +import com.hzya.frame.grpU8.nxproof.gzlwfml.dao.IGzLwfSdsDao; +import com.hzya.frame.basedao.service.impl.BaseService; +/** + * @description: 劳务费税率 service + * @tableName: gz_lwfsds + * @entityName: GzLwfSdsEntity + * @author: gjh + * @history: 1.0 + */ +@Service(value="gz_lwfsdsService") +public class GzLwfSdsServiceImpl extends BaseService< GzLwfSdsEntity,String> implements IGzLwfSdsService{ + + protected IGzLwfSdsDao gzlwfsdsDao; + + @Autowired + public void setGzLwfSdsDao(IGzLwfSdsDao dao) { + this.gzlwfsdsDao = dao; + this.dao=dao; + } +}