refactor(ic): 恢复同步其它出库单逻辑
- 移除了对组织 ID 的判断条件,现在只同步山东泰开电缆有限公司的数据 - 优化了代码结构,提高了可读性
This commit is contained in:
parent
e1f46549b8
commit
61fe3c2d6b
|
@ -44,10 +44,10 @@ public class AfterSignRuleSyncMesProcess implements IRule<GeneralOutVO> {
|
|||
private void syncOtherSystem(GeneralOutVO generalOutVO) throws BusinessException {
|
||||
obmlog.debug("触发同步其它出库单,出库类型编码:" + generalOutVO.getHead().getVtrantypecode() + "开始拼接数据");
|
||||
|
||||
// if (!generalOutVO.getHead().getPk_org().equals("0001A110000000000677")) {
|
||||
// obmlog.debug("仅同步山东泰开电缆有限公司,当前组织:" + generalOutVO.getHead().getPk_org());
|
||||
// return; // 仅操作山东泰开电缆有限公司
|
||||
// }
|
||||
if (!generalOutVO.getHead().getPk_org().equals("0001A110000000000677")) {
|
||||
obmlog.debug("仅同步山东泰开电缆有限公司,当前组织:" + generalOutVO.getHead().getPk_org());
|
||||
return; // 仅操作山东泰开电缆有限公司
|
||||
}
|
||||
|
||||
// 其它出库
|
||||
if (generalOutVO.getHead().getVtrantypecode().equals("4I-01")) {
|
||||
|
|
Loading…
Reference in New Issue