|
@@ -372,7 +372,7 @@ public class BpmInitiatedProvider extends GenericProvider implements IBpmInitiat
|
|
|
private void myDraft(String multiTaskType, String name, MultiTaskExecutor executor, List<WorkerWrapper> workerWrappers, List<Infobox> list,
|
|
private void myDraft(String multiTaskType, String name, MultiTaskExecutor executor, List<WorkerWrapper> workerWrappers, List<Infobox> list,
|
|
|
final Infobox infobox) {
|
|
final Infobox infobox) {
|
|
|
infobox.setIcon("ibps-icon-pencil-square-o");
|
|
infobox.setIcon("ibps-icon-pencil-square-o");
|
|
|
- infobox.setColor(Infobox.COLOR_PINK);
|
|
|
|
|
|
|
+ infobox.setColor(Infobox.COLOR_GREEN2);
|
|
|
infobox.setDataContent("我的暂存");
|
|
infobox.setDataContent("我的暂存");
|
|
|
infobox.setUrl("myDrafts");
|
|
infobox.setUrl("myDrafts");
|
|
|
infobox.setAlias("myDraft");
|
|
infobox.setAlias("myDraft");
|
|
@@ -1518,17 +1518,16 @@ public class BpmInitiatedProvider extends GenericProvider implements IBpmInitiat
|
|
|
// newProcess(multiTaskType, name, executor, workerWrappers, list, infobox);
|
|
// newProcess(multiTaskType, name, executor, workerWrappers, list, infobox);
|
|
|
Infobox infobox2 = new Infobox();
|
|
Infobox infobox2 = new Infobox();
|
|
|
infobox2.setIcon("ibps-icon-file-o");
|
|
infobox2.setIcon("ibps-icon-file-o");
|
|
|
- infobox2.setColor(Infobox.COLOR_GREEN2);
|
|
|
|
|
- infobox2.setDataContent("系统指引");
|
|
|
|
|
- infobox2.setUrl("mySysGuide");
|
|
|
|
|
- infobox2.setAlias("mySysGuide");
|
|
|
|
|
|
|
+ infobox2.setColor(Infobox.COLOR_PINK);
|
|
|
|
|
+ infobox2.setDataContent("待维护设施环境");
|
|
|
|
|
+ infobox2.setUrl("myFacility");
|
|
|
|
|
+ infobox2.setAlias("myFacility");
|
|
|
infobox2.setDataText("-1");
|
|
infobox2.setDataText("-1");
|
|
|
infobox2.setAccessToken(ContextUtil.getCurrentAccessToken());
|
|
infobox2.setAccessToken(ContextUtil.getCurrentAccessToken());
|
|
|
List<Map<String,Object>> object3 =
|
|
List<Map<String,Object>> object3 =
|
|
|
- (List<Map<String, Object>>) commonDao.query(" SELECT COUNT(DISTINCT a.id_) AS total FROM ibps_party_user_role r, t_bdbhpzb a " +
|
|
|
|
|
- " WHERE a.sn_ + 0 > 0 AND r.user_id_=#{p0} AND (FIND_IN_SET(r.role_id_,a.bian_zhi_jiao_se_) " +
|
|
|
|
|
- " OR FIND_IN_SET(r.role_id_,a.shen_he_jiao_se_) OR FIND_IN_SET( r.role_id_, a.shen_pi_jiao_se_ ) " +
|
|
|
|
|
- " OR r.role_id_ =(SELECT id_ FROM ibps_party_role WHERE role_alias_='xtgljs'))" , new String[]{currentUserId});
|
|
|
|
|
|
|
+ (List<Map<String, Object>>) commonDao.query("SELECT COUNT(1) AS total" +
|
|
|
|
|
+ " FROM v_facs_summary_daily facs, ibps_party_employee emp" +
|
|
|
|
|
+ " WHERE FIND_IN_SET(bian_zhi_bu_men_,emp.positions_) AND emp.id_=#{p0}" , new String[]{currentUserId});
|
|
|
infobox2.setDataText(object3.get(0).get("total").toString());
|
|
infobox2.setDataText(object3.get(0).get("total").toString());
|
|
|
list.add(infobox2);
|
|
list.add(infobox2);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|