|
|
@@ -64,7 +64,7 @@ public class ScheduleTaskServiceImpl implements ScheduleTaskService {
|
|
|
Map<String, Object> map1 =
|
|
|
syncMES(JSON.toJSONString(product, SerializerFeature.WriteMapNullValue).replace("null", "\"\""), tokenConfig.get("syncProduct"));
|
|
|
if (map1!=null) {
|
|
|
- int code1 = Integer.parseInt(StringUtil.nvl(map1.get("code"), "100"));
|
|
|
+ int code1 = Integer.parseInt(StringUtil.nvl(map1.get("code"), "-1"));
|
|
|
if (code1>0) {
|
|
|
int flag = product.getFlag();
|
|
|
if (flag == 1) {
|