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