lizhenhao 2 роки тому
батько
коміт
3a50510a03
22 змінених файлів з 1437 додано та 0 видалено
  1. 113 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/controller/CwWorkClientController.java
  2. 149 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientBase.java
  3. 59 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientBilling.java
  4. 69 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientContact.java
  5. 129 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientType.java
  6. 27 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientBaseMapper.java
  7. 17 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientBillingMapper.java
  8. 17 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientContactMapper.java
  9. 17 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientTypeMapper.java
  10. 133 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientBaseMapper.xml
  11. 40 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientBillingMapper.xml
  12. 44 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientContactMapper.xml
  13. 68 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientTypeMapper.xml
  14. 82 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/CwWorkClientService.java
  15. 155 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientBaseDTO.java
  16. 56 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientBillingDTO.java
  17. 66 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientContactDTO.java
  18. 128 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientTypeDTO.java
  19. 17 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientBaseWrapper.java
  20. 17 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientBillingWrapper.java
  21. 17 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientContactWrapper.java
  22. 17 0
      jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientTypeWrapper.java

+ 113 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/controller/CwWorkClientController.java

@@ -0,0 +1,113 @@
+package com.jeeplus.test.cw.workClientInfo.controller;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.jeeplus.aop.logging.annotation.ApiLog;
+import com.jeeplus.common.utils.ResponseUtil;
+import com.jeeplus.sys.constant.enums.LogTypeEnum;
+import com.jeeplus.test.cw.workClientInfo.service.CwWorkClientService;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO;
+import com.jeeplus.test.klgBase.question.service.dto.KlgBaseQuestionsDTO;
+import com.jeeplus.test.knowledge.domain.KnowledgeShareComment;
+import com.jeeplus.test.knowledge.domain.KnowledgeShareDetail;
+import com.jeeplus.test.knowledge.service.KnowledgeShareInfoService;
+import com.jeeplus.test.knowledge.service.dto.KnowledgeShareInfoDto;
+import com.jeeplus.test.knowledge.service.dto.KnowledgeShareListDto;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.http.ResponseEntity;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
+import javax.validation.Valid;
+
+@RestController
+@Api("客户信息")
+@RequestMapping(value = "/cw_work_client/info")
+public class CwWorkClientController {
+
+    @Resource
+    private CwWorkClientService cwWorkClientService;
+
+    /**
+     * 查询客户信息列表
+     * @param cwWorkClientBaseDTO
+     * @param page
+     * @return
+     * @throws Exception
+     */
+    @ApiLog("查询客户信息列表")
+    @PreAuthorize("hasAuthority('cw_work_client:info:list')")
+    @GetMapping("list")
+    public ResponseEntity<IPage<CwWorkClientBaseDTO>> data(CwWorkClientBaseDTO cwWorkClientBaseDTO, Page<CwWorkClientBaseDTO> page) throws Exception {
+        IPage<CwWorkClientBaseDTO> result = new Page<CwWorkClientBaseDTO>();
+        result = cwWorkClientService.findList (page,cwWorkClientBaseDTO);
+        return ResponseEntity.ok (result);
+    }
+
+    /**
+     * 查询客户信息数据
+     * @param id
+     * @return
+     */
+    @ApiLog("查询客户信息数据")
+    @PreAuthorize ("hasAnyAuthority('cw_work_client:info:view','cw_work_client:info:add','cw_work_client:info:edit')")
+    @GetMapping("queryById")
+    public ResponseEntity queryById(@RequestParam("id") String id) {
+        CwWorkClientBaseDTO cwWorkClientBaseDTO = cwWorkClientService.queryById ( id );
+        return ResponseEntity.ok (cwWorkClientBaseDTO);
+    }
+
+    /**
+     * 保存客户信息
+     * @param cwWorkClientBaseDTO
+     * @return
+     */
+    @ApiLog(value = "修改/新增客户信息", type = LogTypeEnum.SAVE)
+    @PreAuthorize("hasAnyAuthority('cw_work_client:info:add','cw_work_client:info:edit')")
+    @PostMapping("save")
+    public ResponseEntity save(@Valid @RequestBody CwWorkClientBaseDTO cwWorkClientBaseDTO) throws Exception {
+        cwWorkClientService.saveClient(cwWorkClientBaseDTO);
+        return ResponseEntity.ok ("操作成功");
+    }
+
+    /**
+     * 保存客户信息-流程
+     * @param cwWorkClientBaseDTO
+     * @return
+     */
+    @ApiLog(value = "保存客户信息-流程", type = LogTypeEnum.SAVE)
+    @PreAuthorize("hasAnyAuthority('cw_work_client:info:add','cw_work_client:info:edit')")
+    @PostMapping("saveForm")
+    public ResponseEntity saveForm(@Valid @RequestBody CwWorkClientBaseDTO cwWorkClientBaseDTO) throws Exception {
+        String id = cwWorkClientService.saveForm(cwWorkClientBaseDTO);
+        return ResponseUtil.newInstance().add("businessTable", "cw_work_client_base").add("businessId", id).ok ("操作成功");
+    }
+
+    /**
+     * 删除业务提问
+     * @param ids
+     * @return
+     */
+    @ApiLog(value = "删除客户信息", type = LogTypeEnum.SAVE)
+    @PreAuthorize ("hasAuthority('cw_work_client:info:del')")
+    @DeleteMapping("delete")
+    public ResponseEntity delete(String ids) {
+        return cwWorkClientService.deleteByIds(ids);
+    }
+
+    /**
+     * 根据id修改状态值status
+     * @param dto
+     * @return
+     */
+    @ApiOperation(value = "根据id修改状态值status")
+    @PostMapping(value = "/updateStatusById")
+    public ResponseEntity<String> updateStatusById(@RequestBody CwWorkClientBaseDTO dto) {
+        String s = cwWorkClientService.updateStatusById(dto);
+        return ResponseEntity.ok(s);
+    }
+
+
+}

+ 149 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientBase.java

@@ -0,0 +1,149 @@
+package com.jeeplus.test.cw.workClientInfo.domain;
+
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import lombok.Data;
+
+/**
+ * 财务-客户信息管理-客户基本信息
+ * @TableName cw_work_client_base
+ */
+@Data
+@TableName("cw_work_client_base")
+public class CwWorkClientBase extends BaseEntity {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户编号
+     */
+    private String no;
+
+    /**
+     * 客户名称
+     */
+    private String name;
+
+    /**
+     * 客户简称
+     */
+    private String abbreviation;
+
+    /**
+     * 英文名称
+     */
+    private String englishName;
+
+    /**
+     * 客户类型
+     */
+    private String type;
+
+    /**
+     * 统一社会信用代码
+     */
+    private String uscCode;
+
+    /**
+     * 特殊客户类型
+     */
+    private String scType;
+
+    /**
+     * 管理级次分类
+     */
+    private String manageLevelType;
+
+    /**
+     * 上一级公司
+     */
+    private String oneUpCompany;
+
+    /**
+     * 公司级次
+     */
+    private String companyLevel;
+
+    /**
+     * 经营范围
+     */
+    private String businessScope;
+
+    /**
+     * 主要职责
+     */
+    private String keyResponsibilities;
+
+    /**
+     * 所属行业
+     */
+    private String industry;
+
+    /**
+     * 企业隶属关系划分
+     */
+    private String affiliation;
+
+    /**
+     * 按组织类型分类
+     */
+    private String organizationType;
+
+    /**
+     * 客户报备类型
+     */
+    private String reportType;
+
+    /**
+     * 上级部门
+     */
+    private String oneUpOffice;
+
+    /**
+     * 登记证书号码
+     */
+    private String registrationCert;
+
+    /**
+     * 批准机构
+     */
+    private String approvingBodies;
+
+    /**
+     * 所属部门
+     */
+    private String officeId;
+
+    /**
+     * 流程id
+     */
+    private String procInsId;
+
+    /**
+     * 流程信息
+     */
+    private String processDefinitionId;
+
+    /**
+     * 状态
+     */
+    private String status;
+
+    /**
+     * 审核通过时间
+     */
+    private Date agreeDate;
+
+    /**
+     * 审核人
+     */
+    private String agreeUserId;
+
+    private static final long serialVersionUID = 1L;
+}

+ 59 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientBilling.java

@@ -0,0 +1,59 @@
+package com.jeeplus.test.cw.workClientInfo.domain;
+
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import lombok.Data;
+
+/**
+ * 财务-客户信息管理-开票信息
+ * @TableName cw_work_client_billing
+ */
+@Data
+@TableName("cw_work_client_billing")
+public class CwWorkClientBilling extends BaseEntity {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户id
+     */
+    private String clientId;
+
+    /**
+     * 是否有纳税人识别号
+     */
+    private String isTaxpayerIdentificationNo;
+
+    /**
+     * 纳税人识别号
+     */
+    private String taxpayerIdentificationNo;
+
+    /**
+     * 开户行
+     */
+    private String accountHolder;
+
+    /**
+     * 银行账号
+     */
+    private String account;
+
+    /**
+     * 电话
+     */
+    private String phone;
+
+    /**
+     * 地址
+     */
+    private String address;
+
+    private static final long serialVersionUID = 1L;
+}

+ 69 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientContact.java

@@ -0,0 +1,69 @@
+package com.jeeplus.test.cw.workClientInfo.domain;
+
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import lombok.Data;
+
+/**
+ * 财务-客户信息管理-客户联系人
+ * @TableName cw_work_client_contact
+ */
+@Data
+@TableName("cw_work_client_contact")
+public class CwWorkClientContact extends BaseEntity {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户id
+     */
+    private String clientId;
+
+    /**
+     * 姓名
+     */
+    private String name;
+
+    /**
+     * 性别
+     */
+    private String sex;
+
+    /**
+     * 部门
+     */
+    private String officeId;
+
+    /**
+     * 职务
+     */
+    private String position;
+
+    /**
+     * 联系方式1
+     */
+    private String contactFirst;
+
+    /**
+     * 联系方式2
+     */
+    private String contactSecond;
+
+    /**
+     * 传真
+     */
+    private String fax;
+
+    /**
+     * 邮箱
+     */
+    private String email;
+
+    private static final long serialVersionUID = 1L;
+}

+ 129 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/domain/CwWorkClientType.java

@@ -0,0 +1,129 @@
+package com.jeeplus.test.cw.workClientInfo.domain;
+
+import java.io.Serializable;
+import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import lombok.Data;
+
+/**
+ * 财务-客户信息管理-客户分类
+ * @TableName cw_work_client_type
+ */
+@Data
+@TableName("cw_work_client_type")
+public class CwWorkClientType extends BaseEntity {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户id
+     */
+    private String clientId;
+
+    /**
+     * 是否上市
+     */
+    private String isListed;
+
+    /**
+     * 上市类型
+     */
+    private String listedType;
+
+    /**
+     * 独资或控股公司数
+     */
+    private String holdingCompNum;
+
+    /**
+     * 控股上市公司数
+     */
+    private String holdingListedCompNum;
+
+    /**
+     * 股票代码
+     */
+    private String stockSymbol;
+
+    /**
+     * 股票简称
+     */
+    private String stockAbbreviation;
+
+    /**
+     * 发行日期
+     */
+    private Date releaseDate;
+
+    /**
+     * 上市日期
+     */
+    private Date listedDate;
+
+    /**
+     * 证券市场
+     */
+    private String securitiesMarket;
+
+    /**
+     * 控股自然人姓名
+     */
+    private String controlNaturalPerson;
+
+    /**
+     * 首次发行签字注师1
+     */
+    private String signatory1;
+
+    /**
+     * 首次发行签字注师2
+     */
+    private String signatory2;
+
+    /**
+     * 首次承接业务日期
+     */
+    private Date undertakeBusinessDate;
+
+    /**
+     * 是否变更事务所
+     */
+    private String isChangeFirm;
+
+    /**
+     * 前任事务所
+     */
+    private String formerFirm;
+
+    /**
+     * 事务所变更原因
+     */
+    private String firmChangeCause;
+
+    /**
+     * 按所有制性质分类
+     */
+    private String ownershipType;
+
+    /**
+     * 按监管要求分类
+     */
+    private String supervisionRequestType;
+
+    /**
+     * 按最终地位分类
+     */
+    private String finalStatusType;
+
+    /**
+     * 主管税务机关
+     */
+    private String taxAuthorities;
+
+    private static final long serialVersionUID = 1L;
+}

+ 27 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientBaseMapper.java

@@ -0,0 +1,27 @@
+package com.jeeplus.test.cw.workClientInfo.mapper;
+
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.core.toolkit.Constants;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBase;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * @Entity com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBase
+ */
+@Mapper
+public interface CwWorkClientBaseMapper extends BaseMapper<CwWorkClientBase> {
+
+    public IPage<CwWorkClientBaseDTO> findList(Page<CwWorkClientBaseDTO> page, @Param(Constants.WRAPPER) QueryWrapper<CwWorkClientBase> queryWrapper);
+
+    public CwWorkClientBaseDTO queryById(@Param("id") String id);
+
+}
+
+
+
+

+ 17 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientBillingMapper.java

@@ -0,0 +1,17 @@
+package com.jeeplus.test.cw.workClientInfo.mapper;
+
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBilling;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * @Entity com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBilling
+ */
+@Mapper
+public interface CwWorkClientBillingMapper extends BaseMapper<CwWorkClientBilling> {
+
+}
+
+
+
+

+ 17 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientContactMapper.java

@@ -0,0 +1,17 @@
+package com.jeeplus.test.cw.workClientInfo.mapper;
+
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientContact;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * @Entity com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientContact
+ */
+@Mapper
+public interface CwWorkClientContactMapper extends BaseMapper<CwWorkClientContact> {
+
+}
+
+
+
+

+ 17 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/CwWorkClientTypeMapper.java

@@ -0,0 +1,17 @@
+package com.jeeplus.test.cw.workClientInfo.mapper;
+
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientType;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * @Entity com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientType
+ */
+@Mapper
+public interface CwWorkClientTypeMapper extends BaseMapper<CwWorkClientType> {
+
+}
+
+
+
+

+ 133 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientBaseMapper.xml

@@ -0,0 +1,133 @@
+<?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.jeeplus.test.cw.workClientInfo.mapper.CwWorkClientBaseMapper">
+
+    <resultMap id="BaseResultMap" type="com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO">
+            <id property="id" column="id" jdbcType="VARCHAR"/>
+            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
+            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
+            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
+            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
+            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
+            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
+            <result property="no" column="no" jdbcType="VARCHAR"/>
+            <result property="name" column="name" jdbcType="VARCHAR"/>
+            <result property="abbreviation" column="abbreviation" jdbcType="VARCHAR"/>
+            <result property="englishName" column="english_name" jdbcType="VARCHAR"/>
+            <result property="type" column="type" jdbcType="VARCHAR"/>
+            <result property="uscCode" column="usc_code" jdbcType="VARCHAR"/>
+            <result property="scType" column="sc_type" jdbcType="VARCHAR"/>
+            <result property="manageLevelType" column="manage_level_type" jdbcType="VARCHAR"/>
+            <result property="oneUpCompany" column="one_up_company" jdbcType="VARCHAR"/>
+            <result property="companyLevel" column="company_level" jdbcType="VARCHAR"/>
+            <result property="businessScope" column="business_scope" jdbcType="VARCHAR"/>
+            <result property="keyResponsibilities" column="key_responsibilities" jdbcType="VARCHAR"/>
+            <result property="industry" column="industry" jdbcType="VARCHAR"/>
+            <result property="affiliation" column="affiliation" jdbcType="VARCHAR"/>
+            <result property="organizationType" column="organization_type" jdbcType="VARCHAR"/>
+            <result property="reportType" column="report_type" jdbcType="VARCHAR"/>
+            <result property="oneUpOffice" column="one_up_office" jdbcType="VARCHAR"/>
+            <result property="registrationCert" column="registration_cert" jdbcType="VARCHAR"/>
+            <result property="approvingBodies" column="approving_bodies" jdbcType="VARCHAR"/>
+            <result property="officeId" column="office_id" jdbcType="VARCHAR"/>
+            <result property="procInsId" column="proc_ins_id" jdbcType="VARCHAR"/>
+            <result property="processDefinitionId" column="process_definition_id" jdbcType="VARCHAR"/>
+            <result property="status" column="status" jdbcType="VARCHAR"/>
+            <result property="agreeDate" column="agree_date" jdbcType="TIMESTAMP"/>
+            <result property="agreeUserId" column="agree_user_id" jdbcType="VARCHAR"/>
+            <collection property="workAttachmentDtoList" ofType="com.jeeplus.test.workContract.service.dto.WorkAttachmentDto" column="id" select="getFileList"></collection>
+    </resultMap>
+
+    <resultMap id="AttachmentMap" type="com.jeeplus.test.workContract.service.dto.WorkAttachmentDto">
+        <id property="id" column="id" jdbcType="VARCHAR"/>
+        <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
+        <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
+        <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
+        <result property="createBy.name" column="create_name" jdbcType="VARCHAR"/>
+        <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
+        <result property="delFlag" column="del_flag" jdbcType="VARCHAR"/>
+        <result property="url" column="url" jdbcType="VARCHAR"/>
+        <result property="name" column="attachment_name" jdbcType="VARCHAR"/>
+        <result property="size" column="file_size" jdbcType="VARCHAR"/>
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        cw_wcb.id,
+        cw_wcb.create_by,
+        cw_wcb.create_date,
+        cw_wcb.update_by,
+        cw_wcb.update_date,
+        cw_wcb.del_flag,
+        cw_wcb.remarks,
+        cw_wcb.no,
+        cw_wcb.name,
+        cw_wcb.abbreviation,
+        cw_wcb.english_name,
+        cw_wcb.type,
+        cw_wcb.usc_code,
+        cw_wcb.sc_type,
+        cw_wcb.manage_level_type,
+        cw_wcb.one_up_company,
+        cw_wcb.company_level,
+        cw_wcb.business_scope,
+        cw_wcb.key_responsibilities,
+        cw_wcb.industry,
+        cw_wcb.affiliation,
+        cw_wcb.organization_type,
+        cw_wcb.report_type,
+        cw_wcb.one_up_office,
+        cw_wcb.registration_cert,
+        cw_wcb.approving_bodies,
+        cw_wcb.office_id,
+        cw_wcb.proc_ins_id,
+        cw_wcb.process_definition_id,
+        cw_wcb.status,
+        cw_wcb.agree_date,
+        cw_wcb.agree_user_id
+    </sql>
+
+    <sql id="File_Column_List">
+        wa.id,
+        wa.create_by,
+        wa.create_date,
+        wa.update_by,
+        wa.update_date,
+        wa.remarks,
+        wa.del_flag,
+        wa.url,
+        wa.type,
+        wa.attachment_id,
+        wa.attachment_name,
+        wa.attachment_flag,
+        wa.module_type,
+        wa.attachment_type,
+        wa.file_size,
+        wa.sort,
+        wa.description
+    </sql>
+
+    <select id="getFileList" resultMap="AttachmentMap">
+        select
+        <include refid="File_Column_List"></include>,
+        su.name as create_name
+        from work_attachment wa
+        left join sys_user su on su.id = wa.create_by and su.del_flag = '0'
+        where wa.del_flag = '0' and wa.attachment_id = #{id}
+    </select>
+
+    <select id="findList" resultMap="BaseResultMap">
+        select
+        <include refid="Base_Column_List"></include>
+        from cw_work_client_base cw_wcb
+        ${ew.customSqlSegment}
+    </select>
+
+    <select id="queryById" resultMap="BaseResultMap">
+        select
+        <include refid="Base_Column_List"></include>
+        from cw_work_client_base cw_wcb
+        where cw_wcb.del_flag = '0' and cw_wcb.id = ${id}
+    </select>
+</mapper>

+ 40 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientBillingMapper.xml

@@ -0,0 +1,40 @@
+<?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.jeeplus.test.cw.workClientInfo.mapper.CwWorkClientBillingMapper">
+
+    <resultMap id="BaseResultMap" type="com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBillingDTO">
+            <id property="id" column="id" jdbcType="VARCHAR"/>
+            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
+            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
+            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
+            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
+            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
+            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
+            <result property="clientId" column="client_id" jdbcType="VARCHAR"/>
+            <result property="isTaxpayerIdentificationNo" column="is_taxpayer_identification_no" jdbcType="VARCHAR"/>
+            <result property="taxpayerIdentificationNo" column="taxpayer_identification_no" jdbcType="VARCHAR"/>
+            <result property="accountHolder" column="account_holder" jdbcType="VARCHAR"/>
+            <result property="account" column="account" jdbcType="VARCHAR"/>
+            <result property="phone" column="phone" jdbcType="VARCHAR"/>
+            <result property="address" column="address" jdbcType="VARCHAR"/>
+    </resultMap>
+
+    <sql id="Billing_Column_List">
+        cw_wcbi.id,
+        cw_wcbi.create_by,
+        cw_wcbi.create_date,
+        cw_wcbi.update_by,
+        cw_wcbi.update_date,
+        cw_wcbi.del_flag,
+        cw_wcbi.remarks,
+        cw_wcbi.client_id,
+        cw_wcbi.is_taxpayer_identification_no,
+        cw_wcbi.taxpayer_identification_no,
+        cw_wcbi.account_holder,
+        cw_wcbi.account,
+        cw_wcbi.phone,
+        cw_wcbi.address
+    </sql>
+</mapper>

+ 44 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientContactMapper.xml

@@ -0,0 +1,44 @@
+<?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.jeeplus.test.cw.workClientInfo.mapper.CwWorkClientContactMapper">
+
+    <resultMap id="BaseResultMap" type="com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientContactDTO">
+            <id property="id" column="id" jdbcType="VARCHAR"/>
+            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
+            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
+            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
+            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
+            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
+            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
+            <result property="clientId" column="client_id" jdbcType="VARCHAR"/>
+            <result property="name" column="name" jdbcType="VARCHAR"/>
+            <result property="sex" column="sex" jdbcType="VARCHAR"/>
+            <result property="officeId" column="office_id" jdbcType="VARCHAR"/>
+            <result property="position" column="position" jdbcType="VARCHAR"/>
+            <result property="contactFirst" column="contact_first" jdbcType="VARCHAR"/>
+            <result property="contactSecond" column="contact_second" jdbcType="VARCHAR"/>
+            <result property="fax" column="fax" jdbcType="VARCHAR"/>
+            <result property="email" column="email" jdbcType="VARCHAR"/>
+    </resultMap>
+
+    <sql id="Contact_Column_List">
+        cw_wcc.id,
+        cw_wcc.create_by,
+        cw_wcc.create_date,
+        cw_wcc.update_by,
+        cw_wcc.update_date,
+        cw_wcc.del_flag,
+        cw_wcc.remarks,
+        cw_wcc.client_id,
+        cw_wcc.name,
+        cw_wcc.sex,
+        cw_wcc.office_id,
+        cw_wcc.position,
+        cw_wcc.contact_first,
+        cw_wcc.contact_second,
+        cw_wcc.fax,
+        cw_wcc.email
+    </sql>
+</mapper>

+ 68 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/mapper/xml/CwWorkClientTypeMapper.xml

@@ -0,0 +1,68 @@
+<?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.jeeplus.test.cw.workClientInfo.mapper.CwWorkClientTypeMapper">
+
+    <resultMap id="BaseResultMap" type="com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientTypeDTO">
+            <id property="id" column="id" jdbcType="VARCHAR"/>
+            <result property="createBy.id" column="create_by" jdbcType="VARCHAR"/>
+            <result property="createDate" column="create_date" jdbcType="TIMESTAMP"/>
+            <result property="updateBy.id" column="update_by" jdbcType="VARCHAR"/>
+            <result property="updateDate" column="update_date" jdbcType="TIMESTAMP"/>
+            <result property="delFlag" column="del_flag" jdbcType="INTEGER"/>
+            <result property="remarks" column="remarks" jdbcType="VARCHAR"/>
+            <result property="clientId" column="client_id" jdbcType="VARCHAR"/>
+            <result property="isListed" column="is_listed" jdbcType="VARCHAR"/>
+            <result property="listedType" column="listed_type" jdbcType="VARCHAR"/>
+            <result property="holdingCompNum" column="holding_comp_num" jdbcType="VARCHAR"/>
+            <result property="holdingListedCompNum" column="holding_listed_comp_num" jdbcType="VARCHAR"/>
+            <result property="stockSymbol" column="stock_symbol" jdbcType="VARCHAR"/>
+            <result property="stockAbbreviation" column="stock_abbreviation" jdbcType="VARCHAR"/>
+            <result property="releaseDate" column="release_date" jdbcType="TIMESTAMP"/>
+            <result property="listedDate" column="listed_date" jdbcType="TIMESTAMP"/>
+            <result property="securitiesMarket" column="securities_market" jdbcType="VARCHAR"/>
+            <result property="controlNaturalPerson" column="control_natural_person" jdbcType="VARCHAR"/>
+            <result property="signatory1" column="signatory1" jdbcType="VARCHAR"/>
+            <result property="signatory2" column="signatory2" jdbcType="VARCHAR"/>
+            <result property="undertakeBusinessDate" column="undertake_business_date" jdbcType="TIMESTAMP"/>
+            <result property="isChangeFirm" column="is_change_firm" jdbcType="VARCHAR"/>
+            <result property="formerFirm" column="former_firm" jdbcType="VARCHAR"/>
+            <result property="firmChangeCause" column="firm_change_cause" jdbcType="VARCHAR"/>
+            <result property="ownershipType" column="ownership_type" jdbcType="VARCHAR"/>
+            <result property="supervisionRequestType" column="supervision_request_type" jdbcType="VARCHAR"/>
+            <result property="finalStatusType" column="final_status_type" jdbcType="VARCHAR"/>
+            <result property="taxAuthorities" column="tax_authorities" jdbcType="VARCHAR"/>
+    </resultMap>
+
+    <sql id="Type_Column_List">
+        cw_wct.id,
+        cw_wct.create_by,
+        cw_wct.create_date,
+        cw_wct.update_by,
+        cw_wct.update_date,
+        cw_wct.del_flag,
+        cw_wct.remarks,
+        cw_wct.client_id,
+        cw_wct.is_listed,
+        cw_wct.listed_type,
+        cw_wct.holding_comp_num,
+        cw_wct.holding_listed_comp_num,
+        cw_wct.stock_symbol,
+        cw_wct.stock_abbreviation,
+        cw_wct.release_date,
+        cw_wct.listed_date,
+        cw_wct.securities_market,
+        cw_wct.control_natural_person,
+        cw_wct.signatory1,
+        cw_wct.signatory2,
+        cw_wct.undertake_business_date,
+        cw_wct.is_change_firm,
+        cw_wct.former_firm,
+        cw_wct.firm_change_cause,
+        cw_wct.ownership_type,
+        cw_wct.supervision_request_type,
+        cw_wct.final_status_type,
+        cw_wct.tax_authorities
+    </sql>
+</mapper>

+ 82 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/CwWorkClientService.java

@@ -0,0 +1,82 @@
+package com.jeeplus.test.cw.workClientInfo.service;
+
+import cn.hutool.core.util.ObjectUtil;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.google.common.collect.Lists;
+import com.jeeplus.core.query.QueryWrapperGenerator;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBase;
+import com.jeeplus.test.cw.workClientInfo.mapper.*;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO;
+import com.jeeplus.test.cw.workClientInfo.service.mapstruct.CwWorkClientBaseWrapper;
+import com.jeeplus.test.oss.service.OssService;
+import org.springframework.http.ResponseEntity;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+import javax.annotation.Resource;
+
+@Service
+@Transactional
+public class CwWorkClientService extends ServiceImpl<CwWorkClientBaseMapper, CwWorkClientBase> {
+
+    @Resource
+    private CwWorkClientBaseMapper cwWorkClientBaseMapper;
+    @Resource
+    private CwWorkClientBillingMapper cwWorkClientBillingMapper;
+    @Resource
+    private CwWorkClientContactMapper cwWorkClientContactMapper;
+    @Resource
+    private CwWorkClientTypeMapper cwWorkClientTypeMapper;
+    @Resource
+    private CwManageLevelTypeService cwManageLevelTypeService;
+    @Resource
+    private CwOrganizationTypeService cwOrganizationTypeService;
+    @Resource
+    private OssService ossService;
+
+    public IPage<CwWorkClientBaseDTO> findList(Page<CwWorkClientBaseDTO> page, CwWorkClientBaseDTO cwWorkClientBaseDTO) throws Exception{
+        QueryWrapper<CwWorkClientBase> queryWrapper = QueryWrapperGenerator.buildQueryCondition ( CwWorkClientBaseWrapper.INSTANCE.toEntity(cwWorkClientBaseDTO), CwWorkClientBase.class );
+        queryWrapper.eq("cw_wcb.del_flag","0");
+        queryWrapper.orderByDesc("cw_wcb.create_date");
+        IPage<CwWorkClientBaseDTO> list = cwWorkClientBaseMapper.findList(page, queryWrapper);
+        return list;
+    }
+
+    public CwWorkClientBaseDTO queryById(String id) {
+
+        CwWorkClientBaseDTO cwWorkClientBaseDTO = cwWorkClientBaseMapper.queryById(id);
+
+        return cwWorkClientBaseDTO;
+    }
+
+    public String saveForm(CwWorkClientBaseDTO cwWorkClientBaseDTO) throws Exception{
+        CwWorkClientBase cwWorkClientBase = CwWorkClientBaseWrapper.INSTANCE.toEntity(cwWorkClientBaseDTO);
+        this.saveOrUpdate(cwWorkClientBase);
+        if (ObjectUtil.isNotEmpty(cwWorkClientBaseDTO)) {
+            //附件
+            ossService.saveOrUpdateFileList(cwWorkClientBaseDTO.getWorkAttachmentDtoList(),cwWorkClientBase.getId(),"cw_work_client");
+        }
+        return cwWorkClientBase.getId();
+    }
+
+    public ResponseEntity saveClient(CwWorkClientBaseDTO cwWorkClientBaseDTO) throws Exception{
+        this.saveForm(cwWorkClientBaseDTO);
+        return ResponseEntity.ok("保存成功");
+    }
+
+    public ResponseEntity deleteByIds(String ids) {
+        String idArray[] =ids.split(",");
+        this.removeByIds (Lists.newArrayList (idArray));
+        return ResponseEntity.ok ("删除成功");
+    }
+
+    public String updateStatusById(CwWorkClientBaseDTO cwWorkClientBaseDTO) {
+        CwWorkClientBase cwWorkClientBase = CwWorkClientBaseWrapper.INSTANCE.toEntity(cwWorkClientBaseDTO);
+        cwWorkClientBaseMapper.update(cwWorkClientBase, new QueryWrapper<CwWorkClientBase>().lambda().eq(CwWorkClientBase::getId, cwWorkClientBase.getId()));
+        return "操作成功";
+    }
+
+}

+ 155 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientBaseDTO.java

@@ -0,0 +1,155 @@
+package com.jeeplus.test.cw.workClientInfo.service.dto;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import com.jeeplus.core.service.dto.BaseDTO;
+import com.jeeplus.test.workContract.service.dto.WorkAttachmentDto;
+import lombok.Data;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * 财务-客户信息管理-客户基本信息
+ * @TableName cw_work_client_base
+ */
+@Data
+public class CwWorkClientBaseDTO extends BaseDTO {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户编号
+     */
+    private String no;
+
+    /**
+     * 客户名称
+     */
+    private String name;
+
+    /**
+     * 客户简称
+     */
+    private String abbreviation;
+
+    /**
+     * 英文名称
+     */
+    private String englishName;
+
+    /**
+     * 客户类型
+     */
+    private String type;
+
+    /**
+     * 统一社会信用代码
+     */
+    private String uscCode;
+
+    /**
+     * 特殊客户类型
+     */
+    private String scType;
+
+    /**
+     * 管理级次分类
+     */
+    private String manageLevelType;
+
+    /**
+     * 上一级公司
+     */
+    private String oneUpCompany;
+
+    /**
+     * 公司级次
+     */
+    private String companyLevel;
+
+    /**
+     * 经营范围
+     */
+    private String businessScope;
+
+    /**
+     * 主要职责
+     */
+    private String keyResponsibilities;
+
+    /**
+     * 所属行业
+     */
+    private String industry;
+
+    /**
+     * 企业隶属关系划分
+     */
+    private String affiliation;
+
+    /**
+     * 按组织类型分类
+     */
+    private String organizationType;
+
+    /**
+     * 客户报备类型
+     */
+    private String reportType;
+
+    /**
+     * 上级部门
+     */
+    private String oneUpOffice;
+
+    /**
+     * 登记证书号码
+     */
+    private String registrationCert;
+
+    /**
+     * 批准机构
+     */
+    private String approvingBodies;
+
+    /**
+     * 所属部门
+     */
+    private String officeId;
+
+    /**
+     * 流程id
+     */
+    private String procInsId;
+
+    /**
+     * 流程信息
+     */
+    private String processDefinitionId;
+
+    /**
+     * 状态
+     */
+    private String status;
+
+    /**
+     * 审核通过时间
+     */
+    private Date agreeDate;
+
+    /**
+     * 审核人
+     */
+    private String agreeUserId;
+
+    /**
+     * 附件
+     */
+    private List<WorkAttachmentDto> workAttachmentDtoList;
+
+    private static final long serialVersionUID = 1L;
+}

+ 56 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientBillingDTO.java

@@ -0,0 +1,56 @@
+package com.jeeplus.test.cw.workClientInfo.service.dto;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import com.jeeplus.core.service.dto.BaseDTO;
+import lombok.Data;
+
+/**
+ * 财务-客户信息管理-开票信息
+ * @TableName cw_work_client_billing
+ */
+@Data
+public class CwWorkClientBillingDTO extends BaseDTO {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户id
+     */
+    private String clientId;
+
+    /**
+     * 是否有纳税人识别号
+     */
+    private String isTaxpayerIdentificationNo;
+
+    /**
+     * 纳税人识别号
+     */
+    private String taxpayerIdentificationNo;
+
+    /**
+     * 开户行
+     */
+    private String accountHolder;
+
+    /**
+     * 银行账号
+     */
+    private String account;
+
+    /**
+     * 电话
+     */
+    private String phone;
+
+    /**
+     * 地址
+     */
+    private String address;
+
+    private static final long serialVersionUID = 1L;
+}

+ 66 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientContactDTO.java

@@ -0,0 +1,66 @@
+package com.jeeplus.test.cw.workClientInfo.service.dto;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import com.jeeplus.core.service.dto.BaseDTO;
+import lombok.Data;
+
+/**
+ * 财务-客户信息管理-客户联系人
+ * @TableName cw_work_client_contact
+ */
+@Data
+public class CwWorkClientContactDTO extends BaseDTO {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户id
+     */
+    private String clientId;
+
+    /**
+     * 姓名
+     */
+    private String name;
+
+    /**
+     * 性别
+     */
+    private String sex;
+
+    /**
+     * 部门
+     */
+    private String officeId;
+
+    /**
+     * 职务
+     */
+    private String position;
+
+    /**
+     * 联系方式1
+     */
+    private String contactFirst;
+
+    /**
+     * 联系方式2
+     */
+    private String contactSecond;
+
+    /**
+     * 传真
+     */
+    private String fax;
+
+    /**
+     * 邮箱
+     */
+    private String email;
+
+    private static final long serialVersionUID = 1L;
+}

+ 128 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/dto/CwWorkClientTypeDTO.java

@@ -0,0 +1,128 @@
+package com.jeeplus.test.cw.workClientInfo.service.dto;
+
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.jeeplus.core.domain.BaseEntity;
+import com.jeeplus.core.service.dto.BaseDTO;
+import lombok.Data;
+
+import java.util.Date;
+
+/**
+ * 财务-客户信息管理-客户分类
+ * @TableName cw_work_client_type
+ */
+@Data
+public class CwWorkClientTypeDTO extends BaseDTO {
+
+    /**
+     * 备注信息
+     */
+    private String remarks;
+
+    /**
+     * 客户id
+     */
+    private String clientId;
+
+    /**
+     * 是否上市
+     */
+    private String isListed;
+
+    /**
+     * 上市类型
+     */
+    private String listedType;
+
+    /**
+     * 独资或控股公司数
+     */
+    private String holdingCompNum;
+
+    /**
+     * 控股上市公司数
+     */
+    private String holdingListedCompNum;
+
+    /**
+     * 股票代码
+     */
+    private String stockSymbol;
+
+    /**
+     * 股票简称
+     */
+    private String stockAbbreviation;
+
+    /**
+     * 发行日期
+     */
+    private Date releaseDate;
+
+    /**
+     * 上市日期
+     */
+    private Date listedDate;
+
+    /**
+     * 证券市场
+     */
+    private String securitiesMarket;
+
+    /**
+     * 控股自然人姓名
+     */
+    private String controlNaturalPerson;
+
+    /**
+     * 首次发行签字注师1
+     */
+    private String signatory1;
+
+    /**
+     * 首次发行签字注师2
+     */
+    private String signatory2;
+
+    /**
+     * 首次承接业务日期
+     */
+    private Date undertakeBusinessDate;
+
+    /**
+     * 是否变更事务所
+     */
+    private String isChangeFirm;
+
+    /**
+     * 前任事务所
+     */
+    private String formerFirm;
+
+    /**
+     * 事务所变更原因
+     */
+    private String firmChangeCause;
+
+    /**
+     * 按所有制性质分类
+     */
+    private String ownershipType;
+
+    /**
+     * 按监管要求分类
+     */
+    private String supervisionRequestType;
+
+    /**
+     * 按最终地位分类
+     */
+    private String finalStatusType;
+
+    /**
+     * 主管税务机关
+     */
+    private String taxAuthorities;
+
+    private static final long serialVersionUID = 1L;
+}

+ 17 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientBaseWrapper.java

@@ -0,0 +1,17 @@
+package com.jeeplus.test.cw.workClientInfo.service.mapstruct;
+
+import com.jeeplus.core.mapstruct.EntityWrapper;
+import com.jeeplus.test.cw.workClientInfo.domain.CwManageLevelType;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBase;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwManageLevelTypeDTO;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO;
+import org.mapstruct.Mapper;
+import org.mapstruct.ReportingPolicy;
+import org.mapstruct.factory.Mappers;
+
+@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE, uses = {})
+public interface CwWorkClientBaseWrapper extends EntityWrapper<CwWorkClientBaseDTO, CwWorkClientBase>{
+
+        CwWorkClientBaseWrapper INSTANCE = Mappers.getMapper(CwWorkClientBaseWrapper.class);
+
+}

+ 17 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientBillingWrapper.java

@@ -0,0 +1,17 @@
+package com.jeeplus.test.cw.workClientInfo.service.mapstruct;
+
+import com.jeeplus.core.mapstruct.EntityWrapper;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBase;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBilling;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBillingDTO;
+import org.mapstruct.Mapper;
+import org.mapstruct.ReportingPolicy;
+import org.mapstruct.factory.Mappers;
+
+@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE, uses = {})
+public interface CwWorkClientBillingWrapper extends EntityWrapper<CwWorkClientBillingDTO, CwWorkClientBilling>{
+
+        CwWorkClientBillingWrapper INSTANCE = Mappers.getMapper(CwWorkClientBillingWrapper.class);
+
+}

+ 17 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientContactWrapper.java

@@ -0,0 +1,17 @@
+package com.jeeplus.test.cw.workClientInfo.service.mapstruct;
+
+import com.jeeplus.core.mapstruct.EntityWrapper;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBase;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientContact;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientContactDTO;
+import org.mapstruct.Mapper;
+import org.mapstruct.ReportingPolicy;
+import org.mapstruct.factory.Mappers;
+
+@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE, uses = {})
+public interface CwWorkClientContactWrapper extends EntityWrapper<CwWorkClientContactDTO, CwWorkClientContact>{
+
+        CwWorkClientContactWrapper INSTANCE = Mappers.getMapper(CwWorkClientContactWrapper.class);
+
+}

+ 17 - 0
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/workClientInfo/service/mapstruct/CwWorkClientTypeWrapper.java

@@ -0,0 +1,17 @@
+package com.jeeplus.test.cw.workClientInfo.service.mapstruct;
+
+import com.jeeplus.core.mapstruct.EntityWrapper;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientBase;
+import com.jeeplus.test.cw.workClientInfo.domain.CwWorkClientType;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientBaseDTO;
+import com.jeeplus.test.cw.workClientInfo.service.dto.CwWorkClientTypeDTO;
+import org.mapstruct.Mapper;
+import org.mapstruct.ReportingPolicy;
+import org.mapstruct.factory.Mappers;
+
+@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE, uses = {})
+public interface CwWorkClientTypeWrapper extends EntityWrapper<CwWorkClientTypeDTO, CwWorkClientType>{
+
+        CwWorkClientTypeWrapper INSTANCE = Mappers.getMapper(CwWorkClientTypeWrapper.class);
+
+}