From 9486766c806fe1d9e082b2fd02ea1cc558f1b443 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 08 五月 2025 09:21:57 +0800 Subject: [PATCH] bug修改 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/THuiminAgreementController.java | 20 +++++++++----------- 1 files changed, 9 insertions(+), 11 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/THuiminAgreementController.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/THuiminAgreementController.java index f3c3549..a26625f 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/THuiminAgreementController.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/THuiminAgreementController.java @@ -21,7 +21,7 @@ import java.util.Objects; /** - * 惠民卡控制器 + * 玩湃惠民卡控制器 * * @author fengshuonan * @Date 2025-03-29 17:40:11 @@ -38,7 +38,7 @@ private TOperatorService operatorService; /** - * 跳转到惠民卡首页 + * 跳转到玩湃惠民卡首页 */ @RequestMapping("") public String index(Model model) { @@ -69,9 +69,7 @@ @ResponseBody public Object save(THuiminAgreement tHuiminAgreement) { tHuiminAgreement.setObjectType(UserExt.getUser().getObjectType()); - String agreementSettings = tHuiminAgreement.getAgreementSettings(); - List<THuiminAgreementSetting> tHuiminAgreementSettings = JSONArray.parseArray(agreementSettings, THuiminAgreementSetting.class); - tHuiminAgreement.setSettingList(tHuiminAgreementSettings); + huiminAgreementClient.insert(tHuiminAgreement); return SUCCESS_TIP; } @@ -87,7 +85,7 @@ } /* *//** - * 跳转到修改惠民卡 + * 跳转到修改玩湃惠民卡 *//* @RequestMapping("/tHuiminAgreement_update/{tHuiminAgreementId}") public String tHuiminAgreementUpdate(@PathVariable Integer tHuiminAgreementId, Model model) { @@ -98,7 +96,7 @@ } *//** - * 获取惠民卡列表 + * 获取玩湃惠民卡列表 *//* @RequestMapping(value = "/list") @ResponseBody @@ -107,7 +105,7 @@ } *//** - * 新增惠民卡 + * 新增玩湃惠民卡 *//* @RequestMapping(value = "/add") @ResponseBody @@ -117,7 +115,7 @@ } *//** - * 删除惠民卡 + * 删除玩湃惠民卡 *//* @RequestMapping(value = "/delete") @ResponseBody @@ -127,7 +125,7 @@ } *//** - * 修改惠民卡 + * 修改玩湃惠民卡 *//* @RequestMapping(value = "/update") @ResponseBody @@ -137,7 +135,7 @@ } *//** - * 惠民卡详情 + * 玩湃惠民卡详情 *//* @RequestMapping(value = "/detail/{tHuiminAgreementId}") @ResponseBody -- Gitblit v1.7.1