diff --git a/sgzb-common/sgzb-common-core/pom.xml b/sgzb-common/sgzb-common-core/pom.xml index 7d60607..bf3084c 100644 --- a/sgzb-common/sgzb-common-core/pom.xml +++ b/sgzb-common/sgzb-common-core/pom.xml @@ -112,6 +112,10 @@ io.swagger swagger-annotations + + org.projectlombok + lombok + diff --git a/sgzb-common/sgzb-common-core/src/main/java/com/bonus/sgzb/common/core/domain/BmCoBank.java b/sgzb-common/sgzb-common-core/src/main/java/com/bonus/sgzb/common/core/domain/BmCoBank.java new file mode 100644 index 0000000..b6bd537 --- /dev/null +++ b/sgzb-common/sgzb-common-core/src/main/java/com/bonus/sgzb/common/core/domain/BmCoBank.java @@ -0,0 +1,55 @@ +package com.bonus.sgzb.common.core.domain; + +import java.io.Serializable; +import lombok.Data; + +/* + Description: 企业开户行信息 + @Author 阮世耀 +* @Create 2023/12/1 17:58 +* @Version 1.0 +*/ + +@Data +public class BmCoBank implements Serializable { + + private static final long serialVersionUID = -8453578341238722709L; + + private Integer id; + + /** + * 企业id + */ + private Integer coId; + + /** + * 开户行名称 + */ + private String bankName; + + /** + * 账户名称 + */ + private String accountName; + + /** + * 银行账号 + */ + private String bankAccount; + + /** + * 开户行所在地 + */ + private String bankAddress; + + /** + * 开户许可证核准号 + */ + private String permitNumber; + + /** + * 开户许可证 + */ + private String permitUrl; + +} \ No newline at end of file diff --git a/sgzb-common/sgzb-common-core/src/main/java/com/bonus/sgzb/common/core/domain/BmCompanyInfo.java b/sgzb-common/sgzb-common-core/src/main/java/com/bonus/sgzb/common/core/domain/BmCompanyInfo.java new file mode 100644 index 0000000..4b4d51b --- /dev/null +++ b/sgzb-common/sgzb-common-core/src/main/java/com/bonus/sgzb/common/core/domain/BmCompanyInfo.java @@ -0,0 +1,150 @@ +package com.bonus.sgzb.common.core.domain; + +/* + Description: 企业信息表 + @Author 阮世耀 +* @Create 2023/12/1 17:45 +* @Version 1.0 +*/ + +import lombok.Data; + +import java.io.Serializable; + +@Data +public class BmCompanyInfo implements Serializable { + + private static final long serialVersionUID = -446346351397191451L; + + /** + * 企业id + */ + private Integer coId; + + /** + * 企业名称 + */ + private String coName; + + /** + * 企业类型(社会企业,南网集团企业,南网控股企业) + */ + private String coType; + + /** + * 企业所属(广东电网、广西电网、贵州电网、云南电网、海南电网、储能公司、深圳供电局、超高压公司) + * 从字典表获取 + */ + private String coLtd; + + /** + * 统一社会信用代码 + */ + private String creditCode; + + /** + * 注册地址 + */ + private String registerAddress; + + /** + * 经营地址 + */ + private String operateAddress; + + /** + * 证件类型 + */ + private String type; + + /** + * 法人证件号码 + */ + private String idNumber; + + /** + * 营业执照 + */ + private String businessLicense; + + /** + * 法人姓名 + */ + private String legalPerson; + + /** + * 邀请码 + */ + private String invitationCode; + + /** + * 邀请企业名称 + */ + private String invitationCoName; + + /** + * 经营范围 + */ + private String businessScope; + + /** + * 被授权人姓名 + */ + private String authPersom; + + /** + * 被授权人身份证 + */ + private String authIdNumber; + + /** + * 被授权人手机号 + */ + private String authPhone; + + /** + * 法人授权书 + */ + private String authLetter; + + /** + * 被授权人身份证头像面 + */ + private String idFaceUrl; + + /** + * 被授权人身份证国徽面 + */ + private String idNationUrl; + + /** + * 创建时间 + */ + private String createTime; + + /** + * 创建人 + */ + private String creator; + + /** + * 审核人 + */ + private Integer auditor; + + /** + * 审核时间 + */ + private String auditTime; + + /** + * 审核备注 + */ + private String auditRemark; + + /** + * 状态(0待审核,1通过,2驳回) + */ + private String status; + +} \ No newline at end of file diff --git a/sgzb-modules/pom.xml b/sgzb-modules/pom.xml index 9a1f485..b5ec851 100644 --- a/sgzb-modules/pom.xml +++ b/sgzb-modules/pom.xml @@ -13,6 +13,7 @@ sgzb-gen sgzb-job sgzb-file + sgzb-company zlpt-order diff --git a/sgzb-modules/sgzb-company/pom.xml b/sgzb-modules/sgzb-company/pom.xml new file mode 100644 index 0000000..6767b32 --- /dev/null +++ b/sgzb-modules/sgzb-company/pom.xml @@ -0,0 +1,57 @@ + + + 4.0.0 + + com.bonus.sgzb + sgzb-modules + 3.6.3 + + + com.bonus + sgzb-modules-company + + + sgzb-modules-company企业模块 + + + + 8 + 8 + UTF-8 + + + + org.mybatis + mybatis + 3.5.13 + compile + + + org.projectlombok + lombok + + + org.springframework + spring-web + + + com.bonus.sgzb + sgzb-common-core + + + com.bonus.sgzb + sgzb-common-security + + + com.bonus.sgzb + sgzb-common-log + + + com.bonus.sgzb + sgzb-common-swagger + + + + \ No newline at end of file diff --git a/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/ZlptCompanyApplication.java b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/ZlptCompanyApplication.java new file mode 100644 index 0000000..3b0e615 --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/ZlptCompanyApplication.java @@ -0,0 +1,26 @@ +package com.bonus.sgzb.company; + +import com.bonus.sgzb.common.security.annotation.EnableCustomConfig; +import com.bonus.sgzb.common.security.annotation.EnableRyFeignClients; +import com.bonus.sgzb.common.swagger.annotation.EnableCustomSwagger2; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * Description: 企业模块启动类 + * + * @Author 阮世耀 + * @Create 2023/12/2 12:20 + * @Version 1.0 + */ +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients +@SpringBootApplication +public class ZlptCompanyApplication { + public static void main(String[] args) { + SpringApplication.run(ZlptCompanyApplication.class, args); + System.out.println("company---企业模块启动成功!!"); + + } +} diff --git a/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/controller/BmCompanyInfoController.java b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/controller/BmCompanyInfoController.java new file mode 100644 index 0000000..4867036 --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/controller/BmCompanyInfoController.java @@ -0,0 +1,82 @@ +package com.bonus.sgzb.company.controller; +import com.bonus.sgzb.common.core.web.controller.BaseController; +import com.bonus.sgzb.common.core.web.domain.AjaxResult; +import com.bonus.sgzb.common.log.enums.BusinessType; +import com.bonus.sgzb.common.security.annotation.RequiresPermissions; +import com.bonus.sgzb.company.domain.BmCompanyInfo; +import com.bonus.sgzb.company.mapper.BmCompanyInfoDao; +import com.bonus.sgzb.company.service.BmCompanyInfoService; +import com.bonus.sgzb.common.log.annotation.Log; +import com.bonus.sgzb.system.api.domain.SysDept; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import java.util.List; + +/** +* 企业信息表(bm_company_info)表控制层 +* @author 阮世耀 +*/ +@RestController +@RequestMapping("/company") +public class BmCompanyInfoController extends BaseController { + + @Resource + private BmCompanyInfoService bmCompanyInfoService; + + @Resource + private BmCompanyInfoDao bmCompanyInfoDao; + + /** + * 通过主键查询单条数据 + * @param id 主键 + * @return 单条数据 + */ + @GetMapping("selectById") + public BmCompanyInfo selectById(Integer id) { return bmCompanyInfoService.selectByPrimaryKey(id); } + + + /** + * 获取公司列表 + */ + @RequiresPermissions("system:company:list") + @GetMapping("/list") + public AjaxResult list(BmCompanyInfo obj) { + List list = bmCompanyInfoDao.selectCompanyList(obj); + return success(list); + } + + + /** + * 新增 -- 录入企业信息 + */ + @RequiresPermissions("system:company:add") + @Log(title = "企业管理", businessType = BusinessType.INSERT) + @PostMapping("addCompanyInfo") + public AjaxResult add(@RequestBody BmCompanyInfo obj) { + return toAjax(bmCompanyInfoService.insertSelective(obj)); + } + + /** + * 修改 -- 企业信息变更 + */ + @RequiresPermissions("system:company:edit") + @Log(title = "企业管理", businessType = BusinessType.UPDATE) + @PostMapping("updateCompanyInfo") + public AjaxResult edit(@RequestBody BmCompanyInfo obj) { + Integer deptId = obj.getCompanyId(); + return toAjax(bmCompanyInfoService.updateByPrimaryKeySelective(obj)); + } + + /** + * 删除 -- 企业注销 + */ + @RequiresPermissions("system:company:remove") + @Log(title = "企业管理", businessType = BusinessType.DELETE) + @DeleteMapping("/{deptId}") + public AjaxResult remove(@PathVariable Integer deptId) { + return toAjax(bmCompanyInfoService.deleteByPrimaryKey(deptId)); + } + + +} diff --git a/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/domain/BmCompanyInfo.java b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/domain/BmCompanyInfo.java new file mode 100644 index 0000000..e513d0e --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/domain/BmCompanyInfo.java @@ -0,0 +1,151 @@ +package com.bonus.sgzb.company.domain; + +import java.io.Serializable; +import lombok.Data; + +/** +* Description: +* @Author 阮世耀 +* @Create 2023/12/1 19:40 +* @Version 1.0 +*/ + +/** + * 企业信息表 + */ +@Data +public class BmCompanyInfo implements Serializable { + /** + * 企业id + */ + private Integer companyId; + + /** + * 企业名称 + */ + private String companyName; + + /** + * 企业类型(社会企业,南网集团企业,南网控股企业) + */ + private String companyType; + + /** + * 企业所属(广东电网、广西电网、贵州电网、云南电网、海南电网、储能公司、深圳供电局、超高压公司) + */ + private String companyLtd; + + /** + * 统一社会信用代码 + */ + private String creditCode; + + /** + * 注册地址 + */ + private String registerAddress; + + /** + * 经营地址 + */ + private String operateAddress; + + /** + * 证件类型 + */ + private String certificatetype; + + /** + * 法人证件号码 + */ + private String idNumber; + + /** + * 营业执照 + */ + private String businessLicense; + + /** + * 法人姓名 + */ + private String legalPerson; + + /** + * 邀请码 + */ + private String invitationCode; + + /** + * 邀请企业名称 + */ + private String invitationCoName; + + /** + * 经营范围 + */ + private String businessScope; + + /** + * 被授权人姓名 + */ + private String authPerson; + + /** + * 被授权人身份证 + */ + private String authIdNumber; + + /** + * 被授权人手机号 + */ + private String authPhone; + + /** + * 法人授权书 + */ + private String authDocument; + + /** + * 被授权人身份证头像面 + */ + private String idFaceUrl; + + /** + * 被授权人身份证国徽面 + */ + private String idNationUrl; + + /** + * 创建时间 + */ + private String createTime; + + /** + * 创建人 + */ + private String creator; + + /** + * 审核人 + */ + private Integer auditor; + + /** + * 审核时间 + */ + private String auditTime; + + /** + * 审核备注 + */ + private String auditRemark; + + /** + * 状态(0待审核,1通过,2驳回) + */ + private String status; + + private String updateTime; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/mapper/BmCompanyInfoDao.java b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/mapper/BmCompanyInfoDao.java new file mode 100644 index 0000000..782d5ca --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/mapper/BmCompanyInfoDao.java @@ -0,0 +1,30 @@ +package com.bonus.sgzb.company.mapper; + +import com.bonus.sgzb.company.domain.BmCompanyInfo; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +/** +* Description: +* @Author 阮世耀 +* @Create 2023/12/1 19:40 +* @Version 1.0 +*/ + +@Mapper +public interface BmCompanyInfoDao { + int deleteByPrimaryKey(Integer companyId); + + int insert(BmCompanyInfo record); + + int insertSelective(BmCompanyInfo record); + + BmCompanyInfo selectByPrimaryKey(Integer companyId); + + List selectCompanyList(BmCompanyInfo record); + + int updateByPrimaryKeySelective(BmCompanyInfo record); + + int updateByPrimaryKey(BmCompanyInfo record); +} \ No newline at end of file diff --git a/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/service/BmCompanyInfoService.java b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/service/BmCompanyInfoService.java new file mode 100644 index 0000000..ae8cea5 --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/service/BmCompanyInfoService.java @@ -0,0 +1,25 @@ +package com.bonus.sgzb.company.service; + +import com.bonus.sgzb.company.domain.BmCompanyInfo; + /** +* Description: +* @Author 阮世耀 +* @Create 2023/12/1 19:40 +* @Version 1.0 +*/ + +public interface BmCompanyInfoService{ + + int deleteByPrimaryKey(Integer companyId); + + int insert(BmCompanyInfo record); + + int insertSelective(BmCompanyInfo record); + + BmCompanyInfo selectByPrimaryKey(Integer companyId); + + int updateByPrimaryKeySelective(BmCompanyInfo record); + + int updateByPrimaryKey(BmCompanyInfo record); + +} diff --git a/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/service/impl/BmCompanyInfoServiceImpl.java b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/service/impl/BmCompanyInfoServiceImpl.java new file mode 100644 index 0000000..98f9726 --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/java/com/bonus/sgzb/company/service/impl/BmCompanyInfoServiceImpl.java @@ -0,0 +1,52 @@ +package com.bonus.sgzb.company.service.impl; + +import com.bonus.sgzb.company.service.BmCompanyInfoService; +import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import com.bonus.sgzb.company.domain.BmCompanyInfo; +import com.bonus.sgzb.company.mapper.BmCompanyInfoDao; + +/** +* Description: +* @Author 阮世耀 +* @Create 2023/12/1 19:40 +* @Version 1.0 +*/ + +@Service +public class BmCompanyInfoServiceImpl implements BmCompanyInfoService { + + @Resource + private BmCompanyInfoDao bmCompanyInfoMapper; + + @Override + public int deleteByPrimaryKey(Integer companyId) { + return bmCompanyInfoMapper.deleteByPrimaryKey(companyId); + } + + @Override + public int insert(BmCompanyInfo record) { + return bmCompanyInfoMapper.insert(record); + } + + @Override + public int insertSelective(BmCompanyInfo record) { + return bmCompanyInfoMapper.insertSelective(record); + } + + @Override + public BmCompanyInfo selectByPrimaryKey(Integer companyId) { + return bmCompanyInfoMapper.selectByPrimaryKey(companyId); + } + + @Override + public int updateByPrimaryKeySelective(BmCompanyInfo record) { + return bmCompanyInfoMapper.updateByPrimaryKeySelective(record); + } + + @Override + public int updateByPrimaryKey(BmCompanyInfo record) { + return bmCompanyInfoMapper.updateByPrimaryKey(record); + } + +} diff --git a/sgzb-modules/sgzb-company/src/main/resources/banner.txt b/sgzb-modules/sgzb-company/src/main/resources/banner.txt new file mode 100644 index 0000000..fbd45f5 --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/resources/banner.txt @@ -0,0 +1,10 @@ +Spring Boot Version: ${spring-boot.version} +Spring Application Name: ${spring.application.name} + _ _ + (_) | | + _ __ _ _ ___ _ _ _ ______ ___ _ _ ___ | |_ ___ _ __ ___ +| '__|| | | | / _ \ | | | || ||______|/ __|| | | |/ __|| __| / _ \| '_ ` _ \ +| | | |_| || (_) || |_| || | \__ \| |_| |\__ \| |_ | __/| | | | | | +|_| \__,_| \___/ \__, ||_| |___/ \__, ||___/ \__| \___||_| |_| |_| + __/ | __/ | + |___/ |___/ \ No newline at end of file diff --git a/sgzb-modules/sgzb-company/src/main/resources/bootstrap.yml b/sgzb-modules/sgzb-company/src/main/resources/bootstrap.yml new file mode 100644 index 0000000..114cd9a --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/resources/bootstrap.yml @@ -0,0 +1,27 @@ +# Tomcat +server: + port: 9201 + +# Spring +spring: + application: + # 应用名称 + name: zlpt-company + profiles: + # 环境配置 + active: zlpt_cloud_dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 192.168.0.14:8848 + namespace: zlpt_cloud_dev + config: + # 配置中心地址 + server-addr: 192.168.0.14:8848 + namespace: zlpt_cloud_dev + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} diff --git a/sgzb-modules/sgzb-company/src/main/resources/logback.xml b/sgzb-modules/sgzb-company/src/main/resources/logback.xml new file mode 100644 index 0000000..4cfe0f9 --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/resources/logback.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sgzb-modules/sgzb-company/src/main/resources/mapper/BmCompanyInfoMapper.xml b/sgzb-modules/sgzb-company/src/main/resources/mapper/BmCompanyInfoMapper.xml new file mode 100644 index 0000000..702dd4a --- /dev/null +++ b/sgzb-modules/sgzb-company/src/main/resources/mapper/BmCompanyInfoMapper.xml @@ -0,0 +1,374 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + company_id, company_name, company_type, company_ltd, credit_code, register_address, + operate_address, certificateType, id_number, business_license, legal_person, invitation_code, + invitation_co_name, business_scope, auth_person, auth_id_number, auth_phone, auth_document, + id_face_url, id_nation_url, create_time, creator, auditor, audit_time, audit_remark, + `status`, update_time + + + + + + update bm_company_info set status = '2' + where company_id = #{companyId,jdbcType=INTEGER} + + + + + insert into ma_zlpt.bm_company_info (company_name, company_type, company_ltd, + credit_code, register_address, operate_address, + certificateType, id_number, business_license, + legal_person, invitation_code, invitation_co_name, + business_scope, auth_person, auth_id_number, + auth_phone, auth_document, id_face_url, + id_nation_url, create_time, creator, + auditor, audit_time, audit_remark, + `status`, update_time) + values (#{companyName,jdbcType=VARCHAR}, #{companyType,jdbcType=VARCHAR}, #{companyLtd,jdbcType=VARCHAR}, + #{creditCode,jdbcType=VARCHAR}, #{registerAddress,jdbcType=VARCHAR}, #{operateAddress,jdbcType=VARCHAR}, + #{certificatetype,jdbcType=VARCHAR}, #{idNumber,jdbcType=VARCHAR}, #{businessLicense,jdbcType=VARCHAR}, + #{legalPerson,jdbcType=VARCHAR}, #{invitationCode,jdbcType=VARCHAR}, #{invitationCoName,jdbcType=VARCHAR}, + #{businessScope,jdbcType=VARCHAR}, #{authPerson,jdbcType=VARCHAR}, #{authIdNumber,jdbcType=VARCHAR}, + #{authPhone,jdbcType=VARCHAR}, #{authDocument,jdbcType=VARCHAR}, #{idFaceUrl,jdbcType=VARCHAR}, + #{idNationUrl,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{creator,jdbcType=VARCHAR}, + #{auditor,jdbcType=INTEGER}, #{auditTime,jdbcType=VARCHAR}, #{auditRemark,jdbcType=VARCHAR}, + #{status,jdbcType=VARCHAR}, #{updateTime,jdbcType=VARCHAR}) + + + + + insert into ma_zlpt.bm_company_info + + + company_name, + + + company_type, + + + company_ltd, + + + credit_code, + + + register_address, + + + operate_address, + + + certificateType, + + + id_number, + + + business_license, + + + legal_person, + + + invitation_code, + + + invitation_co_name, + + + business_scope, + + + auth_person, + + + auth_id_number, + + + auth_phone, + + + auth_document, + + + id_face_url, + + + id_nation_url, + + + create_time, + + + creator, + + + auditor, + + + audit_time, + + + audit_remark, + + + `status`, + + + update_time, + + + + + #{companyName,jdbcType=VARCHAR}, + + + #{companyType,jdbcType=VARCHAR}, + + + #{companyLtd,jdbcType=VARCHAR}, + + + #{creditCode,jdbcType=VARCHAR}, + + + #{registerAddress,jdbcType=VARCHAR}, + + + #{operateAddress,jdbcType=VARCHAR}, + + + #{certificatetype,jdbcType=VARCHAR}, + + + #{idNumber,jdbcType=VARCHAR}, + + + #{businessLicense,jdbcType=VARCHAR}, + + + #{legalPerson,jdbcType=VARCHAR}, + + + #{invitationCode,jdbcType=VARCHAR}, + + + #{invitationCoName,jdbcType=VARCHAR}, + + + #{businessScope,jdbcType=VARCHAR}, + + + #{authPerson,jdbcType=VARCHAR}, + + + #{authIdNumber,jdbcType=VARCHAR}, + + + #{authPhone,jdbcType=VARCHAR}, + + + #{authDocument,jdbcType=VARCHAR}, + + + #{idFaceUrl,jdbcType=VARCHAR}, + + + #{idNationUrl,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=VARCHAR}, + + + #{creator,jdbcType=VARCHAR}, + + + #{auditor,jdbcType=INTEGER}, + + + #{auditTime,jdbcType=VARCHAR}, + + + #{auditRemark,jdbcType=VARCHAR}, + + + #{status,jdbcType=VARCHAR}, + + + #{updateTime,jdbcType=VARCHAR}, + + + + + + + update ma_zlpt.bm_company_info + + + company_name = #{companyName,jdbcType=VARCHAR}, + + + company_type = #{companyType,jdbcType=VARCHAR}, + + + company_ltd = #{companyLtd,jdbcType=VARCHAR}, + + + credit_code = #{creditCode,jdbcType=VARCHAR}, + + + register_address = #{registerAddress,jdbcType=VARCHAR}, + + + operate_address = #{operateAddress,jdbcType=VARCHAR}, + + + certificateType = #{certificatetype,jdbcType=VARCHAR}, + + + id_number = #{idNumber,jdbcType=VARCHAR}, + + + business_license = #{businessLicense,jdbcType=VARCHAR}, + + + legal_person = #{legalPerson,jdbcType=VARCHAR}, + + + invitation_code = #{invitationCode,jdbcType=VARCHAR}, + + + invitation_co_name = #{invitationCoName,jdbcType=VARCHAR}, + + + business_scope = #{businessScope,jdbcType=VARCHAR}, + + + auth_person = #{authPerson,jdbcType=VARCHAR}, + + + auth_id_number = #{authIdNumber,jdbcType=VARCHAR}, + + + auth_phone = #{authPhone,jdbcType=VARCHAR}, + + + auth_document = #{authDocument,jdbcType=VARCHAR}, + + + id_face_url = #{idFaceUrl,jdbcType=VARCHAR}, + + + id_nation_url = #{idNationUrl,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=VARCHAR}, + + + creator = #{creator,jdbcType=VARCHAR}, + + + auditor = #{auditor,jdbcType=INTEGER}, + + + audit_time = #{auditTime,jdbcType=VARCHAR}, + + + audit_remark = #{auditRemark,jdbcType=VARCHAR}, + + + `status` = #{status,jdbcType=VARCHAR}, + + + update_time = #{updateTime,jdbcType=VARCHAR}, + + + where company_id = #{companyId,jdbcType=INTEGER} + + + + + update ma_zlpt.bm_company_info + set company_name = #{companyName,jdbcType=VARCHAR}, + company_type = #{companyType,jdbcType=VARCHAR}, + company_ltd = #{companyLtd,jdbcType=VARCHAR}, + credit_code = #{creditCode,jdbcType=VARCHAR}, + register_address = #{registerAddress,jdbcType=VARCHAR}, + operate_address = #{operateAddress,jdbcType=VARCHAR}, + certificateType = #{certificatetype,jdbcType=VARCHAR}, + id_number = #{idNumber,jdbcType=VARCHAR}, + business_license = #{businessLicense,jdbcType=VARCHAR}, + legal_person = #{legalPerson,jdbcType=VARCHAR}, + invitation_code = #{invitationCode,jdbcType=VARCHAR}, + invitation_co_name = #{invitationCoName,jdbcType=VARCHAR}, + business_scope = #{businessScope,jdbcType=VARCHAR}, + auth_person = #{authPerson,jdbcType=VARCHAR}, + auth_id_number = #{authIdNumber,jdbcType=VARCHAR}, + auth_phone = #{authPhone,jdbcType=VARCHAR}, + auth_document = #{authDocument,jdbcType=VARCHAR}, + id_face_url = #{idFaceUrl,jdbcType=VARCHAR}, + id_nation_url = #{idNationUrl,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=VARCHAR}, + creator = #{creator,jdbcType=VARCHAR}, + auditor = #{auditor,jdbcType=INTEGER}, + audit_time = #{auditTime,jdbcType=VARCHAR}, + audit_remark = #{auditRemark,jdbcType=VARCHAR}, + `status` = #{status,jdbcType=VARCHAR}, + update_time = #{updateTime,jdbcType=VARCHAR} + where company_id = #{companyId,jdbcType=INTEGER} + + + + \ No newline at end of file