From 14e7e11f2ae491b2c524fa256361e73235e12791 Mon Sep 17 00:00:00 2001 From: WenShiJun Date: Fri, 1 Mar 2024 18:04:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BB=8E=E4=B8=9A=E4=BA=BA?= =?UTF-8?q?=E5=91=98=E7=AE=A1=E7=90=86=E7=9B=B8=E5=85=B3=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TrafficSafetyMeetingController.java | 3 +- ...ficSecurityEmployeesDetailsController.java | 64 +++++++ ...urityPractitionerManagementController.java | 152 +++++++++++++++++ ...TrafficSecurityEmployeesDetailsMapper.java | 24 +++ ...cSecurityPractitionerManagementMapper.java | 8 + .../TrafficSecurityEmployeesDetailsImpl.java | 25 +++ ...rafficSecurityEmployeesDetailsService.java | 12 ++ ...SecurityPractitionerManagementService.java | 18 ++ ...rityPractitionerManagementServiceImpl.java | 39 +++++ .../TrafficSecurityEmployeesDetailsMapper.xml | 160 ++++++++++++++++++ ...icSecurityPractitionerManagementMapper.xml | 93 ++++++---- 11 files changed, 564 insertions(+), 34 deletions(-) create mode 100644 src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityEmployeesDetailsController.java create mode 100644 src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityPractitionerManagementController.java create mode 100644 src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.java create mode 100644 src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsImpl.java create mode 100644 src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsService.java create mode 100644 src/main/java/com/zcloud/service/comprehensive/TrafficSecurityPractitionerManagementService.java create mode 100644 src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityPractitionerManagementServiceImpl.java create mode 100644 src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.xml diff --git a/src/main/java/com/zcloud/controller/comprehensive/TrafficSafetyMeetingController.java b/src/main/java/com/zcloud/controller/comprehensive/TrafficSafetyMeetingController.java index b83570f..671e8a5 100644 --- a/src/main/java/com/zcloud/controller/comprehensive/TrafficSafetyMeetingController.java +++ b/src/main/java/com/zcloud/controller/comprehensive/TrafficSafetyMeetingController.java @@ -35,11 +35,12 @@ public class TrafficSafetyMeetingController extends BaseController { PageData pd = this.getPageData(); String safety_meeting_id = this.get32UUID(); - + pd.put("CREATOR", Jurisdiction.getUSER_ID()); // 创建人id pd.put("CREATORNAME", Jurisdiction.getName()); // 创建人姓名 pd.put("SAFETY_MEETING_ID", safety_meeting_id); // 主键 pd.put("CREATETIME", DateUtil.date2Str(new Date())); // 添加时间 + pd.put("TRANSPORTATIONCOMPANY", Jurisdiction.getCORPINFO_ID()); // 运输企业 pd.put("MEETING_STATUS", "0"); // 会议状态 pd.put("MEETING_PERSONS", "0"); // 参会人数 pd.put("ISDELETE", "0"); diff --git a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityEmployeesDetailsController.java b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityEmployeesDetailsController.java new file mode 100644 index 0000000..21049b1 --- /dev/null +++ b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityEmployeesDetailsController.java @@ -0,0 +1,64 @@ +package com.zcloud.controller.comprehensive; + +import com.zcloud.controller.base.BaseController; +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; +import com.zcloud.service.comprehensive.TrafficSecurityEmployeesDetailsService; +import com.zcloud.util.DateUtil; +import com.zcloud.util.Jurisdiction; +import com.zcloud.util.Tools; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Controller +@RequestMapping("/employeesdetails") +public class TrafficSecurityEmployeesDetailsController extends BaseController { + @Autowired + private TrafficSecurityEmployeesDetailsService detailsService; + + //新增 + @RequestMapping(value = "/add") + @ResponseBody + public Object add() throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = this.getPageData(); + String employeesdetails_id = this.get32UUID(); + + pd.put("CREATOR", Jurisdiction.getUSER_ID()); // 创建人id + pd.put("CREATORNAME", Jurisdiction.getName()); // 创建人姓名 + pd.put("EMPLOYEESDETAILS_ID", employeesdetails_id); // 主键 + pd.put("CREATETIME", DateUtil.date2Str(new Date())); // 添加时间 + pd.put("ISDELETE", "0"); + + detailsService.save(pd); + + map.put("result", errInfo); + map.put("pd", pd); + return map; + } + + @RequestMapping(value = "/listForEmployeesDetails") + @ResponseBody + public Object listForEmployeesDetails(Page page) throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + + page.setPd(pd); + List varList = detailsService.listForEmployeesDetails(page); + + map.put("varList", varList); + map.put("page", page); + map.put("result", errInfo); + return map; + } +} diff --git a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityPractitionerManagementController.java b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityPractitionerManagementController.java new file mode 100644 index 0000000..924c636 --- /dev/null +++ b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityPractitionerManagementController.java @@ -0,0 +1,152 @@ +package com.zcloud.controller.comprehensive; + +import com.zcloud.controller.base.BaseController; +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; +import com.zcloud.service.comprehensive.TrafficSecurityEmployeesDetailsService; +import com.zcloud.service.comprehensive.TrafficSecurityPractitionerManagementService; +import com.zcloud.util.DateUtil; +import com.zcloud.util.Jurisdiction; +import com.zcloud.util.Tools; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@Controller +@RequestMapping("/practitionermanagement") +public class TrafficSecurityPractitionerManagementController extends BaseController { + @Autowired + private TrafficSecurityPractitionerManagementService providerManagementService; + @Autowired + private TrafficSecurityEmployeesDetailsService detailsService; + //新增 + @RequestMapping(value = "/add") + @ResponseBody + public Object add() throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = this.getPageData(); + String practitionerId = this.get32UUID(); + String employeesdetails_id = this.get32UUID(); + + pd.put("CREATOR", Jurisdiction.getUSER_ID()); // 创建人id + pd.put("CREATORNAME", Jurisdiction.getName()); // 创建人姓名 + pd.put("TRANSPORTATIONCOMPANY", Jurisdiction.getCORPINFO_ID()); // 运输企业 + pd.put("PRACTITIONER_ID", practitionerId); // 主键 + pd.put("CREATETIME", DateUtil.date2Str(new Date())); // 添加时间 + pd.put("ISDELETE", "0"); + + providerManagementService.save(pd); + + pd.put("EMPLOYEESDETAILS_ID", employeesdetails_id); + + detailsService.save(pd); + + map.put("result", errInfo); + map.put("pd", pd); + return map; + } + + @RequestMapping(value = "/listForPractitionerManagement") + @ResponseBody + public Object listForPractitionerManagement(Page page) throws Exception { + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + + String PRACTITIONER = pd.getString("PRACTITIONER"); // 关键词检索条件 + if (Tools.notEmpty(PRACTITIONER)) + pd.put("PRACTITIONER", PRACTITIONER.trim()); + + String CONTACTPHONE = pd.getString("CONTACTPHONE"); // 关键词检索条件 + if (Tools.notEmpty(CONTACTPHONE)) + pd.put("CONTACTPHONE", CONTACTPHONE.trim()); + + String IDNUMBER = pd.getString("IDNUMBER"); // 关键词检索条件 + if (Tools.notEmpty(IDNUMBER)) + pd.put("IDNUMBER", IDNUMBER.trim()); + + String DRIVINGVEHICLE = pd.getString("DRIVINGVEHICLE"); // 关键词检索条件 + if (Tools.notEmpty(DRIVINGVEHICLE)) + pd.put("DRIVINGVEHICLE", DRIVINGVEHICLE.trim()); + + String EMPLOYMENTTYPE = pd.getString("EMPLOYMENTTYPE"); // 关键词检索条件 + if (Tools.notEmpty(EMPLOYMENTTYPE)) + pd.put("EMPLOYMENTTYPE", EMPLOYMENTTYPE.trim()); + + String PERSONNELSTATUS = pd.getString("PERSONNELSTATUS"); // 关键词检索条件 + if (Tools.notEmpty(PERSONNELSTATUS)) + pd.put("PERSONNELSTATUS", PERSONNELSTATUS.trim()); + + String FACEAUTHENTICATION = pd.getString("FACEAUTHENTICATION"); // 关键词检索条件 + if (Tools.notEmpty(FACEAUTHENTICATION)) + pd.put("FACEAUTHENTICATION", FACEAUTHENTICATION.trim()); + + String DRIVINGLICENSEAUTHENTICATION = pd.getString("DRIVINGLICENSEAUTHENTICATION"); // 关键词检索条件 + if (Tools.notEmpty(DRIVINGLICENSEAUTHENTICATION)) + pd.put("DRIVINGLICENSEAUTHENTICATION", DRIVINGLICENSEAUTHENTICATION.trim()); + + String PROFESSIONALQUALIFICATION = pd.getString("PROFESSIONALQUALIFICATION"); // 关键词检索条件 + if (Tools.notEmpty(PROFESSIONALQUALIFICATION)) + pd.put("PROFESSIONALQUALIFICATION", PROFESSIONALQUALIFICATION.trim()); + + String OPERATINGCOMPANY = pd.getString("OPERATINGCOMPANY"); // 关键词检索条件 + if (Tools.notEmpty(OPERATINGCOMPANY)) + pd.put("OPERATINGCOMPANY", OPERATINGCOMPANY.trim()); + + page.setPd(pd); + List varList = providerManagementService.listForPractitionerManagement(page); + + map.put("varList", varList); + map.put("page", page); + map.put("result", errInfo); + return map; + } + + /** + * 修改详情 + * @return + * @throws Exception + */ + @RequestMapping(value="/goEdit") + // @RequiresPermissions("traininginfo:edit") + @ResponseBody + public Object goEdit() throws Exception{ + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + pd = providerManagementService.findById(pd); //根据ID读取 + map.put("pd", pd); + map.put("result", errInfo); + return map; + } + + /**解聘 + * @param + * @throws Exception + */ + @RequestMapping(value="/delete") + // @RequiresPermissions("traininginfo:del") + @ResponseBody + public Object delete() throws Exception{ + Map map = new HashMap(); + String errInfo = "success"; + PageData pd = new PageData(); + pd = this.getPageData(); + pd.put("DELETOR", Jurisdiction.getUSER_ID()); //删除人id + pd.put("DELETORNAME", Jurisdiction.getUsername()); //删除人姓名 + pd.put("DELETETIME", DateUtil.date2Str(new Date())); //删除时间 + providerManagementService.delete(pd); + map.put("result", errInfo); //返回结果 + return map; + } + +} diff --git a/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.java b/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.java new file mode 100644 index 0000000..bb7d3c7 --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.java @@ -0,0 +1,24 @@ +package com.zcloud.mapper.datasource.comprehensive; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; + +@Mapper +public interface TrafficSecurityEmployeesDetailsMapper { + /** + * 新增 + * @param page + * @return + */ + void save(PageData pd); + + /** + * 列表 + * @param page + * @return + */ + List datalistPage(Page page); +} diff --git a/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.java b/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.java index 993d54a..9887c71 100644 --- a/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.java +++ b/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.java @@ -20,4 +20,12 @@ public interface TrafficSecurityPractitionerManagementMapper { * @return */ List datalistPage(Page page); + + /**通过id获取数据 + * @param pd + * @throws Exception + */ + PageData findById(PageData pd); + + void delete(PageData pd); } diff --git a/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsImpl.java b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsImpl.java new file mode 100644 index 0000000..caa6462 --- /dev/null +++ b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsImpl.java @@ -0,0 +1,25 @@ +package com.zcloud.service.comprehensive; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; +import com.zcloud.mapper.datasource.comprehensive.TrafficSecurityEmployeesDetailsMapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class TrafficSecurityEmployeesDetailsImpl implements TrafficSecurityEmployeesDetailsService{ + @Autowired + private TrafficSecurityEmployeesDetailsMapper ecoDetailsMapper; + + @Override + public void save(PageData pd) { + ecoDetailsMapper.save(pd); + } + + @Override + public List listForEmployeesDetails(Page page) { + return ecoDetailsMapper.datalistPage(page); + } +} diff --git a/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsService.java b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsService.java new file mode 100644 index 0000000..ac10330 --- /dev/null +++ b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityEmployeesDetailsService.java @@ -0,0 +1,12 @@ +package com.zcloud.service.comprehensive; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; + +import java.util.List; + +public interface TrafficSecurityEmployeesDetailsService { + void save(PageData pd); + + List listForEmployeesDetails(Page page); +} diff --git a/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityPractitionerManagementService.java b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityPractitionerManagementService.java new file mode 100644 index 0000000..569feb6 --- /dev/null +++ b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityPractitionerManagementService.java @@ -0,0 +1,18 @@ +package com.zcloud.service.comprehensive; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; + +public interface TrafficSecurityPractitionerManagementService { + + void save(PageData pd); + + List listForPractitionerManagement(Page page); + + PageData findById(PageData pd) throws Exception; + + void delete(PageData pd); +} diff --git a/src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityPractitionerManagementServiceImpl.java b/src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityPractitionerManagementServiceImpl.java new file mode 100644 index 0000000..97d7833 --- /dev/null +++ b/src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityPractitionerManagementServiceImpl.java @@ -0,0 +1,39 @@ +package com.zcloud.service.comprehensive.impl; + +import com.zcloud.entity.Page; +import com.zcloud.entity.PageData; +import com.zcloud.mapper.datasource.comprehensive.TrafficSecurityPractitionerManagementMapper; +import com.zcloud.service.comprehensive.TrafficSecurityPractitionerManagementService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.util.List; + +@Service +public class TrafficSecurityPractitionerManagementServiceImpl implements TrafficSecurityPractitionerManagementService { + @Autowired + private TrafficSecurityPractitionerManagementMapper practitionerManagementMapper; + + @Override + public void save(PageData pd) { + practitionerManagementMapper.save(pd); + } + + @Override + public List listForPractitionerManagement(Page page) { + return practitionerManagementMapper.datalistPage(page); + } + + /**通过id获取数据 + * @param pd + */ + @Override + public PageData findById(PageData pd)throws Exception { + return practitionerManagementMapper.findById(pd); + } + + @Override + public void delete(PageData pd) { + practitionerManagementMapper.delete(pd); + } +} diff --git a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.xml b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.xml new file mode 100644 index 0000000..8f7807b --- /dev/null +++ b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityEmployeesDetailsMapper.xml @@ -0,0 +1,160 @@ + + + + + BUS_TRAFFIC_EMPLOYEES_DETAILS + + + + + SYS_DICTIONARIES + + + + f.EMPLOYEEDETAILS_ID, + f.PRACTITIONER_ID, + f.EMPLOYEENAME, + f.GENDER, + f.EMPLOYMENTTYPE, + f.INDUSTRY, + f.ENTRYDATE, + f.HOMEADDRESS, + f.OPERATINGCOMPANY, + f.BUSINESSTYPE, + f.DATEOFBIRTH, + f.VALIDUNTIL, + f.IDCARDFRONT, + f.IDCARDBACK, + f.DRIVINGLICENSENUMBER, + f.VEHICLETYPE, + f.NATIONALITY, + f.VALIDYEARS, + f.EXPIRYDATE, + f.LICENSEFIRSTISSUEDDATE, + f.ISSUINGUNIT, + f.CERTIFICATESTATUS, + f.IDENTITYTYPE, + f.CERTIFICATEFIRSTISSUEDATE, + f.CERTIFICATEEXPIRYDATE, + f.DRIVINGVEHICLE, + f.EMAIL, + f.EDUCATIONALLEVEL, + f.ADDRESS, + f.ISDELETE, + f.DELETOR, + f.DELETETIME, + f.CREATOR, + f.CREATETIME, + f.OPERATOR, + f.OPERATTIME + + + + + EMPLOYEEDETAILS_ID, + PRACTITIONER_ID, + EMPLOYEENAME, + GENDER, + EMPLOYMENTTYPE, + INDUSTRY, + ENTRYDATE, + HOMEADDRESS, + OPERATINGCOMPANY, + BUSINESSTYPE, + DATEOFBIRTH, + VALIDUNTIL, + IDCARDFRONT, + IDCARDBACK, + DRIVINGLICENSENUMBER, + VEHICLETYPE, + NATIONALITY, + VALIDYEARS, + EXPIRYDATE, + LICENSEFIRSTISSUEDDATE, + ISSUINGUNIT, + CERTIFICATESTATUS, + IDENTITYTYPE, + CERTIFICATEFIRSTISSUEDATE, + CERTIFICATEEXPIRYDATE, + DRIVINGVEHICLE, + EMAIL, + EDUCATIONALLEVEL, + ADDRESS, + ISDELETE, + DELETOR, + DELETETIME, + CREATOR, + CREATETIME, + OPERATOR, + OPERATTIME + + + + + #{EMPLOYEEDETAILS_ID}, + #{PRACTITIONER_ID}, + #{EMPLOYEENAME}, + #{GENDER}, + #{EMPLOYMENTTYPE}, + #{INDUSTRY}, + #{ENTRYDATE}, + #{HOMEADDRESS}, + #{OPERATINGCOMPANY}, + #{BUSINESSTYPE}, + #{DATEOFBIRTH}, + #{VALIDUNTIL}, + #{IDCARDFRONT}, + #{IDCARDBACK}, + #{DRIVINGLICENSENUMBER}, + #{VEHICLETYPE}, + #{NATIONALITY}, + #{VALIDYEARS}, + #{EXPIRYDATE}, + #{LICENSEFIRSTISSUEDDATE}, + #{ISSUINGUNIT}, + #{CERTIFICATESTATUS}, + #{IDENTITYTYPE}, + #{CERTIFICATEFIRSTISSUEDATE}, + #{CERTIFICATEEXPIRYDATE}, + #{DRIVINGVEHICLE}, + #{EMAIL}, + #{EDUCATIONALLEVEL}, + #{ADDRESS}, + #{ISDELETE}, + #{DELETOR}, + #{DELETETIME}, + #{CREATOR}, + #{CREATETIME}, + #{OPERATOR}, + #{OPERATORNAME}, + #{OPERATTIME} + + + + + insert into + + ( + + ) values ( + + ) + + + + + diff --git a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.xml b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.xml index dcd4bf6..88da11a 100644 --- a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.xml +++ b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.xml @@ -13,22 +13,15 @@ f.PRACTITIONER_ID, - f.PRACTITIONER, - f.PRACTITIONERSTATUS, - f.PRACTITIONERTYPE, - f.CONTACTPHONE, - f.DRIVINGVEHICLE, - f.IDNUMBER, - f.ENTRYTIME, - f.EXPIRATIONTIME, - f.BELONGINGDEPARTMENT, f.TRANSPORTENTERPRISE, + f.PERSONNELSTATUS, f.FACEAUTHENTICATION, f.IDENTITYAUTHENTICATION, f.DRIVINGLICENSEAUTHENTICATION, f.PROFESSIONALQUALIFICATION, - f.CONTRACTAUTHENTICATION, + f.REASONDISMISSAL, f.ISDELETE, + f.PHYSICALCERTIFICATION, f.DELETOR, f.DELETORNAME, f.DELETETIME, @@ -43,22 +36,15 @@ PRACTITIONER_ID, - PRACTITIONER, - PRACTITIONERSTATUS, - PRACTITIONERTYPE, - CONTACTPHONE, - DRIVINGVEHICLE, - IDNUMBER, - ENTRYTIME, - EXPIRATIONTIME, - BELONGINGDEPARTMENT, TRANSPORTENTERPRISE, + PERSONNELSTATUS, FACEAUTHENTICATION, IDENTITYAUTHENTICATION, DRIVINGLICENSEAUTHENTICATION, PROFESSIONALQUALIFICATION, - CONTRACTAUTHENTICATION, + REASONDISMISSAL, ISDELETE, + PHYSICALCERTIFICATION, DELETOR, DELETORNAME, DELETETIME, @@ -73,22 +59,15 @@ #{PRACTITIONER_ID}, - #{PRACTITIONER}, - #{PRACTITIONERSTATUS}, - #{PRACTITIONERTYPE}, - #{CONTACTPHONE}, - #{DRIVINGVEHICLE}, - #{IDNUMBER}, - #{ENTRYTIME}, - #{EXPIRATIONTIME}, - #{BELONGINGDEPARTMENT}, #{TRANSPORTENTERPRISE}, + #{PERSONNELSTATUS}, #{FACEAUTHENTICATION}, #{IDENTITYAUTHENTICATION}, #{DRIVINGLICENSEAUTHENTICATION}, #{PROFESSIONALQUALIFICATION}, - #{CONTRACTAUTHENTICATION}, + #{REASONDISMISSAL}, #{ISDELETE}, + #{PHYSICALCERTIFICATION}, #{DELETOR}, #{DELETORNAME}, #{DELETETIME}, @@ -100,7 +79,6 @@ #{OPERATTIME} - insert into @@ -112,20 +90,69 @@ ) + + + update + + set + ISDELETE = '1', + DELETOR = #{DELETOR}, + DELETETIME = #{DELETETIME} + where + PRACTITIONER_ID = #{PRACTITIONER_ID} + + + + +