调整组织检查方法并更新接口
- 将 HttpPostOtherSysImpl 类中的静态方法 checkIfIncludeOrg改为非静态方法 - 在 IHttpPostOtherSys 接口中添加新的 checkIfIncludeOrg 方法
This commit is contained in:
parent
3e622e7141
commit
c8182e8da6
|
@ -131,7 +131,7 @@ public class HttpPostOtherSysImpl implements IHttpPostOtherSys {
|
|||
/**
|
||||
* 检查当前组织是否为电缆
|
||||
*/
|
||||
public static boolean checkIfIncludeOrg(String code) throws BusinessException {
|
||||
public boolean checkIfIncludeOrg(String code) throws BusinessException {
|
||||
//当当前操作人员是BIP的时候 直接return 不走同步MES的业务逻辑
|
||||
String targetCode = SysParaInitQuery.getParaString("GLOBLE00000000000000", "INCLUDEORG");
|
||||
if (targetCode == null || StringUtils.isEmpty(targetCode)) {
|
||||
|
|
|
@ -26,4 +26,6 @@ public interface IHttpPostOtherSys {
|
|||
public void sendToExternalSystem(String apiPaht, Map<String, Object> requestData) throws BusinessException;
|
||||
|
||||
public boolean checkIfExcludeUser();
|
||||
|
||||
public boolean checkIfIncludeOrg(String code) throws BusinessException;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue