参数代理对象feign调用问题
This commit is contained in:
+1
-3
@@ -88,9 +88,7 @@ public class MaterialBaseInfoImpl extends ServiceImpl<MaterialBaseInfoMapper, Ma
|
||||
*/
|
||||
public void synchMaterialBaseInfo(MaterialBaseInfoDO materialBaseInfoDO, Integer updateFeign){
|
||||
MaterialBaseInfoFeign materialBaseInfoFeign = new MaterialBaseInfoFeign();
|
||||
// 或者用 JSON 转换后再复制(保证对象是真正的实例)
|
||||
MaterialBaseInfoFeign temp = JSONUtil.toBean(JSONUtil.toJsonStr(materialBaseInfoDO), MaterialBaseInfoFeign.class);
|
||||
BeanUtils.copyProperties(temp, materialBaseInfoFeign);
|
||||
BeanUtils.copyProperties(materialBaseInfoDO, materialBaseInfoFeign);
|
||||
materialBaseInfoFeign.setUpdateFeign(updateFeign);
|
||||
AjaxResult ajaxResult = wmsServiceFeign.edit(materialBaseInfoFeign);
|
||||
if (!"200".equals(String.valueOf(ajaxResult.get("code")))){
|
||||
|
||||
Reference in New Issue
Block a user