forked from integrated_whb/integrated_whb
app首页我的工作数据校准
parent
cfa5416c1b
commit
24a7d01b8c
|
@ -147,15 +147,15 @@ public class AppHiddenController extends BaseController {
|
|||
}
|
||||
}
|
||||
|
||||
List<PageData> checkorHid = hiddenService.getCountByCheckorId(pd); // 根据人员id获取整改隐患信息 state 1 5
|
||||
// List<PageData> checkorHid = hiddenService.getRiskStandardCountByCheckorId(pd); // 根据用户ID获取待验收隐患(app首页)
|
||||
// List<PageData> checkorHid = hiddenService.getCountByCheckorId(pd); // 根据人员id获取整改隐患信息 state 1 5
|
||||
List<PageData> checkorHid = hiddenService.getRiskStandardCountByCheckorId(pd); // 根据用户ID获取待验收隐患(app首页)
|
||||
for (int i = 0; i < checkorHid.size(); i++) {
|
||||
PageData che = checkorHid.get(i);
|
||||
if (null == che.get("STATE")) {
|
||||
continue;
|
||||
}
|
||||
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("2")) { //原来是3,但是手机端待验收数据与列表数据不对。调整为2
|
||||
if (che.get("STATE").equals("3") && pd.getString("USER_ID").equals(che.get("CHECKOR"))) {
|
||||
dys++;
|
||||
}
|
||||
}
|
||||
|
@ -186,9 +186,9 @@ public class AppHiddenController extends BaseController {
|
|||
yq++;
|
||||
}
|
||||
}
|
||||
|
||||
List<PageData> creatorHid = hiddenService.getCountByCreatorId(pd); // 根据人员id获取发现隐患信息
|
||||
// List<PageData> creatorHid = hiddenService.getRiskStandardCountByCreatorId(pd); // 根据用户ID获取发现隐患信息(app首页)
|
||||
pd.put("APPSELFUSERID", pd.get("userId"));
|
||||
// List<PageData> creatorHid = hiddenService.getCountByCreatorId(pd); // 根据人员id获取发现隐患信息
|
||||
List<PageData> creatorHid = hiddenService.getRiskStandardCountByCreatorId(pd); // 根据用户ID获取发现隐患信息(app首页)
|
||||
System.out.println(creatorHid);
|
||||
for (int i = 0; i < creatorHid.size(); i++) {
|
||||
PageData cre = creatorHid.get(i);
|
||||
|
|
|
@ -3246,9 +3246,9 @@
|
|||
and
|
||||
f.CORPINFO_ID = #{CORPINFO_ID}
|
||||
</if>
|
||||
<!-- <if test="USER_ID != null and USER_ID != ''"><!– 部门查询条件 –>-->
|
||||
<!-- and f.USER_ID = #{USER_ID}-->
|
||||
<!-- </if>-->
|
||||
<if test="USER_ID != null and USER_ID != ''"><!-- 部门查询条件 -->
|
||||
and f.USER_ID = #{USER_ID}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='ISSUPERVISE != null and ISSUPERVISE != "" and ISSUPERVISE == "1"'>
|
||||
<choose>
|
||||
|
@ -3375,9 +3375,9 @@
|
|||
<if test="CORPINFO_ID != null and CORPINFO_ID != ''">
|
||||
and f.CORPINFO_ID = #{CORPINFO_ID}
|
||||
</if>
|
||||
<!-- <if test="USER_ID != null and USER_ID != ''"><!– 部门查询条件 –>-->
|
||||
<!-- and f.USER_ID = #{USER_ID}-->
|
||||
<!-- </if>-->
|
||||
<if test="USER_ID != null and USER_ID != ''"><!-- 部门查询条件 -->
|
||||
and f.USER_ID = #{USER_ID}
|
||||
</if>
|
||||
<choose>
|
||||
<when test='ISSUPERVISE != null and ISSUPERVISE != "" and ISSUPERVISE == "1"'>
|
||||
<choose>
|
||||
|
|
Loading…
Reference in New Issue