|
@@ -175,7 +175,7 @@ public class ScanController {
|
|
|
if (msReports2.size() > 0) {
|
|
|
model.put("collor", "red");
|
|
|
model.put("into", "不许进入");
|
|
|
- model.put("errorMsg", "由于您健康或家人健康评估存在问题,禁止进入,如有疑问请联系直管领导。");
|
|
|
+ model.put("errorMsg", "由于您健康评估存在问题,不许进入,如有疑问请联系直管领导。");
|
|
|
scanService.saveOutScan(userOpen.getUserId(), inType, uptownDoor.getUptownId(), uptownDoor.getDoorId(), -1, model.get("errorMsg").toString());
|
|
|
return new ModelAndView("/user/scan.ftl", model);
|
|
|
}
|
|
@@ -420,7 +420,7 @@ public class ScanController {
|
|
|
model.put("tittle", "凌云集团");
|
|
|
model.put("doorplate", unit.getRidgepole() + unit.getUnit());
|
|
|
model.put("name", uptownHomes.get(0).getLinkman());
|
|
|
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
model.put("now", sdf.format(new Date()));
|
|
|
List<MsReport> msReports1 = msReportMapper.queryMsReportIsXG(userOpen.getUserId());
|
|
|
if (msReports1.size() != 0) {
|
|
@@ -458,7 +458,7 @@ public class ScanController {
|
|
|
if (msReports2.size() > 0) {
|
|
|
model.put("collor", "red");
|
|
|
model.put("into", "不可复工");
|
|
|
- model.put("errorMsg", "由于您健康或家人健康评估存在问题,禁止进入,如有疑问请联系直管领导。");
|
|
|
+ model.put("errorMsg", "由于您健康评估存在问题,不可复工,如有疑问请联系直管领导。");
|
|
|
return new ModelAndView("/user/returnWork.ftl", model);
|
|
|
}
|
|
|
model.put("collor", "green");
|