This commit is contained in:
LiJianZhao 2025-05-26 11:52:04 +08:00
parent 5c934538a4
commit 927ce5f45d
2 changed files with 4 additions and 3 deletions

View File

@ -224,10 +224,11 @@ public class ChargeService extends BaseService {
} }
//组套逻辑 //组套逻辑
if (dbService.getIsGroup()) { if (dbService.getIsGroup()) {
List<ItemGroupList> itemGroupList = itemGroupListMapper.selectList(new QueryWrapper<ItemGroupList>().eq("item_id", dbService.getId())); List<ItemGroupList> itemGroupList = itemGroupListMapper.selectList(new QueryWrapper<ItemGroupList>().eq("item_id", dbService.getId()).eq("del_flag",false));
if (itemGroupList.isEmpty()) { if (itemGroupList.isEmpty()) {
throw new MessageException("组套:" + service.getItemName() + "没有绑定商品数据"); throw new MessageException("组套:" + service.getItemName() + "没有绑定商品数据");
} }
for (ItemGroupList itemGroup : itemGroupList) { for (ItemGroupList itemGroup : itemGroupList) {
String fsn = StringUtil.getCode("FSN"); String fsn = StringUtil.getCode("FSN");
ChargeItemList itemList = new ChargeItemList(); ChargeItemList itemList = new ChargeItemList();

View File

@ -38,14 +38,14 @@
"11": { "11": {
"en": "json.data_creation_time", "en": "json.data_creation_time",
"zh": "数据创建时间", "zh": "数据创建时间",
"column_width": 100 "column_width": 150
} }
}, },
{ {
"12": { "12": {
"en": "json.data_update_time", "en": "json.data_update_time",
"zh": "数据更新时间", "zh": "数据更新时间",
"column_width": 100 "column_width": 150
} }
}, },
{ {