|
@@ -143,6 +143,9 @@ public class GoodsFieldServiceImpl implements GoodsFieldService {
|
|
|
GoodsField record = new GoodsField();
|
|
|
BeanCopyUtil.copyBean(goodsFieldForm,record);
|
|
|
int i = goodsFieldMapper.updateByPrimaryKeySelective(record);
|
|
|
+ if (i < 1){
|
|
|
+ throw new GlobalException(ResultEnum.FAILURE.getCode(),ResultEnum.FAILED.getMsg());
|
|
|
+ }
|
|
|
//TODO 删除辅助信息
|
|
|
List<GoodsInfoAuxiliaryForm> auxList =goodsFieldForm.getAuxList();
|
|
|
// 如果前端没有传auxList
|