霸王餐报错修复
This commit is contained in:
parent
dafc70aea4
commit
608921b366
|
|
@ -18,6 +18,8 @@ import jakarta.annotation.Resource;
|
||||||
import org.apache.dubbo.config.annotation.DubboReference;
|
import org.apache.dubbo.config.annotation.DubboReference;
|
||||||
import org.apache.dubbo.config.annotation.DubboService;
|
import org.apache.dubbo.config.annotation.DubboService;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 霸王餐配置信息表 服务层实现。
|
* 霸王餐配置信息表 服务层实现。
|
||||||
*
|
*
|
||||||
|
|
@ -61,7 +63,7 @@ public class FreeDineConfigServiceImpl extends ServiceImpl<FreeDineConfigMapper,
|
||||||
config.setShopIdList(JSONArray.toJSONString(freeDineConfigEditDTO.getShopIdList()));
|
config.setShopIdList(JSONArray.toJSONString(freeDineConfigEditDTO.getShopIdList()));
|
||||||
}
|
}
|
||||||
|
|
||||||
shopConfigService.editStatusByShopIdList(config.getShopId(), freeDineConfigEditDTO.getEnable() ? 1 : 0,true, "is_account_ay", freeDineConfigEditDTO.getUseShopType(), freeDineConfigEditDTO.getShopIdList());
|
shopConfigService.editStatusByShopIdList(config.getShopId(), freeDineConfigEditDTO.getEnable() ? 1 : 0,true, "is_account_ay", freeDineConfigEditDTO.getUseShopType(), freeDineConfigEditDTO.getShopIdList() == null ? new ArrayList<>() : freeDineConfigEditDTO.getShopIdList());
|
||||||
if (freeDineConfigEditDTO.getUseType() != null) {
|
if (freeDineConfigEditDTO.getUseType() != null) {
|
||||||
config.setUseType(JSONObject.toJSONString(freeDineConfigEditDTO.getUseType()));
|
config.setUseType(JSONObject.toJSONString(freeDineConfigEditDTO.getUseType()));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue