Commit 39b1f16d by 杨林龙

1.21.0开发仲利同步激活时间给仲利接口

1 parent 4f9dc481
......@@ -32,6 +32,12 @@ public class SyncZhongLiDataComponent {
@Async
public void syncZhongLiInstallTime(WorkOrder workOrder) {
log.info("syncZhongLiInstallTime start===" + workOrder.getPartnerOrderNo());
if (Boolean.FALSE.equals(Boolean.valueOf(PropertiesUtils.getProperty("sync.zl.active.data.flag")))) {
log.info("开关关闭,不推送给仲利" + workOrder.getPartnerOrderNo());
return;
}
// 仲利国际的工单才会推送
if (!WorkOrderSourceEnum.ZLGJ.getCode().equals(workOrder.getOrderSource())) {
log.info("不是仲利国际的单===" + workOrder.getPartnerOrderNo());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!