APP审批进度流程查询修改

This commit is contained in:
zhangjun 2020-08-10 18:19:34 +08:00
parent bb345a8a45
commit e9b8982f94

View File

@ -319,7 +319,7 @@ public class ApplyArchiveServiceImpl implements ApplyArchiveService{
fieldMap = (Map<String, Object>) testMap.get("fieldMap");
String userId = fieldMap.get("userid") == null ? "" : fieldMap.get("userid").toString();
String sql = "";
sql = "SELECT O.FLOWNAME,O.ObjectType,O.PhaseType,O.ApplyType FROM FLOW_OBJECT O WHERE 1 = 1 AND O.ObjectType IN ('ProductDefaultObject','FlowDefaultObject') AND O.PhaseType='1010' AND O.ApplyType IN ('BusinessApplyApply','BContractChangeApply','BContractCancelApply','BContractApproveApply','BusinessChangeApply','BusinessCancelApply','MortgageFileMailApply','MortgageFileApply','FundPaymentCarApply') AND O.UserID='"+userId+"' GROUP BY O.ApplyType ";
sql = "SELECT O.FLOWNAME,O.ObjectType,O.PhaseType,O.ApplyType FROM FLOW_OBJECT O WHERE O.ApplyType IN ('BusinessApplyApply','BContractChangeApply','BContractCancelApply','BContractApproveApply','BusinessChangeApply','BusinessCancelApply','MortgageFileMailApply','MortgageFileApply','FundPaymentCarApply') AND O.UserID='"+userId+"' GROUP BY O.ApplyType ";
List<Map<String, String>> dataList = DataOperatorUtil.getDataBySql(sql);
Map<String, Object> body = new HashMap<String, Object>();
body.put("datas", dataList);