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());
// 判断申请人是否是[单证专属]岗位
SysUser opUser = getEmisStaffByCode(emisWaybillAjustApply.getApplyManCode());
if (opUser != null) {
// 判断申请人是否是单证专属
List<Long> postIds = postMapper.selectPostListByUserId(opUser.getUserId());
if (!CollectionUtils.isEmpty(postIds)) {
for (Long poId : postIds) {
if (poId == 18) {
isDZZS = true;
break;
if("9".equals(emisWaybillAjustApply.getApplyType())) {
SysUser opUser = getEmisStaffByCode(emisWaybillAjustApply.getApplyManCode());
if (opUser != null) {
// 判断申请人是否是单证专属
List<Long> postIds = postMapper.selectPostListByUserId(opUser.getUserId());
if (!CollectionUtils.isEmpty(postIds)) {
for (Long poId : postIds) {
if (poId == 18) {
isDZZS = true;
break;
}
}
}
}