|
|
|
@ -461,14 +461,6 @@ public class DepositoryRecordController { |
|
|
|
// }
|
|
|
|
departmentHeadId.append("78").append(","); |
|
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
|
workwechat = userToken.getWechat(); |
|
|
|
} |
|
|
|
departMentHeadQyWxName = new StringBuilder(workwechat); |
|
|
|
} |
|
|
|
map.put("departmenthead", departmentHeadId.toString()); |
|
|
|
List<Integer> params = (List<Integer>) map.get("params"); |
|
|
|
Integer integer = 0; |
|
|
|
@ -998,14 +990,6 @@ public class DepositoryRecordController { |
|
|
|
// }
|
|
|
|
departmentHeadId.append("78").append(","); |
|
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
|
workwechat = userToken.getWechat(); |
|
|
|
} |
|
|
|
departMentHeadQyWxName = new StringBuilder(workwechat); |
|
|
|
} |
|
|
|
map.put("departmenthead", departmentHeadId.toString()); |
|
|
|
map.put("departMentHeadQyWxName", departMentHeadQyWxName.toString()); |
|
|
|
if (map.containsKey("constructionUnitId")) { |
|
|
|
@ -1304,14 +1288,6 @@ public class DepositoryRecordController { |
|
|
|
// }
|
|
|
|
departmentHeadId.append("78").append(","); |
|
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
|
workwechat = userToken.getWechat(); |
|
|
|
} |
|
|
|
departMentHeadQyWxName = new StringBuilder(workwechat); |
|
|
|
} |
|
|
|
map.put("departmenthead", departmentHeadId.toString()); |
|
|
|
// 待出库物料id
|
|
|
|
Integer mid = ObjectFormatUtil.toInteger(map.get("iid")); |
|
|
|
@ -1452,14 +1428,6 @@ public class DepositoryRecordController { |
|
|
|
// }
|
|
|
|
departmentHeadId.append("78").append(","); |
|
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
|
workwechat = userToken.getWechat(); |
|
|
|
} |
|
|
|
departMentHeadQyWxName = new StringBuilder(workwechat); |
|
|
|
} |
|
|
|
mainRecord.put("applicantId", userToken.getId()); |
|
|
|
mainRecord.put("applyRemark", ""); |
|
|
|
mainRecord.put("quantity", sumQuantity.toString()); |
|
|
|
|