diff --git a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityCustomerManagementController.java b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityCustomerManagementController.java index d2e28d0..271a002 100644 --- a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityCustomerManagementController.java +++ b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityCustomerManagementController.java @@ -38,6 +38,7 @@ public class TrafficSecurityCustomerManagementController extends BaseController String customermanagement_id = this.get32UUID(); pd.put("CREATOR", Jurisdiction.getUSER_ID()); // 创建人id + pd.put("TRANSPORTATIONCOMPANY", Jurisdiction.getCORPINFO_ID()); // 创建人id pd.put("CREATORNAME", Jurisdiction.getName()); // 创建人姓名 pd.put("CUSTOMERMANAGEMENT_ID", customermanagement_id); // 主键 pd.put("CREATETIME", DateUtil.date2Str(new Date())); // 添加时间 diff --git a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityLocationManagementController.java b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityLocationManagementController.java index 2a9963f..901d587 100644 --- a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityLocationManagementController.java +++ b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityLocationManagementController.java @@ -34,6 +34,7 @@ public class TrafficSecurityLocationManagementController extends BaseController PageData pd = this.getPageData(); String locationmanagement_id = this.get32UUID(); + pd.put("TRANSPORTATIONCOMPANY", Jurisdiction.getCORPINFO_ID()); // 运输企业 pd.put("CREATOR", Jurisdiction.getUSER_ID()); // 创建人id pd.put("CREATORNAME", Jurisdiction.getName()); // 创建人姓名 pd.put("LOCATIONMANAGEMENT_ID", locationmanagement_id); // 主键 @@ -51,6 +52,7 @@ public class TrafficSecurityLocationManagementController extends BaseController public Object listForSecurityLocationManagement(Page page) throws Exception { Map map = new HashMap(); String errInfo = "success"; + PageData pd = new PageData(); pd = this.getPageData(); diff --git a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityNoticeController.java b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityNoticeController.java index 64d744f..85fec93 100644 --- a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityNoticeController.java +++ b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityNoticeController.java @@ -43,6 +43,7 @@ public class TrafficSecurityNoticeController extends BaseController { pd.put("CREATOR", Jurisdiction.getUSER_ID()); // 创建人id pd.put("CORPINFO_ID", Jurisdiction.getPOST_ID()); // 创建人id pd.put("CREATORNAME", Jurisdiction.getName()); // 创建人姓名 + pd.put("TRANSPORTATIONCOMPANY", Jurisdiction.getCORPINFO_ID()); // 运输企业 pd.put("NOTIFICATION_ID", notificationId); // 主键 pd.put("CREATETIME", DateUtil.date2Str(new Date())); // 添加时间 pd.put("POSTSTATUS", "1"); // 发布状态 diff --git a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityWaybillRegistrationController.java b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityWaybillRegistrationController.java index 49f976b..257cf35 100644 --- a/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityWaybillRegistrationController.java +++ b/src/main/java/com/zcloud/controller/comprehensive/TrafficSecurityWaybillRegistrationController.java @@ -44,7 +44,7 @@ public class TrafficSecurityWaybillRegistrationController extends BaseController pd.put("REPLYSTATUS", REPLYSTATUS.trim()); page.setPd(pd); - List varList = trafficSecurityWaybillRegistrationService.listForSecurityNotice(page); + List varList = trafficSecurityWaybillRegistrationService.listForSecurityWaybill(page); map.put("varList", varList); map.put("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 new file mode 100644 index 0000000..993d54a --- /dev/null +++ b/src/main/java/com/zcloud/mapper/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.java @@ -0,0 +1,23 @@ +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 TrafficSecurityPractitionerManagementMapper { + /** + * 新增 + * @param page + * @return + */ + void save(PageData pd); + + /** + * 列表 + * @param page + * @return + */ + List datalistPage(Page page); +} diff --git a/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityWaybillRegistrationService.java b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityWaybillRegistrationService.java index f4c4421..f145a3f 100644 --- a/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityWaybillRegistrationService.java +++ b/src/main/java/com/zcloud/service/comprehensive/TrafficSecurityWaybillRegistrationService.java @@ -6,7 +6,7 @@ import com.zcloud.entity.PageData; import java.util.List; public interface TrafficSecurityWaybillRegistrationService { - List listForSecurityNotice(Page page); + List listForSecurityWaybill(Page page); void save(PageData pd); diff --git a/src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityWaybillRegistrationServiceImpl.java b/src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityWaybillRegistrationServiceImpl.java index 712322d..4b8d04d 100644 --- a/src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityWaybillRegistrationServiceImpl.java +++ b/src/main/java/com/zcloud/service/comprehensive/impl/TrafficSecurityWaybillRegistrationServiceImpl.java @@ -15,7 +15,7 @@ public class TrafficSecurityWaybillRegistrationServiceImpl implements TrafficSec @Autowired private TrafficSecurityWaybillRegistrationMapper TrafficSecurityWaybillRegistrationMapper; @Override - public List listForSecurityNotice(Page page) { + public List listForSecurityWaybill(Page page) { return TrafficSecurityWaybillRegistrationMapper.datalistPage(page); } diff --git a/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.xml b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.xml new file mode 100644 index 0000000..dcd4bf6 --- /dev/null +++ b/src/main/resources/mybatis/datasource/comprehensive/TrafficSecurityPractitionerManagementMapper.xml @@ -0,0 +1,131 @@ + + + + + BUS_TRAFFIC_PRACTITIONER_MANAGEMENT + + + + + SYS_DICTIONARIES + + + + + f.PRACTITIONER_ID, + f.PRACTITIONER, + f.PRACTITIONERSTATUS, + f.PRACTITIONERTYPE, + f.CONTACTPHONE, + f.DRIVINGVEHICLE, + f.IDNUMBER, + f.ENTRYTIME, + f.EXPIRATIONTIME, + f.BELONGINGDEPARTMENT, + f.TRANSPORTENTERPRISE, + f.FACEAUTHENTICATION, + f.IDENTITYAUTHENTICATION, + f.DRIVINGLICENSEAUTHENTICATION, + f.PROFESSIONALQUALIFICATION, + f.CONTRACTAUTHENTICATION, + f.ISDELETE, + f.DELETOR, + f.DELETORNAME, + f.DELETETIME, + f.CREATOR, + f.CREATORNAME, + f.CREATETIME, + f.OPERATOR, + f.OPERATORNAME, + f.OPERATTIME + + + + + PRACTITIONER_ID, + PRACTITIONER, + PRACTITIONERSTATUS, + PRACTITIONERTYPE, + CONTACTPHONE, + DRIVINGVEHICLE, + IDNUMBER, + ENTRYTIME, + EXPIRATIONTIME, + BELONGINGDEPARTMENT, + TRANSPORTENTERPRISE, + FACEAUTHENTICATION, + IDENTITYAUTHENTICATION, + DRIVINGLICENSEAUTHENTICATION, + PROFESSIONALQUALIFICATION, + CONTRACTAUTHENTICATION, + ISDELETE, + DELETOR, + DELETORNAME, + DELETETIME, + CREATOR, + CREATORNAME, + CREATETIME, + OPERATOR, + OPERATORNAME, + OPERATTIME + + + + + #{PRACTITIONER_ID}, + #{PRACTITIONER}, + #{PRACTITIONERSTATUS}, + #{PRACTITIONERTYPE}, + #{CONTACTPHONE}, + #{DRIVINGVEHICLE}, + #{IDNUMBER}, + #{ENTRYTIME}, + #{EXPIRATIONTIME}, + #{BELONGINGDEPARTMENT}, + #{TRANSPORTENTERPRISE}, + #{FACEAUTHENTICATION}, + #{IDENTITYAUTHENTICATION}, + #{DRIVINGLICENSEAUTHENTICATION}, + #{PROFESSIONALQUALIFICATION}, + #{CONTRACTAUTHENTICATION}, + #{ISDELETE}, + #{DELETOR}, + #{DELETORNAME}, + #{DELETETIME}, + #{CREATOR}, + #{CREATORNAME}, + #{CREATETIME}, + #{OPERATOR}, + #{OPERATORNAME}, + #{OPERATTIME} + + + + + + insert into + + ( + + ) values ( + + ) + + + + +