app首页我的工作数据校准

pull/4/head
wangpeng 2024-02-20 16:43:10 +08:00
parent cfa5416c1b
commit 24a7d01b8c
2 changed files with 13 additions and 13 deletions

View File

@ -147,15 +147,15 @@ public class AppHiddenController extends BaseController {
} }
} }
List<PageData> checkorHid = hiddenService.getCountByCheckorId(pd); // 根据人员id获取整改隐患信息 state 1 5 // List<PageData> checkorHid = hiddenService.getCountByCheckorId(pd); // 根据人员id获取整改隐患信息 state 1 5
// List<PageData> checkorHid = hiddenService.getRiskStandardCountByCheckorId(pd); // 根据用户ID获取待验收隐患app首页 List<PageData> checkorHid = hiddenService.getRiskStandardCountByCheckorId(pd); // 根据用户ID获取待验收隐患app首页
for (int i = 0; i < checkorHid.size(); i++) { for (int i = 0; i < checkorHid.size(); i++) {
PageData che = checkorHid.get(i); PageData che = checkorHid.get(i);
if (null == che.get("STATE")) { if (null == che.get("STATE")) {
continue; continue;
} }
if (che.get("STATE").equals("2")) { //原来是3但是手机端待验收数据与列表数据不对。调整为2 // if (che.get("STATE").equals("2")) { //原来是3但是手机端待验收数据与列表数据不对。调整为2
// if (che.get("STATE").equals("3") && pd.getString("USER_ID").equals(che.get("CHECKOR"))) { if (che.get("STATE").equals("3") && pd.getString("USER_ID").equals(che.get("CHECKOR"))) {
dys++; dys++;
} }
} }
@ -186,9 +186,9 @@ public class AppHiddenController extends BaseController {
yq++; yq++;
} }
} }
pd.put("APPSELFUSERID", pd.get("userId"));
List<PageData> creatorHid = hiddenService.getCountByCreatorId(pd); // 根据人员id获取发现隐患信息 // List<PageData> creatorHid = hiddenService.getCountByCreatorId(pd); // 根据人员id获取发现隐患信息
// List<PageData> creatorHid = hiddenService.getRiskStandardCountByCreatorId(pd); // 根据用户ID获取发现隐患信息app首页 List<PageData> creatorHid = hiddenService.getRiskStandardCountByCreatorId(pd); // 根据用户ID获取发现隐患信息app首页
System.out.println(creatorHid); System.out.println(creatorHid);
for (int i = 0; i < creatorHid.size(); i++) { for (int i = 0; i < creatorHid.size(); i++) {
PageData cre = creatorHid.get(i); PageData cre = creatorHid.get(i);

View File

@ -3246,9 +3246,9 @@
and and
f.CORPINFO_ID = #{CORPINFO_ID} f.CORPINFO_ID = #{CORPINFO_ID}
</if> </if>
<!-- <if test="USER_ID != null and USER_ID != ''">&lt;!&ndash; 部门查询条件 &ndash;&gt;--> <if test="USER_ID != null and USER_ID != ''"><!-- 部门查询条件 -->
<!-- and f.USER_ID = #{USER_ID}--> and f.USER_ID = #{USER_ID}
<!-- </if>--> </if>
<choose> <choose>
<when test='ISSUPERVISE != null and ISSUPERVISE != "" and ISSUPERVISE == "1"'> <when test='ISSUPERVISE != null and ISSUPERVISE != "" and ISSUPERVISE == "1"'>
<choose> <choose>
@ -3375,9 +3375,9 @@
<if test="CORPINFO_ID != null and CORPINFO_ID != ''"> <if test="CORPINFO_ID != null and CORPINFO_ID != ''">
and f.CORPINFO_ID = #{CORPINFO_ID} and f.CORPINFO_ID = #{CORPINFO_ID}
</if> </if>
<!-- <if test="USER_ID != null and USER_ID != ''">&lt;!&ndash; 部门查询条件 &ndash;&gt;--> <if test="USER_ID != null and USER_ID != ''"><!-- 部门查询条件 -->
<!-- and f.USER_ID = #{USER_ID}--> and f.USER_ID = #{USER_ID}
<!-- </if>--> </if>
<choose> <choose>
<when test='ISSUPERVISE != null and ISSUPERVISE != "" and ISSUPERVISE == "1"'> <when test='ISSUPERVISE != null and ISSUPERVISE != "" and ISSUPERVISE == "1"'>
<choose> <choose>