forked from integrated_whb/integrated_whb
BUG优化
parent
4f772602b8
commit
aab7cc1666
|
@ -89,7 +89,6 @@ public class TrafficSecurityNoticeController extends BaseController {
|
||||||
pd.put("SIGNING", "0"); // 签收情况
|
pd.put("SIGNING", "0"); // 签收情况
|
||||||
pd.put("REPLY", "0"); // 回复情况
|
pd.put("REPLY", "0"); // 回复情况
|
||||||
securityNoticeService.save(pd);
|
securityNoticeService.save(pd);
|
||||||
|
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
return map;
|
return map;
|
||||||
|
|
|
@ -50,7 +50,6 @@ public class TrafficSecurityWaybillRegistrationController extends BaseController
|
||||||
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); //企业ID
|
||||||
page.setPd(pd);
|
page.setPd(pd);
|
||||||
List<PageData> varList = trafficSecurityWaybillRegistrationService.listForSecurityWaybill(page);
|
List<PageData> varList = trafficSecurityWaybillRegistrationService.listForSecurityWaybill(page);
|
||||||
|
|
||||||
map.put("varList", varList);
|
map.put("varList", varList);
|
||||||
map.put("page", page);
|
map.put("page", page);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
|
|
|
@ -153,6 +153,16 @@ public class FreighttTrailerController extends BaseController {
|
||||||
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date())); //修改时间
|
||||||
|
|
||||||
PageData freightTrailer = freightTrailerService.findById(pd);
|
PageData freightTrailer = freightTrailerService.findById(pd);
|
||||||
|
if(StringUtils.equals(freightTrailer.getString("ISSCRAP"), "1")) {
|
||||||
|
pd.put("ISSCRAP", "1");
|
||||||
|
} else{
|
||||||
|
pd.put("ISSCRAP", "0");
|
||||||
|
}
|
||||||
|
if (StringUtils.equals(freightTrailer.getString("ISASSIGNED"), "1")) {
|
||||||
|
pd.put("ISASSIGNED", "1");
|
||||||
|
}else{
|
||||||
|
pd.put("ISASSIGNED", "0");
|
||||||
|
}
|
||||||
List<PageData> taxationList = taxationManageService.taxationList(pd.getString("CORPINFO_ID")); // 更新车船税数据
|
List<PageData> taxationList = taxationManageService.taxationList(pd.getString("CORPINFO_ID")); // 更新车船税数据
|
||||||
List<PageData> assignedList = assignedManageService.assignedList(pd.getString("CORPINFO_ID")); // 更新过户数据
|
List<PageData> assignedList = assignedManageService.assignedList(pd.getString("CORPINFO_ID")); // 更新过户数据
|
||||||
for (PageData taxation : taxationList) {
|
for (PageData taxation : taxationList) {
|
||||||
|
|
|
@ -48,7 +48,7 @@ public class MaintainController extends BaseController {
|
||||||
pd.put("MAINTAIN_ID", this.get32UUID());
|
pd.put("MAINTAIN_ID", this.get32UUID());
|
||||||
pd.put("ISDELETE", "0"); //是否删除(0:有效 1:删除)
|
pd.put("ISDELETE", "0"); //是否删除(0:有效 1:删除)
|
||||||
pd.put("CREATOR", Jurisdiction.getUSER_ID()); //添加人id
|
pd.put("CREATOR", Jurisdiction.getUSER_ID()); //添加人id
|
||||||
pd.put("CREATORNAME", Jurisdiction.getUsername()); //添加人名字
|
pd.put("CREATORNAME", Jurisdiction.getName()); //添加人名字
|
||||||
pd.put("CREATTIME", DateUtil.date2Str(new Date())); //添加时间
|
pd.put("CREATTIME", DateUtil.date2Str(new Date())); //添加时间
|
||||||
maintainService.save(pd);
|
maintainService.save(pd);
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
|
|
|
@ -130,7 +130,7 @@ public class OperatingVehiclesController extends BaseController {
|
||||||
pd.put("OPERATOR", Jurisdiction.getCORPINFO_ID());
|
pd.put("OPERATOR", Jurisdiction.getCORPINFO_ID());
|
||||||
pd.put("OPERATORNAME", Jurisdiction.getName());
|
pd.put("OPERATORNAME", Jurisdiction.getName());
|
||||||
pd.put("OPERATTIME", DateUtil.date2Str(new Date()));
|
pd.put("OPERATTIME", DateUtil.date2Str(new Date()));
|
||||||
PageData operation = operatingVehiclesService.findById(pd);
|
/*PageData operation = operatingVehiclesService.findById(pd);
|
||||||
List<PageData> assignedList = assignedManageService.assignedList(pd.getString("CORPINFO_ID"));
|
List<PageData> assignedList = assignedManageService.assignedList(pd.getString("CORPINFO_ID"));
|
||||||
for (PageData assigned : assignedList) {
|
for (PageData assigned : assignedList) {
|
||||||
if(operation.get("PLATE_NUMBER").equals(assigned.get("RAW_PLATE_NUMBER"))) {
|
if(operation.get("PLATE_NUMBER").equals(assigned.get("RAW_PLATE_NUMBER"))) {
|
||||||
|
@ -138,12 +138,14 @@ public class OperatingVehiclesController extends BaseController {
|
||||||
assigned.put("RAW_OWNERS", pd.get("VEHICLEOWNER"));
|
assigned.put("RAW_OWNERS", pd.get("VEHICLEOWNER"));
|
||||||
assignedManageService.edit(assigned);
|
assignedManageService.edit(assigned);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
operatingVehiclesService.edit(pd);
|
operatingVehiclesService.edit(pd);
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**去修改页面获取数据
|
/**去修改页面获取数据
|
||||||
* @param
|
* @param
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
|
@ -191,9 +193,7 @@ public class OperatingVehiclesController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/list")
|
@RequestMapping(value = "/list")
|
||||||
// @RequiresPermissions( value = {"question:list" , "courseware:list"}, logical = Logical.OR)
|
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@LogAnno(menuType = "基础信息管理", menuServer = "货运挂车", instructionsOperate = "货运挂车", instructionsType = "列表")
|
|
||||||
public Object list(Page page) throws Exception {
|
public Object list(Page page) throws Exception {
|
||||||
Map<String, Object> map = new HashMap<String, Object>();
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
|
|
|
@ -158,7 +158,7 @@ public class OperationsController extends BaseController {
|
||||||
List<PageData> varList = operationsService.list(page); //列出Question列表
|
List<PageData> varList = operationsService.list(page); //列出Question列表
|
||||||
|
|
||||||
varList.stream().anyMatch(data -> {
|
varList.stream().anyMatch(data -> {
|
||||||
if("1".equals(data.getString("OPEAR_ISSCRAP")) || "1".equals(data.getString("FREIGHT_ISSCRAP"))) {
|
if ("1".equals(data.getString("OPEAR_ISSCRAP")) || "1".equals(data.getString("FREIGHT_ISSCRAP"))) {
|
||||||
data.put("ARCHIVES_TYPE", "2");
|
data.put("ARCHIVES_TYPE", "2");
|
||||||
} else if ("1".equals(data.getString("OPEAR_ISASSIGNED")) || "1".equals(data.getString("FREIGHT_ISASSIGNED"))) {
|
} else if ("1".equals(data.getString("OPEAR_ISASSIGNED")) || "1".equals(data.getString("FREIGHT_ISASSIGNED"))) {
|
||||||
data.put("ARCHIVES_TYPE", "1");
|
data.put("ARCHIVES_TYPE", "1");
|
||||||
|
@ -192,13 +192,15 @@ public class OperationsController extends BaseController {
|
||||||
pd2.put("CORPINFO_ID", pd.get("CORPINFO_ID")); //企业ID
|
pd2.put("CORPINFO_ID", pd.get("CORPINFO_ID")); //企业ID
|
||||||
page.setPd(pd2);
|
page.setPd(pd2);
|
||||||
List<PageData> operationList = operationsService.list(page);
|
List<PageData> operationList = operationsService.list(page);
|
||||||
|
if (!CollectionUtils.isEmpty(operationList)) {
|
||||||
for (int i = 0; i < operationList.size(); i++) {
|
for (int i = 0; i < operationList.size(); i++) {
|
||||||
if(pd.get("OPERATIONS_ID").equals(operationList.get(i).get("OPERATIONS_ID"))) {
|
if (pd.get("OPERATIONS_ID").equals(operationList.get(i).get("OPERATIONS_ID"))) {
|
||||||
pd.put("CYCLE_NAME",operationList.get(i).get("CYCLE_NAME"));
|
pd.put("CYCLE_NAME", operationList.get(i).get("CYCLE_NAME"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pd.put("FOREIGN_KEY", pd.getString("OPERATIONS_ID"));
|
pd.put("FOREIGN_KEY", pd.getString("OPERATIONS_ID"));
|
||||||
pd.put("TYPE",126);
|
pd.put("TYPE", 126);
|
||||||
List<PageData> operationsinfoImgs = imgfilesService.listAll(pd);//营运证资料图片
|
List<PageData> operationsinfoImgs = imgfilesService.listAll(pd);//营运证资料图片
|
||||||
map.put("pd", pd);
|
map.put("pd", pd);
|
||||||
map.put("operationsinfoImgs", operationsinfoImgs);
|
map.put("operationsinfoImgs", operationsinfoImgs);
|
||||||
|
@ -213,32 +215,33 @@ public class OperationsController extends BaseController {
|
||||||
String errInfo = "success";
|
String errInfo = "success";
|
||||||
PageData pd = new PageData();
|
PageData pd = new PageData();
|
||||||
pd = this.getPageData();
|
pd = this.getPageData();
|
||||||
pd.put("CORPINFO_ID",Jurisdiction.getCORPINFO_ID());
|
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
|
||||||
if(!StringUtils.isEmpty(pd.getString("TRAFFIC_TYPE")) && pd.getString("TRAFFIC_TYPE").equals("1")) {
|
if (!StringUtils.isEmpty(pd.getString("TRAFFIC_TYPE")) && pd.getString("TRAFFIC_TYPE").equals("1")) {
|
||||||
// 营运车辆
|
// 营运车辆
|
||||||
List<PageData> operatingList = operatingVehiclesService.operationVehicleList(pd.getString("CORPINFO_ID"));
|
List<PageData> operatingList = operatingVehiclesService.operationVehicleList(pd.getString("CORPINFO_ID"));
|
||||||
page.setPd(pd);
|
page.setPd(pd);
|
||||||
List<PageData> operationsList = operationsService.list(page);
|
List<PageData> operationsList = operationsService.list(page);
|
||||||
|
|
||||||
// 获取营运车辆列表中所有的运营车辆
|
// 获取营运车辆列表中所有的运营车辆
|
||||||
List<PageData> operations = operationsList.stream().filter(data -> StringUtils.equals(data.getString("VEHICLE_MODEL"), "1"))
|
List<PageData> operations = operationsList.stream()
|
||||||
|
.filter(data -> StringUtils.equals(data.getString("VEHICLE_MODEL"), "1"))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
// 过滤掉营运管理列表中所有营运车辆信息
|
// 过滤掉营运管理列表中所有营运车辆信息
|
||||||
List<PageData> varList = new ArrayList<>();
|
List<PageData> varList = new ArrayList<>();
|
||||||
if(!CollectionUtils.isEmpty(operations)) {
|
if (!CollectionUtils.isEmpty(operations)) {
|
||||||
varList = operatingList.stream().parallel()
|
varList = operatingList.stream().parallel()
|
||||||
.filter(operating -> operations.stream().
|
.filter(operating -> operations.stream()
|
||||||
noneMatch(operation -> StringUtils.equals(operating.getString("OPERATING_ID"), operation.getString("VEHICLE"))))
|
.noneMatch(operation -> StringUtils.equals(operating.getString("OPERATING_ID"), operation.getString("VEHICLE"))))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}else{
|
} else {
|
||||||
varList = operatingList;
|
varList = operatingList;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(pd.containsKey("ID")){
|
if (pd.containsKey("ID")) {
|
||||||
pd.put("OPERATING_ID", pd.getString("ID"));
|
pd.put("OPERATING_ID", pd.getString("ID"));
|
||||||
pd.put("FOREIGN_KEY", pd.getString("OPERATING_ID"));
|
pd.put("FOREIGN_KEY", pd.getString("OPERATING_ID"));
|
||||||
pd.put("TYPE",121);
|
pd.put("TYPE", 121);
|
||||||
List<PageData> drivingLicenseImgs = imgfilesService.listAll(pd);//行驶证照片
|
List<PageData> drivingLicenseImgs = imgfilesService.listAll(pd);//行驶证照片
|
||||||
map.put("drivingLicenseImgs", drivingLicenseImgs);
|
map.put("drivingLicenseImgs", drivingLicenseImgs);
|
||||||
}
|
}
|
||||||
|
@ -249,7 +252,7 @@ public class OperationsController extends BaseController {
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
if("2".equals(pd.getString("TRAFFIC_TYPE"))) {
|
if ("2".equals(pd.getString("TRAFFIC_TYPE"))) {
|
||||||
// 货运挂车
|
// 货运挂车
|
||||||
List<PageData> freightList = freightTrailerService.trailerList(pd.getString("CORPINFO_ID"));
|
List<PageData> freightList = freightTrailerService.trailerList(pd.getString("CORPINFO_ID"));
|
||||||
page.setPd(pd);
|
page.setPd(pd);
|
||||||
|
@ -261,19 +264,19 @@ public class OperationsController extends BaseController {
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
List<PageData> varList = new ArrayList<>();
|
List<PageData> varList = new ArrayList<>();
|
||||||
if(!CollectionUtils.isEmpty(operations)) {
|
if (!CollectionUtils.isEmpty(operations)) {
|
||||||
varList = freightList.stream().parallel()
|
varList = freightList.stream().parallel()
|
||||||
.filter(freight -> operations.stream()
|
.filter(freight -> operations.stream()
|
||||||
.noneMatch(operation -> StringUtils.equals(freight.getString("FREIGHTTRAILER_ID"), operation.getString("VEHICLE"))))
|
.noneMatch(operation -> StringUtils.equals(freight.getString("FREIGHTTRAILER_ID"), operation.getString("VEHICLE"))))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
}else{
|
} else {
|
||||||
varList = freightList;
|
varList = freightList;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(pd.containsKey("ID")){
|
if (pd.containsKey("ID")) {
|
||||||
pd.put("FREIGHTTRAILER_ID", pd.getString("ID"));
|
pd.put("FREIGHTTRAILER_ID", pd.getString("ID"));
|
||||||
pd.put("FOREIGN_KEY", pd.getString("FREIGHTTRAILER_ID"));
|
pd.put("FOREIGN_KEY", pd.getString("FREIGHTTRAILER_ID"));
|
||||||
pd.put("TYPE",121);
|
pd.put("TYPE", 121);
|
||||||
List<PageData> drivingLicenseImgs = imgfilesService.listAll(pd);//行驶证照片
|
List<PageData> drivingLicenseImgs = imgfilesService.listAll(pd);//行驶证照片
|
||||||
map.put("drivingLicenseImgs", drivingLicenseImgs);
|
map.put("drivingLicenseImgs", drivingLicenseImgs);
|
||||||
}
|
}
|
||||||
|
@ -286,9 +289,9 @@ public class OperationsController extends BaseController {
|
||||||
}
|
}
|
||||||
|
|
||||||
List<PageData> resData = freightTrailerService.vehicleList(pd);
|
List<PageData> resData = freightTrailerService.vehicleList(pd);
|
||||||
if(pd.containsKey("ID")){
|
if (pd.containsKey("ID")) {
|
||||||
pd.put("FOREIGN_KEY", pd.getString("ID"));
|
pd.put("FOREIGN_KEY", pd.getString("ID"));
|
||||||
pd.put("TYPE",121);
|
pd.put("TYPE", 121);
|
||||||
List<PageData> drivingLicenseImgs = imgfilesService.listAll(pd);//行驶证照片
|
List<PageData> drivingLicenseImgs = imgfilesService.listAll(pd);//行驶证照片
|
||||||
map.put("drivingLicenseImgs", drivingLicenseImgs);
|
map.put("drivingLicenseImgs", drivingLicenseImgs);
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@
|
||||||
<if test="pd.INQUIRYCONTENT != null and pd.INQUIRYCONTENT != ''"><!-- 关键词检索 -->
|
<if test="pd.INQUIRYCONTENT != null and pd.INQUIRYCONTENT != ''"><!-- 关键词检索 -->
|
||||||
and f.INQUIRYCONTENT LIKE CONCAT(CONCAT('%', #{pd.INQUIRYCONTENT}),'%')
|
and f.INQUIRYCONTENT LIKE CONCAT(CONCAT('%', #{pd.INQUIRYCONTENT}),'%')
|
||||||
</if>
|
</if>
|
||||||
order by f.CREATTIME DESC
|
order by f.OPERATTIME DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getDrivingCommitment" parameterType="page" resultType="pd">
|
<select id="getDrivingCommitment" parameterType="page" resultType="pd">
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
<if test="pd.CHECKTYPE_ID != null and pd.CHECKTYPE_ID != ''"><!-- 关键词检索 -->
|
<if test="pd.CHECKTYPE_ID != null and pd.CHECKTYPE_ID != ''"><!-- 关键词检索 -->
|
||||||
and f.CHECKTYPE_ID = #{pd.CHECKTYPE_ID}
|
and f.CHECKTYPE_ID = #{pd.CHECKTYPE_ID}
|
||||||
</if>
|
</if>
|
||||||
order by f.CREATTIME DESC
|
order by f.OPERATTIME DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="pd">
|
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="pd">
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
<if test="pd.VALIDSTATUS != null and pd.VALIDSTATUS != ''"><!-- 关键词检索-有效状态 -->
|
<if test="pd.VALIDSTATUS != null and pd.VALIDSTATUS != ''"><!-- 关键词检索-有效状态 -->
|
||||||
and f.VALIDSTATUS = #{pd.VALIDSTATUS}
|
and f.VALIDSTATUS = #{pd.VALIDSTATUS}
|
||||||
</if>
|
</if>
|
||||||
ORDER BY f.CREATETIME DESC
|
ORDER BY f.OPERATTIME DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="com.zcloud.entity.PageData">
|
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="com.zcloud.entity.PageData">
|
||||||
|
|
|
@ -133,7 +133,7 @@
|
||||||
<if test="pd.VALIDSTATUS != null and pd.VALIDSTATUS != ''"><!-- 关键词检索-有效状态 -->
|
<if test="pd.VALIDSTATUS != null and pd.VALIDSTATUS != ''"><!-- 关键词检索-有效状态 -->
|
||||||
and f.VALIDSTATUS = #{pd.VALIDSTATUS}
|
and f.VALIDSTATUS = #{pd.VALIDSTATUS}
|
||||||
</if>
|
</if>
|
||||||
ORDER BY f.CREATETIME DESC
|
ORDER BY f.OPERATTIME DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="com.zcloud.entity.PageData">
|
<select id="findById" resultType="com.zcloud.entity.PageData" parameterType="com.zcloud.entity.PageData">
|
||||||
|
|
|
@ -345,6 +345,7 @@
|
||||||
f.ISDELETE = '0'
|
f.ISDELETE = '0'
|
||||||
AND
|
AND
|
||||||
f.FIREFIGHTINGFACILITY_ID = #{pd.FIREFIGHTINGFACILITY_ID}
|
f.FIREFIGHTINGFACILITY_ID = #{pd.FIREFIGHTINGFACILITY_ID}
|
||||||
|
ORDER BY f.OPERATTIME DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -204,6 +204,8 @@
|
||||||
f.APPROVED_LOAD_CAPACITY,
|
f.APPROVED_LOAD_CAPACITY,
|
||||||
f.VOLUME,
|
f.VOLUME,
|
||||||
f.NOTES,
|
f.NOTES,
|
||||||
|
f.ISSCRAP as ISSCRAP,
|
||||||
|
f.ISASSIGNED as ISASSIGNED,
|
||||||
(select t.FILEPATH from bus_imgfiles t where t.TYPE = 120 and t.FOREIGN_KEY = f.FREIGHTTRAILER_ID limit 1) as TRAILER_IMG,
|
(select t.FILEPATH from bus_imgfiles t where t.TYPE = 120 and t.FOREIGN_KEY = f.FREIGHTTRAILER_ID limit 1) as TRAILER_IMG,
|
||||||
(select t.FILEPATH from bus_imgfiles t where t.TYPE = 121 and t.FOREIGN_KEY = f.FREIGHTTRAILER_ID limit 1) as DRIVING_LICENSE_IMG,
|
(select t.FILEPATH from bus_imgfiles t where t.TYPE = 121 and t.FOREIGN_KEY = f.FREIGHTTRAILER_ID limit 1) as DRIVING_LICENSE_IMG,
|
||||||
(select t.FILEPATH from bus_imgfiles t where t.TYPE = 122 and t.FOREIGN_KEY = f.FREIGHTTRAILER_ID limit 1) as OPER_CERTIFICATE_IMG,
|
(select t.FILEPATH from bus_imgfiles t where t.TYPE = 122 and t.FOREIGN_KEY = f.FREIGHTTRAILER_ID limit 1) as OPER_CERTIFICATE_IMG,
|
||||||
|
|
|
@ -136,30 +136,7 @@
|
||||||
<!-- 通过ID获取数据 -->
|
<!-- 通过ID获取数据 -->
|
||||||
<select id="findById" parameterType="pd" resultType="pd">
|
<select id="findById" parameterType="pd" resultType="pd">
|
||||||
select
|
select
|
||||||
f.INSPECTANNUALLY_ID,
|
f.*,
|
||||||
f.CORPINFO_ID,
|
|
||||||
f.NUM,
|
|
||||||
f.VEHICLE_MODEL,
|
|
||||||
f.VEHICLE,
|
|
||||||
f.CAR_OWNERS,
|
|
||||||
f.TELEPHONE,
|
|
||||||
f.REGISTRANT,
|
|
||||||
f.PROCESSING_DATE,
|
|
||||||
f.ANNUAL_INSPECTION_CYCLE,
|
|
||||||
f.DUE_DATE,
|
|
||||||
f.INSPECTFEES,
|
|
||||||
f.ACTUAL_COLLECTION,
|
|
||||||
f.ADDRESS,
|
|
||||||
f.REMINDER_DAYS,
|
|
||||||
f.REMINDER_DATE,
|
|
||||||
f.REMINDER_STATUS,
|
|
||||||
f.INSPECTINFO,
|
|
||||||
f.NOTES,
|
|
||||||
f.ARCHIVES_TYPE,
|
|
||||||
f.ISDELETE,
|
|
||||||
f.CREATOR,
|
|
||||||
f.CREATORNAME,
|
|
||||||
f.CREATTIME,
|
|
||||||
(SELECT sd.NAME FROM sys_dictionaries sd where sd.DICTIONARIES_ID=f.ANNUAL_INSPECTION_CYCLE) as ANNUAL_INSPECTION_CYCLE_NAME,
|
(SELECT sd.NAME FROM sys_dictionaries sd where sd.DICTIONARIES_ID=f.ANNUAL_INSPECTION_CYCLE) as ANNUAL_INSPECTION_CYCLE_NAME,
|
||||||
v.COMPANY_AREA as AREA,
|
v.COMPANY_AREA as AREA,
|
||||||
v.PLATE_NUMBER
|
v.PLATE_NUMBER
|
||||||
|
@ -217,7 +194,7 @@
|
||||||
<if test="pd.DUE_DATE_TYPE != null and pd.DUE_DATE_TYPE != ''">
|
<if test="pd.DUE_DATE_TYPE != null and pd.DUE_DATE_TYPE != ''">
|
||||||
and case when f.DUE_DATE < NOW() then 0 else 1 end = #{pd.DUE_DATE_TYPE}
|
and case when f.DUE_DATE < NOW() then 0 else 1 end = #{pd.DUE_DATE_TYPE}
|
||||||
</if>
|
</if>
|
||||||
ORDER BY f.CREATTIME DESC
|
ORDER BY f.OPERATTIME DESC
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="annuallyList" parameterType="page" resultType="pd">
|
<select id="annuallyList" parameterType="page" resultType="pd">
|
||||||
|
|
Loading…
Reference in New Issue