diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/controller/BdController.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/controller/BdController.java index 09edf404..b401ee36 100644 --- a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/controller/BdController.java +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/controller/BdController.java @@ -1,9 +1,14 @@ package com.hzya.frame.voucher.ae.comf.bd.controller; +import cn.hutool.core.lang.Assert; +import com.hzya.frame.voucher.ae.comf.bd.dao.IAeConfBdAccsubjDao; import com.hzya.frame.voucher.ae.comf.bd.dao.IAeConfBdBdinfoDao; import com.hzya.frame.voucher.ae.comf.bd.dao.IAeConfBdOrgBookVODao; +import com.hzya.frame.voucher.ae.comf.bd.entity.AccsubjTreeNode; +import com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity; import com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdBdinfoEntity; import com.hzya.frame.voucher.ae.comf.bd.entity.OrgBookVO; +import com.hzya.frame.voucher.ae.comf.bd.utils.AccsubjTreeBuilder; import com.hzya.frame.web.action.DefaultController; import com.hzya.frame.web.entity.JsonResultEntity; import org.springframework.beans.factory.annotation.Autowired; @@ -25,6 +30,8 @@ public class BdController extends DefaultController { private IAeConfBdOrgBookVODao aeConfBdOrgBookVODao; @Autowired private IAeConfBdBdinfoDao aeConfBdBdinfoDao; + @Autowired + private IAeConfBdAccsubjDao aeConfBdAccsubjDao; /** * 查询所有公司账簿信息 @@ -54,4 +61,20 @@ public class BdController extends DefaultController { } } + /** + * 查询科目表根据账簿id + */ + @RequestMapping(value = "/queryAccSubjByOrgBookId", method = RequestMethod.POST) + public JsonResultEntity queryAccSubjByOrgBookId(@RequestBody AeConfBdAccsubjEntity entity) { + try { + Assert.notNull(entity.getPkGlorgbook(),"查询科目表时,账簿id不允许为空"); + List all = aeConfBdAccsubjDao.query(entity); + List tree = AccsubjTreeBuilder.buildTree(all); + return getSuccessMessageEntity("请求成功", tree); + } catch (Exception e) { + e.printStackTrace(); + return getFailureMessageEntity("请求失败", e.getMessage()); + } + } + } diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/dao/IAeConfBdAccsubjDao.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/dao/IAeConfBdAccsubjDao.java new file mode 100644 index 00000000..86556428 --- /dev/null +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/dao/IAeConfBdAccsubjDao.java @@ -0,0 +1,15 @@ +package com.hzya.frame.voucher.ae.comf.bd.dao; + +import com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity; +import com.hzya.frame.basedao.dao.IBaseDao; + +/** + * 会计事项(accounting_event)-配置-数据配置-科目表(ae_conf_bd_accsubj: table)表数据库访问层 + * + * @author zydd + * @since 2025-06-05 17:20:09 + */ +public interface IAeConfBdAccsubjDao extends IBaseDao { + +} + diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/dao/impl/AeConfBdAccsubjDaoImpl.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/dao/impl/AeConfBdAccsubjDaoImpl.java new file mode 100644 index 00000000..94de5cde --- /dev/null +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/dao/impl/AeConfBdAccsubjDaoImpl.java @@ -0,0 +1,17 @@ +package com.hzya.frame.voucher.ae.comf.bd.dao.impl; + +import com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity; +import com.hzya.frame.voucher.ae.comf.bd.dao.IAeConfBdAccsubjDao; +import org.springframework.stereotype.Repository; +import com.hzya.frame.basedao.dao.MybatisGenericDao; +/** + * 会计事项(accounting_event)-配置-数据配置-科目表(AeConfBdAccsubj)表数据库访问层 + * + * @author zydd + * @since 2025-06-05 17:20:09 + */ +@Repository +public class AeConfBdAccsubjDaoImpl extends MybatisGenericDao implements IAeConfBdAccsubjDao{ + +} + diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AccsubjTreeNode.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AccsubjTreeNode.java new file mode 100644 index 00000000..d059cf56 --- /dev/null +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AccsubjTreeNode.java @@ -0,0 +1,16 @@ +package com.hzya.frame.voucher.ae.comf.bd.entity; + +import lombok.Data; + +import java.util.ArrayList; +import java.util.List; + +/** + * Created by zydd on 2025-06-05 17:51 + * 科目表树形结构 + */ +@Data +public class AccsubjTreeNode { + private AeConfBdAccsubjEntity data; // 当前节点的数据 + private List children = new ArrayList<>(); // 子节点列表 +} diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdAccsubjEntity.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdAccsubjEntity.java new file mode 100644 index 00000000..872e946d --- /dev/null +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdAccsubjEntity.java @@ -0,0 +1,108 @@ +package com.hzya.frame.voucher.ae.comf.bd.entity; + +import java.util.Date; + +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.hzya.frame.web.entity.BaseEntity; +import lombok.Data; + +/** + * 会计事项(accounting_event)-配置-数据配置-科目表(AeConfBdAccsubj)实体类 + * + * @author zydd + * @since 2025-06-05 17:20:09 + */ +@Data +public class AeConfBdAccsubjEntity extends BaseEntity { + private String accremove; + private String balanflag; + private Long balanorient; + private String beginperiod; + private String beginyear; + private String bothorient; + private Long cashbankflag; + private Long checkdouble; + private Long checktype; + private String createcorp; + private String createperiod; + private String createyear; + private String ctlsystem; + private String currency; + private String dispname; + private Long dr; + private String endflag; + private String endperiod; + private String endyear; + private String engsubjname; + @JsonIgnore + private String free1; + @JsonIgnore + private String free10; + @JsonIgnore + private String free11; + @JsonIgnore + private String free12; + @JsonIgnore + private String free13; + @JsonIgnore + private String free14; + @JsonIgnore + private String free15; + @JsonIgnore + private String free16; + @JsonIgnore + private String free17; + @JsonIgnore + private String free18; + @JsonIgnore + private String free19; + @JsonIgnore + private String free2; + @JsonIgnore + private String free20; + @JsonIgnore + private String free3; + @JsonIgnore + private String free4; + @JsonIgnore + private String free5; + @JsonIgnore + private String free6; + @JsonIgnore + private String free7; + @JsonIgnore + private String free8; + @JsonIgnore + private String free9; + private String incurflag; + private String innerinfonull; + private String innersubj; + private String outflag; + private String pkAccsubj; + private String pkCorp; + private String pkCreateGlorgbook; + private String pkGlorgbook; + private String pkGrpaccsubj; + private String pkSubjscheme; + private String pkSubjtype; + @JsonIgnore + private String property1; + @JsonIgnore + private String property2; + @JsonIgnore + private String property3; + @JsonIgnore + private String property4; + @JsonIgnore + private String property5; + private String remcode; + private String sealflag; + private String stoped; + private String subjcode; + private Long subjlev; + private String subjname; + private Long sumprintLevel; + private Date ts; + private String unit; +} + diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdAccsubjEntity.xml b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdAccsubjEntity.xml new file mode 100644 index 00000000..8ca1a386 --- /dev/null +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdAccsubjEntity.xml @@ -0,0 +1,603 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ACCREMOVE + ,BALANFLAG + ,BALANORIENT + ,BEGINPERIOD + ,BEGINYEAR + ,BOTHORIENT + ,CASHBANKFLAG + ,CHECKDOUBLE + ,CHECKTYPE + ,CREATECORP + ,CREATEPERIOD + ,CREATEYEAR + ,CTLSYSTEM + ,CURRENCY + ,DISPNAME + ,DR + ,ENDFLAG + ,ENDPERIOD + ,ENDYEAR + ,ENGSUBJNAME + ,FREE1 + ,FREE10 + ,FREE11 + ,FREE12 + ,FREE13 + ,FREE14 + ,FREE15 + ,FREE16 + ,FREE17 + ,FREE18 + ,FREE19 + ,FREE2 + ,FREE20 + ,FREE3 + ,FREE4 + ,FREE5 + ,FREE6 + ,FREE7 + ,FREE8 + ,FREE9 + ,INCURFLAG + ,INNERINFONULL + ,INNERSUBJ + ,OUTFLAG + ,PK_ACCSUBJ + ,PK_CORP + ,PK_CREATE_GLORGBOOK + ,PK_GLORGBOOK + ,PK_GRPACCSUBJ + ,PK_SUBJSCHEME + ,PK_SUBJTYPE + ,PROPERTY1 + ,PROPERTY2 + ,PROPERTY3 + ,PROPERTY4 + ,PROPERTY5 + ,REMCODE + ,SEALFLAG + ,STOPED + ,SUBJCODE + ,SUBJLEV + ,SUBJNAME + ,SUMPRINT_LEVEL + ,TS + ,UNIT + + + + + + + + + + + + + + + + insert into ae_conf_bd_accsubj( + + ACCREMOVE , + BALANFLAG , + BALANORIENT , + BEGINPERIOD , + BEGINYEAR , + BOTHORIENT , + CASHBANKFLAG , + CHECKDOUBLE , + CHECKTYPE , + CREATECORP , + CREATEPERIOD , + CREATEYEAR , + CTLSYSTEM , + CURRENCY , + DISPNAME , + DR , + ENDFLAG , + ENDPERIOD , + ENDYEAR , + ENGSUBJNAME , + FREE1 , + FREE10 , + FREE11 , + FREE12 , + FREE13 , + FREE14 , + FREE15 , + FREE16 , + FREE17 , + FREE18 , + FREE19 , + FREE2 , + FREE20 , + FREE3 , + FREE4 , + FREE5 , + FREE6 , + FREE7 , + FREE8 , + FREE9 , + INCURFLAG , + INNERINFONULL , + INNERSUBJ , + OUTFLAG , + PK_ACCSUBJ , + PK_CORP , + PK_CREATE_GLORGBOOK , + PK_GLORGBOOK , + PK_GRPACCSUBJ , + PK_SUBJSCHEME , + PK_SUBJTYPE , + PROPERTY1 , + PROPERTY2 , + PROPERTY3 , + PROPERTY4 , + PROPERTY5 , + REMCODE , + SEALFLAG , + STOPED , + SUBJCODE , + SUBJLEV , + SUBJNAME , + SUMPRINT_LEVEL , + TS , + UNIT , + + )values( + + #{accremove} , + #{balanflag} , + #{balanorient} , + #{beginperiod} , + #{beginyear} , + #{bothorient} , + #{cashbankflag} , + #{checkdouble} , + #{checktype} , + #{createcorp} , + #{createperiod} , + #{createyear} , + #{ctlsystem} , + #{currency} , + #{dispname} , + #{dr} , + #{endflag} , + #{endperiod} , + #{endyear} , + #{engsubjname} , + #{free1} , + #{free10} , + #{free11} , + #{free12} , + #{free13} , + #{free14} , + #{free15} , + #{free16} , + #{free17} , + #{free18} , + #{free19} , + #{free2} , + #{free20} , + #{free3} , + #{free4} , + #{free5} , + #{free6} , + #{free7} , + #{free8} , + #{free9} , + #{incurflag} , + #{innerinfonull} , + #{innersubj} , + #{outflag} , + #{pkAccsubj} , + #{pkCorp} , + #{pkCreateGlorgbook} , + #{pkGlorgbook} , + #{pkGrpaccsubj} , + #{pkSubjscheme} , + #{pkSubjtype} , + #{property1} , + #{property2} , + #{property3} , + #{property4} , + #{property5} , + #{remcode} , + #{sealflag} , + #{stoped} , + #{subjcode} , + #{subjlev} , + #{subjname} , + #{sumprintLevel} , + #{ts} , + #{unit} , + + ) + + + + diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdBdinfoEntity.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdBdinfoEntity.java index 2515da97..078064d5 100644 --- a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdBdinfoEntity.java +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/entity/AeConfBdBdinfoEntity.java @@ -2,7 +2,9 @@ package com.hzya.frame.voucher.ae.comf.bd.entity; import java.util.Date; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.hzya.frame.web.entity.BaseEntity; +import lombok.Data; /** * 会计事项(accounting_event)-配置-数据配置-基础数据资源表(AeConfBdBdinfo)实体类 @@ -10,297 +12,74 @@ import com.hzya.frame.web.entity.BaseEntity; * @author zydd * @since 2025-06-05 10:33:48 */ +@Data public class AeConfBdBdinfoEntity extends BaseEntity { + @JsonIgnore private String accessclass; + @JsonIgnore private String basedoctablename; + @JsonIgnore private String basedoctablepkname; + @JsonIgnore private String bdcode; + @JsonIgnore private String bdname; + @JsonIgnore private Long bdtype; + @JsonIgnore private String budgetconst; + @JsonIgnore private String classcheme; + @JsonIgnore private String codefieldname; + @JsonIgnore private String coderulegetter; + @JsonIgnore private String corpfieldname; + @JsonIgnore private Long dr; + @JsonIgnore private String fatherfieldname; + @JsonIgnore private String funccode; + @JsonIgnore private String isdef; + @JsonIgnore private String isincludegroupdata; + @JsonIgnore private String isparaLevscheme; + @JsonIgnore private String isselfref; + @JsonIgnore private String namefieldname; + @JsonIgnore private String orgbookfieldname; + @JsonIgnore private String orgtypecode; + @JsonIgnore private String pkBdinfo; + @JsonIgnore private String pkCorp; + @JsonIgnore private String pkDefdef; + @JsonIgnore private String refnodename; + @JsonIgnore private String refsystem; + @JsonIgnore private String reserved1; + @JsonIgnore private String reserved2; + @JsonIgnore private String selfrefclass; + @JsonIgnore private String tablename; + @JsonIgnore private String tablepkname; + @JsonIgnore private Date ts; - public String getAccessclass() { - return accessclass; - } - - public void setAccessclass(String accessclass) { - this.accessclass = accessclass; - } - - public String getBasedoctablename() { - return basedoctablename; - } - - public void setBasedoctablename(String basedoctablename) { - this.basedoctablename = basedoctablename; - } - - public String getBasedoctablepkname() { - return basedoctablepkname; - } - - public void setBasedoctablepkname(String basedoctablepkname) { - this.basedoctablepkname = basedoctablepkname; - } - - public String getBdcode() { - return bdcode; - } - - public void setBdcode(String bdcode) { - this.bdcode = bdcode; - } - - public String getBdname() { - return bdname; - } - - public void setBdname(String bdname) { - this.bdname = bdname; - } - - public Long getBdtype() { - return bdtype; - } - - public void setBdtype(Long bdtype) { - this.bdtype = bdtype; - } - - public String getBudgetconst() { - return budgetconst; - } - - public void setBudgetconst(String budgetconst) { - this.budgetconst = budgetconst; - } - - public String getClasscheme() { - return classcheme; - } - - public void setClasscheme(String classcheme) { - this.classcheme = classcheme; - } - - public String getCodefieldname() { - return codefieldname; - } - - public void setCodefieldname(String codefieldname) { - this.codefieldname = codefieldname; - } - - public String getCoderulegetter() { - return coderulegetter; - } - - public void setCoderulegetter(String coderulegetter) { - this.coderulegetter = coderulegetter; - } - - public String getCorpfieldname() { - return corpfieldname; - } - - public void setCorpfieldname(String corpfieldname) { - this.corpfieldname = corpfieldname; - } - - public Long getDr() { - return dr; - } - - public void setDr(Long dr) { - this.dr = dr; - } - - public String getFatherfieldname() { - return fatherfieldname; - } - - public void setFatherfieldname(String fatherfieldname) { - this.fatherfieldname = fatherfieldname; - } - - public String getFunccode() { - return funccode; - } - - public void setFunccode(String funccode) { - this.funccode = funccode; - } - - public String getIsdef() { - return isdef; - } - - public void setIsdef(String isdef) { - this.isdef = isdef; - } - - public String getIsincludegroupdata() { - return isincludegroupdata; - } - - public void setIsincludegroupdata(String isincludegroupdata) { - this.isincludegroupdata = isincludegroupdata; - } - - public String getIsparaLevscheme() { - return isparaLevscheme; - } - - public void setIsparaLevscheme(String isparaLevscheme) { - this.isparaLevscheme = isparaLevscheme; - } - - public String getIsselfref() { - return isselfref; - } - - public void setIsselfref(String isselfref) { - this.isselfref = isselfref; - } - - public String getNamefieldname() { - return namefieldname; - } - - public void setNamefieldname(String namefieldname) { - this.namefieldname = namefieldname; - } - - public String getOrgbookfieldname() { - return orgbookfieldname; - } - - public void setOrgbookfieldname(String orgbookfieldname) { - this.orgbookfieldname = orgbookfieldname; - } - - public String getOrgtypecode() { - return orgtypecode; - } - - public void setOrgtypecode(String orgtypecode) { - this.orgtypecode = orgtypecode; - } - - public String getPkBdinfo() { - return pkBdinfo; - } - - public void setPkBdinfo(String pkBdinfo) { - this.pkBdinfo = pkBdinfo; - } - - public String getPkCorp() { - return pkCorp; - } - - public void setPkCorp(String pkCorp) { - this.pkCorp = pkCorp; - } - - public String getPkDefdef() { - return pkDefdef; - } - - public void setPkDefdef(String pkDefdef) { - this.pkDefdef = pkDefdef; - } - - public String getRefnodename() { - return refnodename; - } - - public void setRefnodename(String refnodename) { - this.refnodename = refnodename; - } - - public String getRefsystem() { - return refsystem; - } - - public void setRefsystem(String refsystem) { - this.refsystem = refsystem; - } - - public String getReserved1() { - return reserved1; - } - - public void setReserved1(String reserved1) { - this.reserved1 = reserved1; - } - - public String getReserved2() { - return reserved2; - } - - public void setReserved2(String reserved2) { - this.reserved2 = reserved2; - } - - public String getSelfrefclass() { - return selfrefclass; - } - - public void setSelfrefclass(String selfrefclass) { - this.selfrefclass = selfrefclass; - } - - public String getTablename() { - return tablename; - } - - public void setTablename(String tablename) { - this.tablename = tablename; - } - - public String getTablepkname() { - return tablepkname; - } - - public void setTablepkname(String tablepkname) { - this.tablepkname = tablepkname; - } - - public Date getTs() { - return ts; - } - - public void setTs(Date ts) { - this.ts = ts; - } - } diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/utils/AccsubjTreeBuilder.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/utils/AccsubjTreeBuilder.java new file mode 100644 index 00000000..0a598ad9 --- /dev/null +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/bd/utils/AccsubjTreeBuilder.java @@ -0,0 +1,67 @@ +package com.hzya.frame.voucher.ae.comf.bd.utils; + +import com.hzya.frame.voucher.ae.comf.bd.entity.AccsubjTreeNode; +import com.hzya.frame.voucher.ae.comf.bd.entity.AeConfBdAccsubjEntity; + +import java.util.ArrayList; +import java.util.List; + +/** + * Created by zydd on 2025-06-05 17:52 + */ +public class AccsubjTreeBuilder { + + public static List buildTree(List list) { + List rootNodes = new ArrayList<>(); + int index = 0; + + while (index < list.size()) { + AeConfBdAccsubjEntity current = list.get(index); + + if (current.getSubjlev() == 1) { + AccsubjTreeNode node = new AccsubjTreeNode(); + node.setData(current); + index++; + + // 构建该一级节点下的子树 + node.setChildren(buildChildren(list, index, 1)); + rootNodes.add(node); + } else { + // 如果第一个不是一级节点,跳过 + index++; + } + } + + return rootNodes; + } + + // 递归构建子节点 + private static List buildChildren(List list, int startIndex, int parentLevel) { + List children = new ArrayList<>(); + int index = startIndex; + + while (index < list.size()) { + AeConfBdAccsubjEntity current = list.get(index); + int currentLevel = Math.toIntExact(current.getSubjlev()); + + if (currentLevel == parentLevel + 1) { + // 当前是父级的直接下级 + AccsubjTreeNode node = new AccsubjTreeNode(); + node.setData(current); + index++; + + // 递归构建其子节点 + node.setChildren(buildChildren(list, index, parentLevel + 1)); + children.add(node); + } else if (currentLevel <= parentLevel) { + // 当前等级小于等于父级,说明当前分支结束 + break; + } else { + // 跳过非法层级(如从1跳到3) + index++; + } + } + + return children; + } +} \ No newline at end of file diff --git a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/subject/entity/AeConfSubjectContrastBEntity.java b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/subject/entity/AeConfSubjectContrastBEntity.java index 31d197e7..85d4c1dd 100644 --- a/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/subject/entity/AeConfSubjectContrastBEntity.java +++ b/base-buildpackage/src/main/java/com/hzya/frame/voucher/ae/comf/subject/entity/AeConfSubjectContrastBEntity.java @@ -1,436 +1,162 @@ package com.hzya.frame.voucher.ae.comf.subject.entity; import java.util.Date; + import com.hzya.frame.web.entity.BaseEntity; +import lombok.Data; + /** * 会计事项(accounting_event)-配置-科目对照_子表(AeConfSubjectContrastB)实体类 * * @author zydd * @since 2025-06-05 15:13:29 */ +@Data public class AeConfSubjectContrastBEntity extends BaseEntity { - - /** 对照表id */ - private Long contrastId; - /** 公司pk */ - private String pkCorp; - /** 目标档案值(会计科目) */ - private String desdocvalue; - /** 来源档案表1 */ - private String factortable1; - /** 来源档案表2 */ - private String factortable2; - /** 来源档案表3 */ - private String factortable3; - /** 来源档案表4 */ - private String factortable4; - /** 来源档案表5 */ - private String factortable5; - /** 来源档案表6 */ - private String factortable6; - /** 来源档案表7 */ - private String factortable7; - /** 来源档案表8 */ - private String factortable8; - /** 来源档案表9 */ - private String factortable9; - /** 来源档案主键1 */ - private String factorpk1; - /** 来源档案主键2 */ - private String factorpk2; - /** 来源档案主键3 */ - private String factorpk3; - /** 来源档案主键4 */ - private String factorpk4; - /** 来源档案主键5 */ - private String factorpk5; - /** 来源档案主键6 */ - private String factorpk6; - /** 来源档案主键7 */ - private String factorpk7; - /** 来源档案主键8 */ - private String factorpk8; - /** 来源档案主键9 */ - private String factorpk9; - /** 来源档案值1 */ - private String factorid1; - /** 来源档案值2 */ - private String factorid2; - /** 来源档案值3 */ - private String factorid3; - /** 来源档案值4 */ - private String factorid4; - /** 来源档案值5 */ - private String factorid5; - /** 来源档案值6 */ - private String factorid6; - /** 来源档案值7 */ - private String factorid7; - /** 来源档案值8 */ - private String factorid8; - /** 来源档案值9 */ - private String factorid9; - /** 备注 */ - private String remark; - private String def1; - private String def2; - private String def3; - private String def4; - private String def5; - private String def6; - private String def7; - private String def8; - private String def9; - private String def10; - /** 创建人 */ - private String createUser; - /** 修改人 */ - private String modifyUser; + /** + * 对照表id + */ + private Long contrastId; + /** + * 公司pk + */ + private String pkCorp; + /** + * 目标档案值(会计科目) + */ + private String desdocvalue; + /** + * 来源档案表1 + */ + private String factortable1; + /** + * 来源档案表2 + */ + private String factortable2; + /** + * 来源档案表3 + */ + private String factortable3; + /** + * 来源档案表4 + */ + private String factortable4; + /** + * 来源档案表5 + */ + private String factortable5; + /** + * 来源档案表6 + */ + private String factortable6; + /** + * 来源档案表7 + */ + private String factortable7; + /** + * 来源档案表8 + */ + private String factortable8; + /** + * 来源档案表9 + */ + private String factortable9; + /** + * 来源档案主键1 + */ + private String factorpk1; + /** + * 来源档案主键2 + */ + private String factorpk2; + /** + * 来源档案主键3 + */ + private String factorpk3; + /** + * 来源档案主键4 + */ + private String factorpk4; + /** + * 来源档案主键5 + */ + private String factorpk5; + /** + * 来源档案主键6 + */ + private String factorpk6; + /** + * 来源档案主键7 + */ + private String factorpk7; + /** + * 来源档案主键8 + */ + private String factorpk8; + /** + * 来源档案主键9 + */ + private String factorpk9; + /** + * 来源档案值1 + */ + private String factorid1; + /** + * 来源档案值2 + */ + private String factorid2; + /** + * 来源档案值3 + */ + private String factorid3; + /** + * 来源档案值4 + */ + private String factorid4; + /** + * 来源档案值5 + */ + private String factorid5; + /** + * 来源档案值6 + */ + private String factorid6; + /** + * 来源档案值7 + */ + private String factorid7; + /** + * 来源档案值8 + */ + private String factorid8; + /** + * 来源档案值9 + */ + private String factorid9; + /** + * 备注 + */ + private String remark; + private String def1; + private String def2; + private String def3; + private String def4; + private String def5; + private String def6; + private String def7; + private String def8; + private String def9; + private String def10; + /** + * 创建人 + */ + private String createUser; + /** + * 修改人 + */ + private String modifyUser; - public Long getContrastId() { - return contrastId; - } - - public void setContrastId(Long contrastId) { - this.contrastId = contrastId; - } - - public String getPkCorp() { - return pkCorp; - } - - public void setPkCorp(String pkCorp) { - this.pkCorp = pkCorp; - } - - public String getDesdocvalue() { - return desdocvalue; - } - - public void setDesdocvalue(String desdocvalue) { - this.desdocvalue = desdocvalue; - } - - public String getFactortable1() { - return factortable1; - } - - public void setFactortable1(String factortable1) { - this.factortable1 = factortable1; - } - - public String getFactortable2() { - return factortable2; - } - - public void setFactortable2(String factortable2) { - this.factortable2 = factortable2; - } - - public String getFactortable3() { - return factortable3; - } - - public void setFactortable3(String factortable3) { - this.factortable3 = factortable3; - } - - public String getFactortable4() { - return factortable4; - } - - public void setFactortable4(String factortable4) { - this.factortable4 = factortable4; - } - - public String getFactortable5() { - return factortable5; - } - - public void setFactortable5(String factortable5) { - this.factortable5 = factortable5; - } - - public String getFactortable6() { - return factortable6; - } - - public void setFactortable6(String factortable6) { - this.factortable6 = factortable6; - } - - public String getFactortable7() { - return factortable7; - } - - public void setFactortable7(String factortable7) { - this.factortable7 = factortable7; - } - - public String getFactortable8() { - return factortable8; - } - - public void setFactortable8(String factortable8) { - this.factortable8 = factortable8; - } - - public String getFactortable9() { - return factortable9; - } - - public void setFactortable9(String factortable9) { - this.factortable9 = factortable9; - } - - public String getFactorpk1() { - return factorpk1; - } - - public void setFactorpk1(String factorpk1) { - this.factorpk1 = factorpk1; - } - - public String getFactorpk2() { - return factorpk2; - } - - public void setFactorpk2(String factorpk2) { - this.factorpk2 = factorpk2; - } - - public String getFactorpk3() { - return factorpk3; - } - - public void setFactorpk3(String factorpk3) { - this.factorpk3 = factorpk3; - } - - public String getFactorpk4() { - return factorpk4; - } - - public void setFactorpk4(String factorpk4) { - this.factorpk4 = factorpk4; - } - - public String getFactorpk5() { - return factorpk5; - } - - public void setFactorpk5(String factorpk5) { - this.factorpk5 = factorpk5; - } - - public String getFactorpk6() { - return factorpk6; - } - - public void setFactorpk6(String factorpk6) { - this.factorpk6 = factorpk6; - } - - public String getFactorpk7() { - return factorpk7; - } - - public void setFactorpk7(String factorpk7) { - this.factorpk7 = factorpk7; - } - - public String getFactorpk8() { - return factorpk8; - } - - public void setFactorpk8(String factorpk8) { - this.factorpk8 = factorpk8; - } - - public String getFactorpk9() { - return factorpk9; - } - - public void setFactorpk9(String factorpk9) { - this.factorpk9 = factorpk9; - } - - public String getFactorid1() { - return factorid1; - } - - public void setFactorid1(String factorid1) { - this.factorid1 = factorid1; - } - - public String getFactorid2() { - return factorid2; - } - - public void setFactorid2(String factorid2) { - this.factorid2 = factorid2; - } - - public String getFactorid3() { - return factorid3; - } - - public void setFactorid3(String factorid3) { - this.factorid3 = factorid3; - } - - public String getFactorid4() { - return factorid4; - } - - public void setFactorid4(String factorid4) { - this.factorid4 = factorid4; - } - - public String getFactorid5() { - return factorid5; - } - - public void setFactorid5(String factorid5) { - this.factorid5 = factorid5; - } - - public String getFactorid6() { - return factorid6; - } - - public void setFactorid6(String factorid6) { - this.factorid6 = factorid6; - } - - public String getFactorid7() { - return factorid7; - } - - public void setFactorid7(String factorid7) { - this.factorid7 = factorid7; - } - - public String getFactorid8() { - return factorid8; - } - - public void setFactorid8(String factorid8) { - this.factorid8 = factorid8; - } - - public String getFactorid9() { - return factorid9; - } - - public void setFactorid9(String factorid9) { - this.factorid9 = factorid9; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public String getDef1() { - return def1; - } - - public void setDef1(String def1) { - this.def1 = def1; - } - - public String getDef2() { - return def2; - } - - public void setDef2(String def2) { - this.def2 = def2; - } - - public String getDef3() { - return def3; - } - - public void setDef3(String def3) { - this.def3 = def3; - } - - public String getDef4() { - return def4; - } - - public void setDef4(String def4) { - this.def4 = def4; - } - - public String getDef5() { - return def5; - } - - public void setDef5(String def5) { - this.def5 = def5; - } - - public String getDef6() { - return def6; - } - - public void setDef6(String def6) { - this.def6 = def6; - } - - public String getDef7() { - return def7; - } - - public void setDef7(String def7) { - this.def7 = def7; - } - - public String getDef8() { - return def8; - } - - public void setDef8(String def8) { - this.def8 = def8; - } - - public String getDef9() { - return def9; - } - - public void setDef9(String def9) { - this.def9 = def9; - } - - public String getDef10() { - return def10; - } - - public void setDef10(String def10) { - this.def10 = def10; - } - - public String getCreateUser() { - return createUser; - } - - public void setCreateUser(String createUser) { - this.createUser = createUser; - } - - public String getModifyUser() { - return modifyUser; - } - - public void setModifyUser(String modifyUser) { - this.modifyUser = modifyUser; - } }