APP修改
This commit is contained in:
parent
81162d395d
commit
fdbc2bf232
|
|
@ -48,6 +48,8 @@ public class VehicleVo {
|
|||
|
||||
private String bidCode;
|
||||
|
||||
private String proName;
|
||||
|
||||
private String date;
|
||||
|
||||
private String startDate;
|
||||
|
|
@ -59,5 +61,4 @@ public class VehicleVo {
|
|||
|
||||
private String value;
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -104,9 +104,9 @@ public class AppServiceImpl implements IAppService {
|
|||
String data = mapper.getUserAccessStatus(vo.getUserId(), Constant.ACCESS_TYPE, 1);
|
||||
if (StringUtils.isNotEmpty(data)) {
|
||||
String value = mapper.getUserAccessStatus(data, Constant.ACCESS_TYPE, 2);
|
||||
vo.setStatus(StringUtils.isEmpty(value) ? "离场" : value);
|
||||
vo.setStatus(StringUtils.isEmpty(value) ? "出" : value);
|
||||
}else{
|
||||
vo.setStatus("离场");
|
||||
vo.setStatus("出");
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
|
@ -135,9 +135,9 @@ public class AppServiceImpl implements IAppService {
|
|||
String data = mapper.getUserAccessStatus(vo.getCarNum(), Constant.ACCESS_TYPE, 1);
|
||||
if (StringUtils.isNotEmpty(data)) {
|
||||
String value = mapper.getUserAccessStatus(data, Constant.ACCESS_TYPE, 2);
|
||||
vo.setAccessType(StringUtils.isEmpty(value) ? "离场" : value);
|
||||
vo.setAccessType(StringUtils.isEmpty(value) ? "出" : value);
|
||||
}else{
|
||||
vo.setAccessType("离场");
|
||||
vo.setAccessType("出");
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
tw.warn_content AS warnContent,
|
||||
IF(status = '1','已处理','未处理') AS status
|
||||
FROM tb_warn tw
|
||||
WHERE tw.bid_code = #{bidCode} AND tw.warn_time BETWEEN CONCAT(CURRENT_DATE,' 00:00:00') AND CONCAT(CURRENT_DATE,' 23:59:59')
|
||||
WHERE tw.bid_code = #{bidCode}
|
||||
ORDER BY warn_time DESC,status ASC
|
||||
</select>
|
||||
<!--工程工序计划-->
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
<!--获取列表-->
|
||||
<select id="getVehicleLists" resultType="com.securitycontrol.entity.background.vo.VehicleVo">
|
||||
SELECT tc.id,tc.car_num as carNum,tc.user_name as userName,tc.phone ,tp.bid_code as bidCode
|
||||
SELECT tc.id,tc.car_num as carNum,tc.user_name as userName,tc.phone ,tp.bid_code as bidCode,tp.pro_name AS proName
|
||||
FROM tb_car tc
|
||||
LEFT JOIN tb_project tp ON tp.bid_code = tc.bid_code
|
||||
where tc.del_flag = '0'
|
||||
|
|
|
|||
Loading…
Reference in New Issue