diff --git a/src/main/java/com/dreamchaser/depository_manage/service/impl/QyWxOperationService.java b/src/main/java/com/dreamchaser/depository_manage/service/impl/QyWxOperationService.java index 66e7cd4b..22773e41 100644 --- a/src/main/java/com/dreamchaser/depository_manage/service/impl/QyWxOperationService.java +++ b/src/main/java/com/dreamchaser/depository_manage/service/impl/QyWxOperationService.java @@ -1713,8 +1713,8 @@ public class QyWxOperationService { //抄送方式:1-提单时抄送(默认值); 2-单据通过后抄送;3-提单和单据通过后抄送。仅use_template_approver为0时生效。 approvalTemplate.setNotify_type(2); - if (!flag) { - // 如果有其他仓库 + if (!flag && Integer.compare(userToken.getMaindeparment(), 361) != 0) { + // 如果有其他仓库且不是仓储中心人 // 获取仓储中心负责人标签的用户userId List qyWxLabelUserList = QyWxConfig.getQyWxLabelUserList(userAgent); @@ -1952,7 +1952,7 @@ public class QyWxOperationService { detail_list_control_info_inNumber.put("title", detail_list_control_info_title_list_inNumber); Map detail_list_control_info_value_inNumber = new HashMap<>(); - detail_list_control_info_value_inNumber.put("new_number", String.valueOf((double)recordMin.getQuantity() / 100)); + detail_list_control_info_value_inNumber.put("new_number", String.valueOf((double) recordMin.getQuantity() / 100)); detail_list_control_info_inNumber.put("value", detail_list_control_info_value_inNumber);