|
|
|
@ -206,6 +206,27 @@ public class GroupManagementServiceImpl implements GroupManagementService { |
|
|
|
|
return groupManagementMapper.queryByGroupIdList(groupIdList, OrderInfoEnum.ORDER_KPZZGL_CXLX_1.getKey()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Transactional(readOnly = true) |
|
|
|
|
public Boolean checkInvoiceRemarksFlag(String xfnsrsbh, String ghfId) { |
|
|
|
|
if (StringUtils.isBlank(xfnsrsbh)) { |
|
|
|
|
return Boolean.FALSE; |
|
|
|
|
} |
|
|
|
|
if (StringUtils.isBlank(ghfId)) { |
|
|
|
|
return Boolean.FALSE; |
|
|
|
|
} |
|
|
|
|
if (groupManagementMapper.countEntIdNumByXfnsrsbh(xfnsrsbh) <= 1) { |
|
|
|
|
return Boolean.FALSE; |
|
|
|
|
} |
|
|
|
|
if (ghfId.length()<=6) { |
|
|
|
|
return Boolean.FALSE; |
|
|
|
|
} |
|
|
|
|
if (!"000006".equals(ghfId.substring(0,6))) { |
|
|
|
|
return Boolean.FALSE; |
|
|
|
|
} |
|
|
|
|
return Boolean.TRUE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 构建组织树集合 |
|
|
|
|
*/ |
|
|
|
|