1.添加第三方产品信息,设置更新时间,修复新增第三方产品信息无更新时间导致无法同步的问题

fengcang
x_z 3 years ago
parent ad3d15df00
commit 930eab2d82

@ -30,10 +30,7 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
//基础信息维护
@RestController
@ -245,6 +242,7 @@ public class UdiInfoController {
if (null == thrProductsEntity)
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL);
thrProductsEntity.setThirdSysFk(thrProductsEntity.getThirdSys());
thrProductsEntity.setUpdateTime(new Date());
thrProductsService.insertThrProducts(thrProductsEntity);
return ResultVOUtils.success();
}

Loading…
Cancel
Save