瀏覽代碼

凌云集团更改公司

peiguo 5 年之前
父節點
當前提交
1176d1d13e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      whepi-web/src/main/java/com/bofeng/wx/controller/ScanController.java

+ 1 - 1
whepi-web/src/main/java/com/bofeng/wx/controller/ScanController.java

@@ -426,7 +426,7 @@ public class ScanController {
                 List<MsReport> msReports1 = msReportMapper.queryMsReportIsXG(userOpen.getUserId());
                 List<MsReport> msReports1 = msReportMapper.queryMsReportIsXG(userOpen.getUserId());
                 if (msReports1.size() != 0) {
                 if (msReports1.size() != 0) {
                     Integer status = msReportMapper.queryLateStatus(userOpen.getUserId());
                     Integer status = msReportMapper.queryLateStatus(userOpen.getUserId());
-                    if (status != 4) {
+                    if (status == null || (status != null && status != 4)) {
                         model.put("collor", "red");
                         model.put("collor", "red");
                         model.put("collor2", "red");
                         model.put("collor2", "red");
                         model.put("into", "不可复工");
                         model.put("into", "不可复工");