Преглед изворни кода

feat:产品要素导入功能开发

chenjianhua пре 2 недеља
родитељ
комит
a4345eeb6f

+ 11 - 0
service-base/src/main/java/com/simuwang/base/mapper/daq/InvestmentManagerMapper.java

@@ -0,0 +1,11 @@
+package com.simuwang.base.mapper.daq;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.simuwang.base.pojo.dos.InvestmentManagerDO;
+import org.apache.ibatis.annotations.Param;
+
+public interface InvestmentManagerMapper extends BaseMapper<InvestmentManagerDO> {
+
+}

+ 12 - 0
service-base/src/main/java/com/simuwang/base/mapper/daq/ProductContractMapper.java

@@ -0,0 +1,12 @@
+package com.simuwang.base.mapper.daq;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.simuwang.base.pojo.dos.ProductContractDO;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
+public interface ProductContractMapper extends BaseMapper<ProductContractDO> {
+
+}

+ 12 - 0
service-base/src/main/java/com/simuwang/base/mapper/daq/ProductDerivativeMapper.java

@@ -0,0 +1,12 @@
+package com.simuwang.base.mapper.daq;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.simuwang.base.pojo.dos.ProductDerivativeDO;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
+public interface ProductDerivativeMapper extends BaseMapper<ProductDerivativeDO> {
+
+}

+ 18 - 0
service-base/src/main/java/com/simuwang/base/mapper/daq/ProductInformationMapper.java

@@ -0,0 +1,18 @@
+package com.simuwang.base.mapper.daq;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.simuwang.base.pojo.dos.ProductInformationDO;
+import com.simuwang.base.pojo.dto.query.ProductPageQuery;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+@Mapper
+public interface ProductInformationMapper extends BaseMapper<ProductInformationDO> {
+
+    List<ProductInformationDO> searchProductList(ProductPageQuery productPageQuery);
+
+    long countProductList(ProductPageQuery productPageQuery);
+
+    ProductInformationDO selectByNameAndRegisterNumber(ProductInformationDO productInformationDO);
+}

+ 325 - 0
service-base/src/main/java/com/simuwang/base/pojo/dos/InvestmentManagerDO.java

@@ -0,0 +1,325 @@
+package com.simuwang.base.pojo.dos;
+
+import java.util.Date;
+
+public class InvestmentManagerDO {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.ID
+     *
+     * @mbggenerated
+     */
+    private Integer id;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.REGISTER_NUMBER
+     *
+     * @mbggenerated
+     */
+    private String registerNumber;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.MANAGER_NAME
+     *
+     * @mbggenerated
+     */
+    private String managerName;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.START_DATE
+     *
+     * @mbggenerated
+     */
+    private String startDate;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.END_DATE
+     *
+     * @mbggenerated
+     */
+    private String endDate;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.ISVALID
+     *
+     * @mbggenerated
+     */
+    private Integer isvalid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.CREATETIME
+     *
+     * @mbggenerated
+     */
+    private Date createtime;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.UPDATETIME
+     *
+     * @mbggenerated
+     */
+    private Date updatetime;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.CREATORID
+     *
+     * @mbggenerated
+     */
+    private Integer creatorid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column INVESTMENT_MANAGER.UPDATERID
+     *
+     * @mbggenerated
+     */
+    private Integer updaterid;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.ID
+     *
+     * @return the value of INVESTMENT_MANAGER.ID
+     *
+     * @mbggenerated
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.ID
+     *
+     * @param id the value for INVESTMENT_MANAGER.ID
+     *
+     * @mbggenerated
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.REGISTER_NUMBER
+     *
+     * @return the value of INVESTMENT_MANAGER.REGISTER_NUMBER
+     *
+     * @mbggenerated
+     */
+    public String getRegisterNumber() {
+        return registerNumber;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.REGISTER_NUMBER
+     *
+     * @param registerNumber the value for INVESTMENT_MANAGER.REGISTER_NUMBER
+     *
+     * @mbggenerated
+     */
+    public void setRegisterNumber(String registerNumber) {
+        this.registerNumber = registerNumber == null ? null : registerNumber.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.MANAGER_NAME
+     *
+     * @return the value of INVESTMENT_MANAGER.MANAGER_NAME
+     *
+     * @mbggenerated
+     */
+    public String getManagerName() {
+        return managerName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.MANAGER_NAME
+     *
+     * @param managerName the value for INVESTMENT_MANAGER.MANAGER_NAME
+     *
+     * @mbggenerated
+     */
+    public void setManagerName(String managerName) {
+        this.managerName = managerName == null ? null : managerName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.START_DATE
+     *
+     * @return the value of INVESTMENT_MANAGER.START_DATE
+     *
+     * @mbggenerated
+     */
+    public String getStartDate() {
+        return startDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.START_DATE
+     *
+     * @param startDate the value for INVESTMENT_MANAGER.START_DATE
+     *
+     * @mbggenerated
+     */
+    public void setStartDate(String startDate) {
+        this.startDate = startDate == null ? null : startDate.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.END_DATE
+     *
+     * @return the value of INVESTMENT_MANAGER.END_DATE
+     *
+     * @mbggenerated
+     */
+    public String getEndDate() {
+        return endDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.END_DATE
+     *
+     * @param endDate the value for INVESTMENT_MANAGER.END_DATE
+     *
+     * @mbggenerated
+     */
+    public void setEndDate(String endDate) {
+        this.endDate = endDate == null ? null : endDate.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.ISVALID
+     *
+     * @return the value of INVESTMENT_MANAGER.ISVALID
+     *
+     * @mbggenerated
+     */
+    public Integer getIsvalid() {
+        return isvalid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.ISVALID
+     *
+     * @param isvalid the value for INVESTMENT_MANAGER.ISVALID
+     *
+     * @mbggenerated
+     */
+    public void setIsvalid(Integer isvalid) {
+        this.isvalid = isvalid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.CREATETIME
+     *
+     * @return the value of INVESTMENT_MANAGER.CREATETIME
+     *
+     * @mbggenerated
+     */
+    public Date getCreatetime() {
+        return createtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.CREATETIME
+     *
+     * @param createtime the value for INVESTMENT_MANAGER.CREATETIME
+     *
+     * @mbggenerated
+     */
+    public void setCreatetime(Date createtime) {
+        this.createtime = createtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.UPDATETIME
+     *
+     * @return the value of INVESTMENT_MANAGER.UPDATETIME
+     *
+     * @mbggenerated
+     */
+    public Date getUpdatetime() {
+        return updatetime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.UPDATETIME
+     *
+     * @param updatetime the value for INVESTMENT_MANAGER.UPDATETIME
+     *
+     * @mbggenerated
+     */
+    public void setUpdatetime(Date updatetime) {
+        this.updatetime = updatetime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.CREATORID
+     *
+     * @return the value of INVESTMENT_MANAGER.CREATORID
+     *
+     * @mbggenerated
+     */
+    public Integer getCreatorid() {
+        return creatorid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.CREATORID
+     *
+     * @param creatorid the value for INVESTMENT_MANAGER.CREATORID
+     *
+     * @mbggenerated
+     */
+    public void setCreatorid(Integer creatorid) {
+        this.creatorid = creatorid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column INVESTMENT_MANAGER.UPDATERID
+     *
+     * @return the value of INVESTMENT_MANAGER.UPDATERID
+     *
+     * @mbggenerated
+     */
+    public Integer getUpdaterid() {
+        return updaterid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column INVESTMENT_MANAGER.UPDATERID
+     *
+     * @param updaterid the value for INVESTMENT_MANAGER.UPDATERID
+     *
+     * @mbggenerated
+     */
+    public void setUpdaterid(Integer updaterid) {
+        this.updaterid = updaterid;
+    }
+}

+ 44 - 0
service-base/src/main/java/com/simuwang/base/pojo/dos/ProductContractDO.java

@@ -0,0 +1,44 @@
+package com.simuwang.base.pojo.dos;
+
+import lombok.Data;
+
+import java.util.Date;
+@Data
+public class ProductContractDO {
+
+    private Integer id;
+
+    private Integer productId;
+
+    private String registerNumber;
+
+    private String productName;
+
+    private String productContract;
+
+    private String performanceBasic;
+
+    private String accruedMethod;
+
+    private Integer isvalid;
+
+    private Date createtime;
+
+    private Date updatetime;
+
+    private Integer creatorid;
+
+    private Integer updaterid;
+
+    private String investmentScope;
+
+    private String investmentLimit;
+
+    private String investmentStrategy;
+
+    private String investmentMethod;
+
+    private String remark;
+
+
+}

+ 709 - 0
service-base/src/main/java/com/simuwang/base/pojo/dos/ProductDerivativeDO.java

@@ -0,0 +1,709 @@
+package com.simuwang.base.pojo.dos;
+
+import java.util.Date;
+
+public class ProductDerivativeDO {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.ID
+     *
+     * @mbggenerated
+     */
+    private Integer id;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.PRODUCT_ID
+     *
+     * @mbggenerated
+     */
+    private Integer productId;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.REGISTER_NUMBER
+     *
+     * @mbggenerated
+     */
+    private String registerNumber;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.PRODUCT_NAME
+     *
+     * @mbggenerated
+     */
+    private String productName;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.DISTRIBUTE_REPORT
+     *
+     * @mbggenerated
+     */
+    private String distributeReport;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.CUMULATIVE_NAV
+     *
+     * @mbggenerated
+     */
+    private String cumulativeNav;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.PRODUCT_SHARE
+     *
+     * @mbggenerated
+     */
+    private String productShare;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.PRODUCT_ASSET
+     *
+     * @mbggenerated
+     */
+    private String productAsset;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.PRODUCT_VALUATION
+     *
+     * @mbggenerated
+     */
+    private String productValuation;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.START_DATE
+     *
+     * @mbggenerated
+     */
+    private String startDate;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.INVESTMENT_MANAGER_DESC
+     *
+     * @mbggenerated
+     */
+    private String investmentManagerDesc;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.PRODUCT_COUNT
+     *
+     * @mbggenerated
+     */
+    private String productCount;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.MANAGE_ASSET
+     *
+     * @mbggenerated
+     */
+    private String manageAsset;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.FEE_NOTE
+     *
+     * @mbggenerated
+     */
+    private String feeNote;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.MANAGEMENTFEE_TRUST
+     *
+     * @mbggenerated
+     */
+    private String managementfeeTrust;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.MANAGEMENTFEE_BANK
+     *
+     * @mbggenerated
+     */
+    private String managementfeeBank;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.OUTSOURCE_FEE
+     *
+     * @mbggenerated
+     */
+    private String outsourceFee;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.ISVALID
+     *
+     * @mbggenerated
+     */
+    private Integer isvalid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.CREATETIME
+     *
+     * @mbggenerated
+     */
+    private Date createtime;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.UPDATETIME
+     *
+     * @mbggenerated
+     */
+    private Date updatetime;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.CREATORID
+     *
+     * @mbggenerated
+     */
+    private Integer creatorid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column PRODUCT_DERIVATIVE.UPDATERID
+     *
+     * @mbggenerated
+     */
+    private Integer updaterid;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.ID
+     *
+     * @return the value of PRODUCT_DERIVATIVE.ID
+     *
+     * @mbggenerated
+     */
+    public Integer getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.ID
+     *
+     * @param id the value for PRODUCT_DERIVATIVE.ID
+     *
+     * @mbggenerated
+     */
+    public void setId(Integer id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.PRODUCT_ID
+     *
+     * @return the value of PRODUCT_DERIVATIVE.PRODUCT_ID
+     *
+     * @mbggenerated
+     */
+    public Integer getProductId() {
+        return productId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.PRODUCT_ID
+     *
+     * @param productId the value for PRODUCT_DERIVATIVE.PRODUCT_ID
+     *
+     * @mbggenerated
+     */
+    public void setProductId(Integer productId) {
+        this.productId = productId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.REGISTER_NUMBER
+     *
+     * @return the value of PRODUCT_DERIVATIVE.REGISTER_NUMBER
+     *
+     * @mbggenerated
+     */
+    public String getRegisterNumber() {
+        return registerNumber;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.REGISTER_NUMBER
+     *
+     * @param registerNumber the value for PRODUCT_DERIVATIVE.REGISTER_NUMBER
+     *
+     * @mbggenerated
+     */
+    public void setRegisterNumber(String registerNumber) {
+        this.registerNumber = registerNumber == null ? null : registerNumber.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.PRODUCT_NAME
+     *
+     * @return the value of PRODUCT_DERIVATIVE.PRODUCT_NAME
+     *
+     * @mbggenerated
+     */
+    public String getProductName() {
+        return productName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.PRODUCT_NAME
+     *
+     * @param productName the value for PRODUCT_DERIVATIVE.PRODUCT_NAME
+     *
+     * @mbggenerated
+     */
+    public void setProductName(String productName) {
+        this.productName = productName == null ? null : productName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.DISTRIBUTE_REPORT
+     *
+     * @return the value of PRODUCT_DERIVATIVE.DISTRIBUTE_REPORT
+     *
+     * @mbggenerated
+     */
+    public String getDistributeReport() {
+        return distributeReport;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.DISTRIBUTE_REPORT
+     *
+     * @param distributeReport the value for PRODUCT_DERIVATIVE.DISTRIBUTE_REPORT
+     *
+     * @mbggenerated
+     */
+    public void setDistributeReport(String distributeReport) {
+        this.distributeReport = distributeReport == null ? null : distributeReport.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.CUMULATIVE_NAV
+     *
+     * @return the value of PRODUCT_DERIVATIVE.CUMULATIVE_NAV
+     *
+     * @mbggenerated
+     */
+    public String getCumulativeNav() {
+        return cumulativeNav;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.CUMULATIVE_NAV
+     *
+     * @param cumulativeNav the value for PRODUCT_DERIVATIVE.CUMULATIVE_NAV
+     *
+     * @mbggenerated
+     */
+    public void setCumulativeNav(String cumulativeNav) {
+        this.cumulativeNav = cumulativeNav == null ? null : cumulativeNav.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.PRODUCT_SHARE
+     *
+     * @return the value of PRODUCT_DERIVATIVE.PRODUCT_SHARE
+     *
+     * @mbggenerated
+     */
+    public String getProductShare() {
+        return productShare;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.PRODUCT_SHARE
+     *
+     * @param productShare the value for PRODUCT_DERIVATIVE.PRODUCT_SHARE
+     *
+     * @mbggenerated
+     */
+    public void setProductShare(String productShare) {
+        this.productShare = productShare == null ? null : productShare.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.PRODUCT_ASSET
+     *
+     * @return the value of PRODUCT_DERIVATIVE.PRODUCT_ASSET
+     *
+     * @mbggenerated
+     */
+    public String getProductAsset() {
+        return productAsset;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.PRODUCT_ASSET
+     *
+     * @param productAsset the value for PRODUCT_DERIVATIVE.PRODUCT_ASSET
+     *
+     * @mbggenerated
+     */
+    public void setProductAsset(String productAsset) {
+        this.productAsset = productAsset == null ? null : productAsset.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.PRODUCT_VALUATION
+     *
+     * @return the value of PRODUCT_DERIVATIVE.PRODUCT_VALUATION
+     *
+     * @mbggenerated
+     */
+    public String getProductValuation() {
+        return productValuation;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.PRODUCT_VALUATION
+     *
+     * @param productValuation the value for PRODUCT_DERIVATIVE.PRODUCT_VALUATION
+     *
+     * @mbggenerated
+     */
+    public void setProductValuation(String productValuation) {
+        this.productValuation = productValuation == null ? null : productValuation.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.START_DATE
+     *
+     * @return the value of PRODUCT_DERIVATIVE.START_DATE
+     *
+     * @mbggenerated
+     */
+    public String getStartDate() {
+        return startDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.START_DATE
+     *
+     * @param startDate the value for PRODUCT_DERIVATIVE.START_DATE
+     *
+     * @mbggenerated
+     */
+    public void setStartDate(String startDate) {
+        this.startDate = startDate == null ? null : startDate.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.INVESTMENT_MANAGER_DESC
+     *
+     * @return the value of PRODUCT_DERIVATIVE.INVESTMENT_MANAGER_DESC
+     *
+     * @mbggenerated
+     */
+    public String getInvestmentManagerDesc() {
+        return investmentManagerDesc;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.INVESTMENT_MANAGER_DESC
+     *
+     * @param investmentManagerDesc the value for PRODUCT_DERIVATIVE.INVESTMENT_MANAGER_DESC
+     *
+     * @mbggenerated
+     */
+    public void setInvestmentManagerDesc(String investmentManagerDesc) {
+        this.investmentManagerDesc = investmentManagerDesc == null ? null : investmentManagerDesc.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.PRODUCT_COUNT
+     *
+     * @return the value of PRODUCT_DERIVATIVE.PRODUCT_COUNT
+     *
+     * @mbggenerated
+     */
+    public String getProductCount() {
+        return productCount;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.PRODUCT_COUNT
+     *
+     * @param productCount the value for PRODUCT_DERIVATIVE.PRODUCT_COUNT
+     *
+     * @mbggenerated
+     */
+    public void setProductCount(String productCount) {
+        this.productCount = productCount == null ? null : productCount.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.MANAGE_ASSET
+     *
+     * @return the value of PRODUCT_DERIVATIVE.MANAGE_ASSET
+     *
+     * @mbggenerated
+     */
+    public String getManageAsset() {
+        return manageAsset;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.MANAGE_ASSET
+     *
+     * @param manageAsset the value for PRODUCT_DERIVATIVE.MANAGE_ASSET
+     *
+     * @mbggenerated
+     */
+    public void setManageAsset(String manageAsset) {
+        this.manageAsset = manageAsset == null ? null : manageAsset.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.FEE_NOTE
+     *
+     * @return the value of PRODUCT_DERIVATIVE.FEE_NOTE
+     *
+     * @mbggenerated
+     */
+    public String getFeeNote() {
+        return feeNote;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.FEE_NOTE
+     *
+     * @param feeNote the value for PRODUCT_DERIVATIVE.FEE_NOTE
+     *
+     * @mbggenerated
+     */
+    public void setFeeNote(String feeNote) {
+        this.feeNote = feeNote == null ? null : feeNote.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.MANAGEMENTFEE_TRUST
+     *
+     * @return the value of PRODUCT_DERIVATIVE.MANAGEMENTFEE_TRUST
+     *
+     * @mbggenerated
+     */
+    public String getManagementfeeTrust() {
+        return managementfeeTrust;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.MANAGEMENTFEE_TRUST
+     *
+     * @param managementfeeTrust the value for PRODUCT_DERIVATIVE.MANAGEMENTFEE_TRUST
+     *
+     * @mbggenerated
+     */
+    public void setManagementfeeTrust(String managementfeeTrust) {
+        this.managementfeeTrust = managementfeeTrust == null ? null : managementfeeTrust.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.MANAGEMENTFEE_BANK
+     *
+     * @return the value of PRODUCT_DERIVATIVE.MANAGEMENTFEE_BANK
+     *
+     * @mbggenerated
+     */
+    public String getManagementfeeBank() {
+        return managementfeeBank;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.MANAGEMENTFEE_BANK
+     *
+     * @param managementfeeBank the value for PRODUCT_DERIVATIVE.MANAGEMENTFEE_BANK
+     *
+     * @mbggenerated
+     */
+    public void setManagementfeeBank(String managementfeeBank) {
+        this.managementfeeBank = managementfeeBank == null ? null : managementfeeBank.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.OUTSOURCE_FEE
+     *
+     * @return the value of PRODUCT_DERIVATIVE.OUTSOURCE_FEE
+     *
+     * @mbggenerated
+     */
+    public String getOutsourceFee() {
+        return outsourceFee;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.OUTSOURCE_FEE
+     *
+     * @param outsourceFee the value for PRODUCT_DERIVATIVE.OUTSOURCE_FEE
+     *
+     * @mbggenerated
+     */
+    public void setOutsourceFee(String outsourceFee) {
+        this.outsourceFee = outsourceFee == null ? null : outsourceFee.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.ISVALID
+     *
+     * @return the value of PRODUCT_DERIVATIVE.ISVALID
+     *
+     * @mbggenerated
+     */
+    public Integer getIsvalid() {
+        return isvalid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.ISVALID
+     *
+     * @param isvalid the value for PRODUCT_DERIVATIVE.ISVALID
+     *
+     * @mbggenerated
+     */
+    public void setIsvalid(Integer isvalid) {
+        this.isvalid = isvalid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.CREATETIME
+     *
+     * @return the value of PRODUCT_DERIVATIVE.CREATETIME
+     *
+     * @mbggenerated
+     */
+    public Date getCreatetime() {
+        return createtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.CREATETIME
+     *
+     * @param createtime the value for PRODUCT_DERIVATIVE.CREATETIME
+     *
+     * @mbggenerated
+     */
+    public void setCreatetime(Date createtime) {
+        this.createtime = createtime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.UPDATETIME
+     *
+     * @return the value of PRODUCT_DERIVATIVE.UPDATETIME
+     *
+     * @mbggenerated
+     */
+    public Date getUpdatetime() {
+        return updatetime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.UPDATETIME
+     *
+     * @param updatetime the value for PRODUCT_DERIVATIVE.UPDATETIME
+     *
+     * @mbggenerated
+     */
+    public void setUpdatetime(Date updatetime) {
+        this.updatetime = updatetime;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.CREATORID
+     *
+     * @return the value of PRODUCT_DERIVATIVE.CREATORID
+     *
+     * @mbggenerated
+     */
+    public Integer getCreatorid() {
+        return creatorid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.CREATORID
+     *
+     * @param creatorid the value for PRODUCT_DERIVATIVE.CREATORID
+     *
+     * @mbggenerated
+     */
+    public void setCreatorid(Integer creatorid) {
+        this.creatorid = creatorid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column PRODUCT_DERIVATIVE.UPDATERID
+     *
+     * @return the value of PRODUCT_DERIVATIVE.UPDATERID
+     *
+     * @mbggenerated
+     */
+    public Integer getUpdaterid() {
+        return updaterid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column PRODUCT_DERIVATIVE.UPDATERID
+     *
+     * @param updaterid the value for PRODUCT_DERIVATIVE.UPDATERID
+     *
+     * @mbggenerated
+     */
+    public void setUpdaterid(Integer updaterid) {
+        this.updaterid = updaterid;
+    }
+}

+ 107 - 0
service-base/src/main/java/com/simuwang/base/pojo/dos/ProductInformationDO.java

@@ -0,0 +1,107 @@
+package com.simuwang.base.pojo.dos;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.simuwang.base.common.util.DateUtils;
+import com.simuwang.base.pojo.vo.ProductInformationVO;
+import lombok.Data;
+
+import java.util.Date;
+@Data
+@TableName("product_information")
+public class ProductInformationDO {
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+
+    @TableField("register_number")
+    private String registerNumber;
+
+    @TableField("product_name")
+    private String productName;
+
+    @TableField("inception_date")
+    private String inceptionDate;
+
+    @TableField("liquidate_date")
+    private String liquidateDate;
+
+    @TableField("ms_label")
+    private String msLabel;
+
+    @TableField("is_struct")
+    private String isStruct;
+
+    @TableField("first_strategy")
+    private String firstStrategy;
+
+    @TableField("second_strategy")
+    private String secondStrategy;
+
+    @TableField("third_strategy")
+    private String thirdStrategy;
+
+    @TableField("investment_manager")
+    private String investmentManager;
+
+    @TableField("start_date")
+    private String startDate;
+
+    @TableField("nav_frequency")
+    private String navFrequency;
+
+    @TableField("asset_frequency")
+    private String assetFrequency;
+
+    @TableField("report_frequency")
+    private String reportFrequency;
+
+    @TableField("investment_strategy_desc")
+    private String investmentStrategyDesc;
+
+    @TableField("remark")
+    private String remark;
+
+    @TableField("isvalid")
+    private Integer isvalid;
+
+    @TableField("createtime")
+    private Date createtime;
+
+    @TableField("updatetime")
+    private Date updatetime;
+
+    @TableField("creatorid")
+    private Integer creatorid;
+
+    @TableField("updaterid")
+    private Integer updaterid;
+
+
+    public ProductInformationVO toVO() {
+        ProductInformationVO vo = new ProductInformationVO();
+        vo.setId(id);
+        vo.setRegisterNumber(registerNumber);
+        vo.setProductName(productName);
+        vo.setInceptionDate(inceptionDate);
+        vo.setLiquidateDate(liquidateDate);
+        vo.setMsLabel(msLabel);
+        vo.setIsStruct(isStruct);
+        vo.setFirstStrategy(firstStrategy);
+        vo.setSecondStrategy(secondStrategy);
+        vo.setThirdStrategy(thirdStrategy);
+        vo.setInvestmentManager(investmentManager);
+        vo.setStartDate(startDate);
+        vo.setNavFrequency(navFrequency);
+        vo.setAssetFrequency(assetFrequency);
+        vo.setReportFrequency(reportFrequency);
+        vo.setIsvalid(isvalid);
+        vo.setCreatetime(DateUtils.format(createtime, "yyyy-MM-dd HH:mm:ss"));
+        vo.setUpdatetime(DateUtils.format(updatetime, "yyyy-MM-dd HH:mm:ss"));
+        vo.setInvestmentStrategyDesc(investmentStrategyDesc);
+        vo.setInvestmentManager(investmentManager);
+        vo.setRemark(this.remark);
+        return vo;
+    }
+}

+ 94 - 0
service-base/src/main/resources/mapper/daq/InvestmentManagerMapper.xml

@@ -0,0 +1,94 @@
+<?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.simuwang.base.mapper.daq.InvestmentManagerMapper" >
+  <resultMap id="BaseResultMap" type="com.simuwang.base.pojo.dos.InvestmentManagerDO" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" property="id" jdbcType="INTEGER" />
+    <result column="REGISTER_NUMBER" property="registerNumber" jdbcType="VARCHAR" />
+    <result column="MANAGER_NAME" property="managerName" jdbcType="VARCHAR" />
+    <result column="START_DATE" property="startDate" jdbcType="VARCHAR" />
+    <result column="END_DATE" property="endDate" jdbcType="VARCHAR" />
+    <result column="ISVALID" property="isvalid" jdbcType="INTEGER" />
+    <result column="CREATETIME" property="createtime" jdbcType="TIMESTAMP" />
+    <result column="UPDATETIME" property="updatetime" jdbcType="TIMESTAMP" />
+    <result column="CREATORID" property="creatorid" jdbcType="INTEGER" />
+    <result column="UPDATERID" property="updaterid" jdbcType="INTEGER" />
+  </resultMap>
+  <sql id="Example_Where_Clause" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where >
+      <foreach collection="oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <foreach collection="criteria.criteria" item="criterion" >
+              <choose >
+                <when test="criterion.noValue" >
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue" >
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue" >
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue" >
+                  and ${criterion.condition}
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where >
+      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <foreach collection="criteria.criteria" item="criterion" >
+              <choose >
+                <when test="criterion.noValue" >
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue" >
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue" >
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue" >
+                  and ${criterion.condition}
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, REGISTER_NUMBER, MANAGER_NAME, START_DATE, END_DATE, ISVALID, CREATETIME, UPDATETIME, 
+    CREATORID, UPDATERID
+  </sql>
+</mapper>

+ 33 - 0
service-base/src/main/resources/mapper/daq/ProductContractMapper.xml

@@ -0,0 +1,33 @@
+<?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.simuwang.base.mapper.daq.ProductContractMapper" >
+  <resultMap id="BaseResultMap" type="com.simuwang.base.pojo.dos.ProductContractDO" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" property="id" jdbcType="INTEGER" />
+    <result column="PRODUCT_ID" property="productId" jdbcType="INTEGER" />
+    <result column="REGISTER_NUMBER" property="registerNumber" jdbcType="VARCHAR" />
+    <result column="PRODUCT_NAME" property="productName" jdbcType="VARCHAR" />
+    <result column="PRODUCT_CONTRACT" property="productContract" jdbcType="VARCHAR" />
+    <result column="PERFORMANCE_BASIC" property="performanceBasic" jdbcType="VARCHAR" />
+    <result column="ACCRUED_METHOD" property="accruedMethod" jdbcType="VARCHAR" />
+    <result column="ISVALID" property="isvalid" jdbcType="INTEGER" />
+    <result column="CREATETIME" property="createtime" jdbcType="TIMESTAMP" />
+    <result column="UPDATETIME" property="updatetime" jdbcType="TIMESTAMP" />
+    <result column="CREATORID" property="creatorid" jdbcType="INTEGER" />
+    <result column="UPDATERID" property="updaterid" jdbcType="INTEGER" />
+    <result column="INVESTMENT_SCOPE" property="investmentScope" jdbcType="LONGVARCHAR" />
+    <result column="INVESTMENT_LIMIT" property="investmentLimit" jdbcType="LONGVARCHAR" />
+    <result column="INVESTMENT_STRATEGY" property="investmentStrategy" jdbcType="LONGVARCHAR" />
+    <result column="INVESTMENT_METHOD" property="investmentMethod" jdbcType="LONGVARCHAR" />
+    <result column="REMARK" property="remark" jdbcType="LONGVARCHAR" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    ID, PRODUCT_ID, REGISTER_NUMBER, PRODUCT_NAME, PRODUCT_CONTRACT, PERFORMANCE_BASIC,
+    INVESTMENT_SCOPE, INVESTMENT_LIMIT, INVESTMENT_STRATEGY, INVESTMENT_METHOD, REMARK,
+    ACCRUED_METHOD, ISVALID, CREATETIME, UPDATETIME, CREATORID, UPDATERID
+  </sql>
+
+</mapper>

+ 43 - 0
service-base/src/main/resources/mapper/daq/ProductDerivativeMapper.xml

@@ -0,0 +1,43 @@
+<?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.simuwang.base.mapper.daq.ProductDerivativeMapper" >
+  <resultMap id="BaseResultMap" type="com.simuwang.base.pojo.dos.ProductDerivativeDO" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" property="id" jdbcType="INTEGER" />
+    <result column="PRODUCT_ID" property="productId" jdbcType="INTEGER" />
+    <result column="REGISTER_NUMBER" property="registerNumber" jdbcType="VARCHAR" />
+    <result column="PRODUCT_NAME" property="productName" jdbcType="VARCHAR" />
+    <result column="DISTRIBUTE_REPORT" property="distributeReport" jdbcType="VARCHAR" />
+    <result column="CUMULATIVE_NAV" property="cumulativeNav" jdbcType="VARCHAR" />
+    <result column="PRODUCT_SHARE" property="productShare" jdbcType="VARCHAR" />
+    <result column="PRODUCT_ASSET" property="productAsset" jdbcType="VARCHAR" />
+    <result column="PRODUCT_VALUATION" property="productValuation" jdbcType="VARCHAR" />
+    <result column="START_DATE" property="startDate" jdbcType="VARCHAR" />
+    <result column="INVESTMENT_MANAGER_DESC" property="investmentManagerDesc" jdbcType="VARCHAR" />
+    <result column="PRODUCT_COUNT" property="productCount" jdbcType="VARCHAR" />
+    <result column="MANAGE_ASSET" property="manageAsset" jdbcType="VARCHAR" />
+    <result column="FEE_NOTE" property="feeNote" jdbcType="VARCHAR" />
+    <result column="MANAGEMENTFEE_TRUST" property="managementfeeTrust" jdbcType="VARCHAR" />
+    <result column="MANAGEMENTFEE_BANK" property="managementfeeBank" jdbcType="VARCHAR" />
+    <result column="OUTSOURCE_FEE" property="outsourceFee" jdbcType="VARCHAR" />
+    <result column="ISVALID" property="isvalid" jdbcType="INTEGER" />
+    <result column="CREATETIME" property="createtime" jdbcType="TIMESTAMP" />
+    <result column="UPDATETIME" property="updatetime" jdbcType="TIMESTAMP" />
+    <result column="CREATORID" property="creatorid" jdbcType="INTEGER" />
+    <result column="UPDATERID" property="updaterid" jdbcType="INTEGER" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, PRODUCT_ID, REGISTER_NUMBER, PRODUCT_NAME, DISTRIBUTE_REPORT, CUMULATIVE_NAV, 
+    PRODUCT_SHARE, PRODUCT_ASSET, PRODUCT_VALUATION, START_DATE, INVESTMENT_MANAGER_DESC, 
+    PRODUCT_COUNT, MANAGE_ASSET, FEE_NOTE, MANAGEMENTFEE_TRUST, MANAGEMENTFEE_BANK, OUTSOURCE_FEE, 
+    ISVALID, CREATETIME, UPDATETIME, CREATORID, UPDATERID
+  </sql>
+
+</mapper>

+ 106 - 0
service-base/src/main/resources/mapper/daq/ProductInformationMapper.xml

@@ -0,0 +1,106 @@
+<?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.simuwang.base.mapper.daq.ProductInformationMapper" >
+  <resultMap id="BaseResultMap" type="com.simuwang.base.pojo.dos.ProductInformationDO" >
+    <id column="ID" property="id" jdbcType="INTEGER" />
+    <result column="REGISTER_NUMBER" property="registerNumber" jdbcType="VARCHAR" />
+    <result column="PRODUCT_NAME" property="productName" jdbcType="VARCHAR" />
+    <result column="INCEPTION_DATE" property="inceptionDate" jdbcType="VARCHAR" />
+    <result column="LIQUIDATE_DATE" property="liquidateDate" jdbcType="VARCHAR" />
+    <result column="MS_LABEL" property="msLabel" jdbcType="VARCHAR" />
+    <result column="IS_STRUCT" property="isStruct" jdbcType="VARCHAR" />
+    <result column="FIRST_STRATEGY" property="firstStrategy" jdbcType="VARCHAR" />
+    <result column="SECOND_STRATEGY" property="secondStrategy" jdbcType="VARCHAR" />
+    <result column="THIRD_STRATEGY" property="thirdStrategy" jdbcType="VARCHAR" />
+    <result column="INVESTMENT_MANAGER" property="investmentManager" jdbcType="VARCHAR" />
+    <result column="START_DATE" property="startDate" jdbcType="VARCHAR" />
+    <result column="NAV_FREQUENCY" property="navFrequency" jdbcType="VARCHAR" />
+    <result column="ASSET_FREQUENCY" property="assetFrequency" jdbcType="VARCHAR" />
+    <result column="REPORT_FREQUENCY" property="reportFrequency" jdbcType="VARCHAR" />
+    <result column="ISVALID" property="isvalid" jdbcType="INTEGER" />
+    <result column="CREATETIME" property="createtime" jdbcType="TIMESTAMP" />
+    <result column="UPDATETIME" property="updatetime" jdbcType="TIMESTAMP" />
+    <result column="CREATORID" property="creatorid" jdbcType="INTEGER" />
+    <result column="UPDATERID" property="updaterid" jdbcType="INTEGER" />
+    <result column="INVESTMENT_STRATEGY_DESC" property="investmentStrategyDesc" jdbcType="VARCHAR" />
+  </resultMap>
+  <sql id="Base_Column_List" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, REGISTER_NUMBER, PRODUCT_NAME, INCEPTION_DATE, LIQUIDATE_DATE, MS_LABEL, IS_STRUCT, 
+    FIRST_STRATEGY, SECOND_STRATEGY, THIRD_STRATEGY, INVESTMENT_MANAGER, START_DATE, 
+    NAV_FREQUENCY, ASSET_FREQUENCY, REPORT_FREQUENCY, ISVALID, CREATETIME, UPDATETIME, 
+    CREATORID, UPDATERID,INVESTMENT_STRATEGY_DESC
+  </sql>
+  <select id="searchProductList" resultMap="BaseResultMap">
+    select <include refid="Base_Column_List"></include>
+    from product_information where isvalid=1
+    <if test="productName !=null and productName !=''">
+      and (product_name like concat(#{productName},'%') or register_number like concat(#{productName},'%'))
+    </if>
+    <if test="startInceptionDate !=null and startInceptionDate !=''">
+      and inception_date <![CDATA[ >= ]]>  #{startInceptionDate}
+    </if>
+    <if test="endInceptionDate !=null and endInceptionDate !=''">
+      and inception_date <![CDATA[ <= ]]>  #{endInceptionDate}
+    </if>
+    <if test="msLabel !=null and msLabel !=''">
+      and ms_label like concat(#{msLabel},'%')
+    </if>
+    <if test="navFrequency !=null and navFrequency !=''">
+      and nav_frequency like concat(#{navFrequency},'%')
+    </if>
+    <if test="assetFrequency !=null and assetFrequency !=''">
+      and asset_frequency like concat(#{assetFrequency},'%')
+    </if>
+    <if test="reportFrequency !=null and reportFrequency !=''">
+      and report_frequency like concat(#{reportFrequency},'%')
+    </if>
+    limit #{offset},#{pageSize}
+  </select>
+  <select id="countProductList" resultType="java.lang.Long">
+    select count(1)
+    from product_information where isvalid=1
+    <if test="productName !=null and productName !=''">
+      and (product_name like concat(#{productName},'%') or register_number like concat(#{productName},'%'))
+    </if>
+    <if test="startInceptionDate !=null and startInceptionDate !=''">
+      and inception_date <![CDATA[ >= ]]>  #{startInceptionDate}
+    </if>
+    <if test="endInceptionDate !=null and endInceptionDate !=''">
+      and inception_date <![CDATA[ <= ]]>  #{endInceptionDate}
+    </if>
+    <if test="msLabel !=null and msLabel !=''">
+      and ms_label like concat(#{msLabel},'%')
+    </if>
+    <if test="navFrequency !=null and navFrequency !=''">
+      and nav_frequency like concat(#{navFrequency},'%')
+    </if>
+    <if test="assetFrequency !=null and assetFrequency !=''">
+      and asset_frequency like concat(#{assetFrequency},'%')
+    </if>
+    <if test="reportFrequency !=null and reportFrequency !=''">
+      and report_frequency like concat(#{reportFrequency},'%')
+    </if>
+  </select>
+  <select id="selectByNameAndRegisterNumber" resultType="com.simuwang.base.pojo.dos.ProductInformationDO">
+    select <include refid="Base_Column_List"></include>
+    from product_information where isvalid=1
+    <if test="registerNumber != '' and registerNumber != null">
+      and register_number=#{registerNumber}
+    </if>
+    <if test="productName != '' and productName != null">
+      and product_name=#{productName}
+    </if>
+    <if test="productName == null">
+      and product_name is null
+    </if>
+    <if test="registerNumber == null">
+      and register_number is null
+    </if>
+    order by createtime
+    limit 1
+  </select>
+</mapper>