|
@@ -7,8 +7,6 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.Set;
|
|
|
|
|
|
-import com.czb.sap.sdk.tools.StringUtils;
|
|
|
-
|
|
|
import kd.bos.context.RequestContext;
|
|
|
import kd.bos.dataentity.OperateOption;
|
|
|
import kd.bos.dataentity.entity.DynamicObject;
|
|
@@ -70,9 +68,9 @@ public class PurContractHaveNotJGSDTask extends AbstractTask {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ StringBuffer bf = new StringBuffer();
|
|
|
if(!cghtbillnos.isEmpty()) {
|
|
|
- StringBuffer bf = new StringBuffer();
|
|
|
+
|
|
|
for(String cghtbillno : cghtbillnos) {
|
|
|
String xshtbillno = xsht2cghtbillno.get(cghtbillno);
|
|
|
Set<String> cgs = xsht2cght.get(xshtbillno);
|
|
@@ -93,11 +91,9 @@ public class PurContractHaveNotJGSDTask extends AbstractTask {
|
|
|
bf.append(cght.toString());
|
|
|
bf.append(System.lineSeparator());
|
|
|
}
|
|
|
-
|
|
|
- if(StringUtils.isNotBlank(bf.toString())) {
|
|
|
- this.buildBGYJD(bf.toString());
|
|
|
- }
|
|
|
}
|
|
|
+ this.buildBGYJD("xshtbillnos=" + xshtbillnos + ",cghtbillnos=" + cghtbillnos + ",xsht2cghtbillno=" + xsht2cghtbillno +
|
|
|
+ ",xsht2cght=" + xsht2cght + "," + bf.toString());
|
|
|
}
|
|
|
}
|
|
|
|