diff --git a/ghy-admin/src/main/resources/templates/worker/certification/add.html b/ghy-admin/src/main/resources/templates/worker/certification/add.html
new file mode 100644
index 00000000..db7d6772
--- /dev/null
+++ b/ghy-admin/src/main/resources/templates/worker/certification/add.html
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ghy-admin/src/main/resources/templates/worker/certification/certification.html b/ghy-admin/src/main/resources/templates/worker/certification/certification.html
new file mode 100644
index 00000000..00d9bd1d
--- /dev/null
+++ b/ghy-admin/src/main/resources/templates/worker/certification/certification.html
@@ -0,0 +1,222 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ghy-admin/src/main/resources/templates/worker/certification/edit.html b/ghy-admin/src/main/resources/templates/worker/certification/edit.html
new file mode 100644
index 00000000..6d2a4760
--- /dev/null
+++ b/ghy-admin/src/main/resources/templates/worker/certification/edit.html
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ghy-generator/src/main/resources/generator.yml b/ghy-generator/src/main/resources/generator.yml
index 50c10539..afb69589 100644
--- a/ghy-generator/src/main/resources/generator.yml
+++ b/ghy-generator/src/main/resources/generator.yml
@@ -4,8 +4,8 @@ gen:
# 作者
author: clunt
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
- packageName: com.ghy.system
+ packageName: com.ghy.worker
# 自动去除表前缀,默认是false
autoRemovePre: false
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
- tablePrefix: sys_
\ No newline at end of file
+ tablePrefix: ''
\ No newline at end of file
diff --git a/ghy-worker/src/main/java/com/ghy/worker/controller/WorkerCertificationController.java b/ghy-worker/src/main/java/com/ghy/worker/controller/WorkerCertificationController.java
new file mode 100644
index 00000000..3b7b6396
--- /dev/null
+++ b/ghy-worker/src/main/java/com/ghy/worker/controller/WorkerCertificationController.java
@@ -0,0 +1,127 @@
+package com.ghy.worker.controller;
+
+import java.util.List;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import com.ghy.common.annotation.Log;
+import com.ghy.common.enums.BusinessType;
+import com.ghy.worker.domain.WorkerCertification;
+import com.ghy.worker.service.IWorkerCertificationService;
+import com.ghy.common.core.controller.BaseController;
+import com.ghy.common.core.domain.AjaxResult;
+import com.ghy.common.utils.poi.ExcelUtil;
+import com.ghy.common.core.page.TableDataInfo;
+
+/**
+ * 师傅实名审核Controller
+ *
+ * @author clunt
+ * @date 2022-07-07
+ */
+@Controller
+@RequestMapping("/worker/certification")
+public class WorkerCertificationController extends BaseController
+{
+ private String prefix = "worker/certification";
+
+ @Autowired
+ private IWorkerCertificationService workerCertificationService;
+
+ @RequiresPermissions("worker:certification:view")
+ @GetMapping()
+ public String certification()
+ {
+ return prefix + "/certification";
+ }
+
+ /**
+ * 查询师傅实名审核列表
+ */
+ @RequiresPermissions("worker:certification:list")
+ @PostMapping("/list")
+ @ResponseBody
+ public TableDataInfo list(WorkerCertification workerCertification)
+ {
+ startPage();
+ List list = workerCertificationService.selectWorkerCertificationList(workerCertification);
+ return getDataTable(list);
+ }
+
+ /**
+ * 导出师傅实名审核列表
+ */
+ @RequiresPermissions("worker:certification:export")
+ @Log(title = "师傅实名审核", businessType = BusinessType.EXPORT)
+ @PostMapping("/export")
+ @ResponseBody
+ public AjaxResult export(WorkerCertification workerCertification)
+ {
+ List list = workerCertificationService.selectWorkerCertificationList(workerCertification);
+ ExcelUtil util = new ExcelUtil(WorkerCertification.class);
+ return util.exportExcel(list, "师傅实名审核数据");
+ }
+
+ /**
+ * 新增师傅实名审核
+ */
+ @GetMapping("/add")
+ public String add()
+ {
+ return prefix + "/add";
+ }
+
+ /**
+ * 新增保存师傅实名审核
+ */
+ @RequiresPermissions("worker:certification:add")
+ @Log(title = "师傅实名审核", businessType = BusinessType.INSERT)
+ @PostMapping("/add")
+ @ResponseBody
+ public AjaxResult addSave(WorkerCertification workerCertification)
+ {
+ return toAjax(workerCertificationService.insertWorkerCertification(workerCertification));
+ }
+
+ /**
+ * 修改师傅实名审核
+ */
+ @RequiresPermissions("worker:certification:edit")
+ @GetMapping("/edit/{workerCertificationId}")
+ public String edit(@PathVariable("workerCertificationId") String workerCertificationId, ModelMap mmap)
+ {
+ WorkerCertification workerCertification = workerCertificationService.selectWorkerCertificationByWorkerCertificationId(workerCertificationId);
+ mmap.put("workerCertification", workerCertification);
+ return prefix + "/edit";
+ }
+
+ /**
+ * 修改保存师傅实名审核
+ */
+ @RequiresPermissions("worker:certification:edit")
+ @Log(title = "师傅实名审核", businessType = BusinessType.UPDATE)
+ @PostMapping("/edit")
+ @ResponseBody
+ public AjaxResult editSave(WorkerCertification workerCertification)
+ {
+ return toAjax(workerCertificationService.updateWorkerCertification(workerCertification));
+ }
+
+ /**
+ * 删除师傅实名审核
+ */
+ @RequiresPermissions("worker:certification:remove")
+ @Log(title = "师傅实名审核", businessType = BusinessType.DELETE)
+ @PostMapping( "/remove")
+ @ResponseBody
+ public AjaxResult remove(String ids)
+ {
+ return toAjax(workerCertificationService.deleteWorkerCertificationByWorkerCertificationIds(ids));
+ }
+}
diff --git a/ghy-worker/src/main/java/com/ghy/worker/domain/WorkerCertification.java b/ghy-worker/src/main/java/com/ghy/worker/domain/WorkerCertification.java
new file mode 100644
index 00000000..787b9cb0
--- /dev/null
+++ b/ghy-worker/src/main/java/com/ghy/worker/domain/WorkerCertification.java
@@ -0,0 +1,294 @@
+package com.ghy.worker.domain;
+
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ghy.common.annotation.Excel;
+import com.ghy.common.core.domain.BaseEntity;
+
+/**
+ * 师傅实名审核对象 worker_certification
+ *
+ * @author clunt
+ * @date 2022-07-07
+ */
+public class WorkerCertification extends BaseEntity
+{
+ private static final long serialVersionUID = 1L;
+
+ /** 主键id */
+ private String workerCertificationId;
+
+ /** 师傅者id */
+ @Excel(name = "师傅者id")
+ private String workerId;
+
+ /** 真实姓名 */
+ @Excel(name = "真实姓名")
+ private String name;
+
+ /** 身份证号 */
+ @Excel(name = "身份证号")
+ private String idCardNum;
+
+ /** 身份证照片1 */
+ @Excel(name = "身份证照片1")
+ private String idCardUrl1;
+
+ /** 身份证照片2 */
+ @Excel(name = "身份证照片2")
+ private String idCardUrl2;
+
+ /** 品牌名称 */
+ @Excel(name = "品牌名称")
+ private String brandName;
+
+ /** 公司规模 0:1-3人 1:3-10人 2:10-50人 */
+ @Excel(name = "公司规模 0:1-3人 1:3-10人 2:10-50人")
+ private Long companySize;
+
+ /** 公司名称 */
+ @Excel(name = "公司名称")
+ private String companyName;
+
+ /** 执照号码 */
+ @Excel(name = "执照号码")
+ private String businessLicenseNum;
+
+ /** 执照号码照片 */
+ @Excel(name = "执照号码照片")
+ private String businessLicenseUrl;
+
+ /** 公司地址所在省id */
+ @Excel(name = "公司地址所在省id")
+ private Long companyProvinceId;
+
+ /** 公司地址所在市id */
+ @Excel(name = "公司地址所在市id")
+ private Long companyCityId;
+
+ /** 公司地址所在区id */
+ @Excel(name = "公司地址所在区id")
+ private Long companyCountryId;
+
+ /** 公司详细地址 */
+ @Excel(name = "公司详细地址")
+ private String companyAddress;
+
+ /** 法人名称 */
+ @Excel(name = "法人名称")
+ private String legalPersionName;
+
+ /** 法人联系电话 */
+ @Excel(name = "法人联系电话")
+ private String legalPersionPhoneNum;
+
+ /** 其他服务 0:货拉拉/速运 1:提供搬货 2本地跑腿 */
+ @Excel(name = "其他服务 0:货拉拉/速运 1:提供搬货 2本地跑腿")
+ private String otherServ;
+
+ /** 状态0审核中 1审核通过 2审核未通过 */
+ @Excel(name = "状态0审核中 1审核通过 2审核未通过")
+ private Long status;
+
+ public void setWorkerCertificationId(String workerCertificationId)
+ {
+ this.workerCertificationId = workerCertificationId;
+ }
+
+ public String getWorkerCertificationId()
+ {
+ return workerCertificationId;
+ }
+ public void setWorkerId(String workerId)
+ {
+ this.workerId = workerId;
+ }
+
+ public String getWorkerId()
+ {
+ return workerId;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+ public void setIdCardNum(String idCardNum)
+ {
+ this.idCardNum = idCardNum;
+ }
+
+ public String getIdCardNum()
+ {
+ return idCardNum;
+ }
+ public void setIdCardUrl1(String idCardUrl1)
+ {
+ this.idCardUrl1 = idCardUrl1;
+ }
+
+ public String getIdCardUrl1()
+ {
+ return idCardUrl1;
+ }
+ public void setIdCardUrl2(String idCardUrl2)
+ {
+ this.idCardUrl2 = idCardUrl2;
+ }
+
+ public String getIdCardUrl2()
+ {
+ return idCardUrl2;
+ }
+ public void setBrandName(String brandName)
+ {
+ this.brandName = brandName;
+ }
+
+ public String getBrandName()
+ {
+ return brandName;
+ }
+ public void setCompanySize(Long companySize)
+ {
+ this.companySize = companySize;
+ }
+
+ public Long getCompanySize()
+ {
+ return companySize;
+ }
+ public void setCompanyName(String companyName)
+ {
+ this.companyName = companyName;
+ }
+
+ public String getCompanyName()
+ {
+ return companyName;
+ }
+ public void setBusinessLicenseNum(String businessLicenseNum)
+ {
+ this.businessLicenseNum = businessLicenseNum;
+ }
+
+ public String getBusinessLicenseNum()
+ {
+ return businessLicenseNum;
+ }
+ public void setBusinessLicenseUrl(String businessLicenseUrl)
+ {
+ this.businessLicenseUrl = businessLicenseUrl;
+ }
+
+ public String getBusinessLicenseUrl()
+ {
+ return businessLicenseUrl;
+ }
+ public void setCompanyProvinceId(Long companyProvinceId)
+ {
+ this.companyProvinceId = companyProvinceId;
+ }
+
+ public Long getCompanyProvinceId()
+ {
+ return companyProvinceId;
+ }
+ public void setCompanyCityId(Long companyCityId)
+ {
+ this.companyCityId = companyCityId;
+ }
+
+ public Long getCompanyCityId()
+ {
+ return companyCityId;
+ }
+ public void setCompanyCountryId(Long companyCountryId)
+ {
+ this.companyCountryId = companyCountryId;
+ }
+
+ public Long getCompanyCountryId()
+ {
+ return companyCountryId;
+ }
+ public void setCompanyAddress(String companyAddress)
+ {
+ this.companyAddress = companyAddress;
+ }
+
+ public String getCompanyAddress()
+ {
+ return companyAddress;
+ }
+ public void setLegalPersionName(String legalPersionName)
+ {
+ this.legalPersionName = legalPersionName;
+ }
+
+ public String getLegalPersionName()
+ {
+ return legalPersionName;
+ }
+ public void setLegalPersionPhoneNum(String legalPersionPhoneNum)
+ {
+ this.legalPersionPhoneNum = legalPersionPhoneNum;
+ }
+
+ public String getLegalPersionPhoneNum()
+ {
+ return legalPersionPhoneNum;
+ }
+ public void setOtherServ(String otherServ)
+ {
+ this.otherServ = otherServ;
+ }
+
+ public String getOtherServ()
+ {
+ return otherServ;
+ }
+ public void setStatus(Long status)
+ {
+ this.status = status;
+ }
+
+ public Long getStatus()
+ {
+ return status;
+ }
+
+ @Override
+ public String toString() {
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+ .append("workerCertificationId", getWorkerCertificationId())
+ .append("workerId", getWorkerId())
+ .append("name", getName())
+ .append("idCardNum", getIdCardNum())
+ .append("idCardUrl1", getIdCardUrl1())
+ .append("idCardUrl2", getIdCardUrl2())
+ .append("brandName", getBrandName())
+ .append("companySize", getCompanySize())
+ .append("companyName", getCompanyName())
+ .append("businessLicenseNum", getBusinessLicenseNum())
+ .append("businessLicenseUrl", getBusinessLicenseUrl())
+ .append("companyProvinceId", getCompanyProvinceId())
+ .append("companyCityId", getCompanyCityId())
+ .append("companyCountryId", getCompanyCountryId())
+ .append("companyAddress", getCompanyAddress())
+ .append("legalPersionName", getLegalPersionName())
+ .append("legalPersionPhoneNum", getLegalPersionPhoneNum())
+ .append("otherServ", getOtherServ())
+ .append("status", getStatus())
+ .append("createBy", getCreateBy())
+ .append("createTime", getCreateTime())
+ .append("updateBy", getUpdateBy())
+ .append("updateTime", getUpdateTime())
+ .append("remark", getRemark())
+ .toString();
+ }
+}
diff --git a/ghy-worker/src/main/java/com/ghy/worker/mapper/WorkerCertificationMapper.java b/ghy-worker/src/main/java/com/ghy/worker/mapper/WorkerCertificationMapper.java
new file mode 100644
index 00000000..d3449fa2
--- /dev/null
+++ b/ghy-worker/src/main/java/com/ghy/worker/mapper/WorkerCertificationMapper.java
@@ -0,0 +1,61 @@
+package com.ghy.worker.mapper;
+
+import java.util.List;
+import com.ghy.worker.domain.WorkerCertification;
+
+/**
+ * 师傅实名审核Mapper接口
+ *
+ * @author clunt
+ * @date 2022-07-07
+ */
+public interface WorkerCertificationMapper
+{
+ /**
+ * 查询师傅实名审核
+ *
+ * @param workerCertificationId 师傅实名审核主键
+ * @return 师傅实名审核
+ */
+ public WorkerCertification selectWorkerCertificationByWorkerCertificationId(String workerCertificationId);
+
+ /**
+ * 查询师傅实名审核列表
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 师傅实名审核集合
+ */
+ public List selectWorkerCertificationList(WorkerCertification workerCertification);
+
+ /**
+ * 新增师傅实名审核
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 结果
+ */
+ public int insertWorkerCertification(WorkerCertification workerCertification);
+
+ /**
+ * 修改师傅实名审核
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 结果
+ */
+ public int updateWorkerCertification(WorkerCertification workerCertification);
+
+ /**
+ * 删除师傅实名审核
+ *
+ * @param workerCertificationId 师傅实名审核主键
+ * @return 结果
+ */
+ public int deleteWorkerCertificationByWorkerCertificationId(String workerCertificationId);
+
+ /**
+ * 批量删除师傅实名审核
+ *
+ * @param workerCertificationIds 需要删除的数据主键集合
+ * @return 结果
+ */
+ public int deleteWorkerCertificationByWorkerCertificationIds(String[] workerCertificationIds);
+}
diff --git a/ghy-worker/src/main/java/com/ghy/worker/service/IWorkerCertificationService.java b/ghy-worker/src/main/java/com/ghy/worker/service/IWorkerCertificationService.java
new file mode 100644
index 00000000..b5db4515
--- /dev/null
+++ b/ghy-worker/src/main/java/com/ghy/worker/service/IWorkerCertificationService.java
@@ -0,0 +1,61 @@
+package com.ghy.worker.service;
+
+import java.util.List;
+import com.ghy.worker.domain.WorkerCertification;
+
+/**
+ * 师傅实名审核Service接口
+ *
+ * @author clunt
+ * @date 2022-07-07
+ */
+public interface IWorkerCertificationService
+{
+ /**
+ * 查询师傅实名审核
+ *
+ * @param workerCertificationId 师傅实名审核主键
+ * @return 师傅实名审核
+ */
+ public WorkerCertification selectWorkerCertificationByWorkerCertificationId(String workerCertificationId);
+
+ /**
+ * 查询师傅实名审核列表
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 师傅实名审核集合
+ */
+ public List selectWorkerCertificationList(WorkerCertification workerCertification);
+
+ /**
+ * 新增师傅实名审核
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 结果
+ */
+ public int insertWorkerCertification(WorkerCertification workerCertification);
+
+ /**
+ * 修改师傅实名审核
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 结果
+ */
+ public int updateWorkerCertification(WorkerCertification workerCertification);
+
+ /**
+ * 批量删除师傅实名审核
+ *
+ * @param workerCertificationIds 需要删除的师傅实名审核主键集合
+ * @return 结果
+ */
+ public int deleteWorkerCertificationByWorkerCertificationIds(String workerCertificationIds);
+
+ /**
+ * 删除师傅实名审核信息
+ *
+ * @param workerCertificationId 师傅实名审核主键
+ * @return 结果
+ */
+ public int deleteWorkerCertificationByWorkerCertificationId(String workerCertificationId);
+}
diff --git a/ghy-worker/src/main/java/com/ghy/worker/service/impl/WorkerCertificationServiceImpl.java b/ghy-worker/src/main/java/com/ghy/worker/service/impl/WorkerCertificationServiceImpl.java
new file mode 100644
index 00000000..f8265731
--- /dev/null
+++ b/ghy-worker/src/main/java/com/ghy/worker/service/impl/WorkerCertificationServiceImpl.java
@@ -0,0 +1,97 @@
+package com.ghy.worker.service.impl;
+
+import java.util.List;
+import com.ghy.common.utils.DateUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ghy.worker.mapper.WorkerCertificationMapper;
+import com.ghy.worker.domain.WorkerCertification;
+import com.ghy.worker.service.IWorkerCertificationService;
+import com.ghy.common.core.text.Convert;
+
+/**
+ * 师傅实名审核Service业务层处理
+ *
+ * @author clunt
+ * @date 2022-07-07
+ */
+@Service
+public class WorkerCertificationServiceImpl implements IWorkerCertificationService
+{
+ @Autowired
+ private WorkerCertificationMapper workerCertificationMapper;
+
+ /**
+ * 查询师傅实名审核
+ *
+ * @param workerCertificationId 师傅实名审核主键
+ * @return 师傅实名审核
+ */
+ @Override
+ public WorkerCertification selectWorkerCertificationByWorkerCertificationId(String workerCertificationId)
+ {
+ return workerCertificationMapper.selectWorkerCertificationByWorkerCertificationId(workerCertificationId);
+ }
+
+ /**
+ * 查询师傅实名审核列表
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 师傅实名审核
+ */
+ @Override
+ public List selectWorkerCertificationList(WorkerCertification workerCertification)
+ {
+ return workerCertificationMapper.selectWorkerCertificationList(workerCertification);
+ }
+
+ /**
+ * 新增师傅实名审核
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 结果
+ */
+ @Override
+ public int insertWorkerCertification(WorkerCertification workerCertification)
+ {
+ workerCertification.setCreateTime(DateUtils.getNowDate());
+ return workerCertificationMapper.insertWorkerCertification(workerCertification);
+ }
+
+ /**
+ * 修改师傅实名审核
+ *
+ * @param workerCertification 师傅实名审核
+ * @return 结果
+ */
+ @Override
+ public int updateWorkerCertification(WorkerCertification workerCertification)
+ {
+ workerCertification.setUpdateTime(DateUtils.getNowDate());
+ return workerCertificationMapper.updateWorkerCertification(workerCertification);
+ }
+
+ /**
+ * 批量删除师傅实名审核
+ *
+ * @param workerCertificationIds 需要删除的师傅实名审核主键
+ * @return 结果
+ */
+ @Override
+ public int deleteWorkerCertificationByWorkerCertificationIds(String workerCertificationIds)
+ {
+ return workerCertificationMapper.deleteWorkerCertificationByWorkerCertificationIds(Convert.toStrArray(workerCertificationIds));
+ }
+
+ /**
+ * 删除师傅实名审核信息
+ *
+ * @param workerCertificationId 师傅实名审核主键
+ * @return 结果
+ */
+ @Override
+ public int deleteWorkerCertificationByWorkerCertificationId(String workerCertificationId)
+ {
+ return workerCertificationMapper.deleteWorkerCertificationByWorkerCertificationId(workerCertificationId);
+ }
+}
diff --git a/ghy-worker/src/main/resources/mapper/worker/WorkerCertificationMapper.xml b/ghy-worker/src/main/resources/mapper/worker/WorkerCertificationMapper.xml
new file mode 100644
index 00000000..3ef55251
--- /dev/null
+++ b/ghy-worker/src/main/resources/mapper/worker/WorkerCertificationMapper.xml
@@ -0,0 +1,162 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select worker_certification_id, worker_id, name, id_card_num, id_card_url_1, id_card_url_2, brand_name, company_size, company_name, business_license_num, business_license_url, company_province_id, company_city_id, company_country_id, company_address, legal_persion_name, legal_persion_phone_num, other_serv, status, create_by, create_time, update_by, update_time, remark from worker_certification
+
+
+
+
+
+
+
+ insert into worker_certification
+
+ worker_id,
+ name,
+ id_card_num,
+ id_card_url_1,
+ id_card_url_2,
+ brand_name,
+ company_size,
+ company_name,
+ business_license_num,
+ business_license_url,
+ company_province_id,
+ company_city_id,
+ company_country_id,
+ company_address,
+ legal_persion_name,
+ legal_persion_phone_num,
+ other_serv,
+ status,
+ create_by,
+ create_time,
+ update_by,
+ update_time,
+ remark,
+
+
+ #{workerId},
+ #{name},
+ #{idCardNum},
+ #{idCardUrl1},
+ #{idCardUrl2},
+ #{brandName},
+ #{companySize},
+ #{companyName},
+ #{businessLicenseNum},
+ #{businessLicenseUrl},
+ #{companyProvinceId},
+ #{companyCityId},
+ #{companyCountryId},
+ #{companyAddress},
+ #{legalPersionName},
+ #{legalPersionPhoneNum},
+ #{otherServ},
+ #{status},
+ #{createBy},
+ #{createTime},
+ #{updateBy},
+ #{updateTime},
+ #{remark},
+
+
+
+
+ update worker_certification
+
+ worker_id = #{workerId},
+ name = #{name},
+ id_card_num = #{idCardNum},
+ id_card_url_1 = #{idCardUrl1},
+ id_card_url_2 = #{idCardUrl2},
+ brand_name = #{brandName},
+ company_size = #{companySize},
+ company_name = #{companyName},
+ business_license_num = #{businessLicenseNum},
+ business_license_url = #{businessLicenseUrl},
+ company_province_id = #{companyProvinceId},
+ company_city_id = #{companyCityId},
+ company_country_id = #{companyCountryId},
+ company_address = #{companyAddress},
+ legal_persion_name = #{legalPersionName},
+ legal_persion_phone_num = #{legalPersionPhoneNum},
+ other_serv = #{otherServ},
+ status = #{status},
+ create_by = #{createBy},
+ create_time = #{createTime},
+ update_by = #{updateBy},
+ update_time = #{updateTime},
+ remark = #{remark},
+
+ where worker_certification_id = #{workerCertificationId}
+
+
+
+ delete from worker_certification where worker_certification_id = #{workerCertificationId}
+
+
+
+ delete from worker_certification where worker_certification_id in
+
+ #{workerCertificationId}
+
+
+
+
\ No newline at end of file