This commit is contained in:
linfso 2025-06-18 16:31:03 +08:00
parent a5c02922fc
commit 4000ce0489

View File

@ -254,15 +254,17 @@ public class EmisWaybillAjustApplyServiceImpl extends EmisBaseService implements
emisWaybillAjustApply.setCenterConfirmManCode(getCurrentUser().getEmpCode()); emisWaybillAjustApply.setCenterConfirmManCode(getCurrentUser().getEmpCode());
// 判断申请人是否是[单证专属]岗位 // 判断申请人是否是[单证专属]岗位
SysUser opUser = getEmisStaffByCode(emisWaybillAjustApply.getApplyManCode()); if("9".equals(emisWaybillAjustApply.getApplyType())) {
if (opUser != null) { SysUser opUser = getEmisStaffByCode(emisWaybillAjustApply.getApplyManCode());
// 判断申请人是否是单证专属 if (opUser != null) {
List<Long> postIds = postMapper.selectPostListByUserId(opUser.getUserId()); // 判断申请人是否是单证专属
if (!CollectionUtils.isEmpty(postIds)) { List<Long> postIds = postMapper.selectPostListByUserId(opUser.getUserId());
for (Long poId : postIds) { if (!CollectionUtils.isEmpty(postIds)) {
if (poId == 18) { for (Long poId : postIds) {
isDZZS = true; if (poId == 18) {
break; isDZZS = true;
break;
}
} }
} }
} }