diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java index e6edad9..0c68f22 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/account/mapper/AccInfoMapper.java @@ -76,7 +76,9 @@ public interface AccInfoMapper extends BaseMapper { AccInfoDetailsVO queryAccInfoBalanceSum(@Param("accountInfoQueryParam") AccountInfoQueryParam accountInfoQueryParam, @Param("encryptedSearchValue") String encryptedSearchValue); - void updateAccInfoEndDateByUserId(LocalDate endDate, List userIds, String updateBy); + void updateAccInfoEndDateByUserId(@Param("endDate") LocalDate endDate, + @Param("userIds") List userIds, + @Param("updateBy") String updateBy); List queryAccInfoByUserIds(@Param("userIds") List userIds); AccInfoDetailsVO queryAccInfoByUserId(@Param("userId") Long userId); diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenEvaluateController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenEvaluateController.java index 25e1e81..b8f98db 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenEvaluateController.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenEvaluateController.java @@ -55,7 +55,7 @@ public class BasicCanteenEvaluateController extends BaseController { @ApiOperation(value = "导出食堂评价列表") //@PreventRepeatSubmit //@RequiresPermissions("basic:evaluate:export") - @SysLog(title = "食堂评价", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出食堂评价") + @SysLog(title = "食堂评价", businessType = OperaType.EXPORT, logType = 1,module = "食堂管理->导出食堂评价") @PostMapping("/export") public void export(HttpServletResponse response, BasicCanteenEvaluate basicCanteenEvaluate) { List list = basicCanteenEvaluateService.selectBasicCanteenEvaluateList(basicCanteenEvaluate); @@ -79,7 +79,7 @@ public class BasicCanteenEvaluateController extends BaseController { @ApiOperation(value = "新增食堂评价") //@PreventRepeatSubmit //@RequiresPermissions("basic:evaluate:add") - @SysLog(title = "食堂评价", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增食堂评价") + @SysLog(title = "食堂评价", businessType = OperaType.INSERT, logType = 1,module = "食堂管理->新增食堂评价") @PostMapping public AjaxResult add(@RequestBody BasicCanteenEvaluate basicCanteenEvaluate) { try { @@ -95,7 +95,7 @@ public class BasicCanteenEvaluateController extends BaseController { @ApiOperation(value = "修改食堂评价") //@PreventRepeatSubmit //@RequiresPermissions("basic:evaluate:edit") - @SysLog(title = "食堂评价", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改食堂评价") + @SysLog(title = "食堂评价", businessType = OperaType.UPDATE, logType = 1,module = "食堂管理->修改食堂评价") @PostMapping("/edit") public AjaxResult edit(@RequestBody BasicCanteenEvaluate basicCanteenEvaluate) { try { @@ -111,7 +111,7 @@ public class BasicCanteenEvaluateController extends BaseController { @ApiOperation(value = "删除食堂评价") //@PreventRepeatSubmit //@RequiresPermissions("basic:evaluate:remove") - @SysLog(title = "食堂评价", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除食堂评价") + @SysLog(title = "食堂评价", businessType = OperaType.DELETE, logType = 1,module = "食堂管理->删除食堂评价") @PostMapping("/del/{evaluateIds}") public AjaxResult remove(@PathVariable Long[] evaluateIds) { return toAjax(basicCanteenEvaluateService.deleteBasicCanteenEvaluateByEvaluateIds(evaluateIds)); diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenSuggestionController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenSuggestionController.java index bb648c5..03f66fd 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenSuggestionController.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/controller/BasicCanteenSuggestionController.java @@ -55,7 +55,7 @@ public class BasicCanteenSuggestionController extends BaseController { @ApiOperation(value = "导出投诉建议 列表") //@PreventRepeatSubmit //@RequiresPermissions("basic:suggestion:export") - @SysLog(title = "投诉建议 ", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出投诉建议 ") + @SysLog(title = "投诉建议 ", businessType = OperaType.EXPORT, logType = 1,module = "食堂管理->导出投诉建议 ") @PostMapping("/export") public void export(HttpServletResponse response, BasicCanteenSuggestion basicCanteenSuggestion) { List list = basicCanteenSuggestionService.selectBasicCanteenSuggestionList(basicCanteenSuggestion); @@ -79,7 +79,7 @@ public class BasicCanteenSuggestionController extends BaseController { @ApiOperation(value = "新增投诉建议 ") //@PreventRepeatSubmit //@RequiresPermissions("basic:suggestion:add") - @SysLog(title = "投诉建议 ", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增投诉建议 ") + @SysLog(title = "投诉建议 ", businessType = OperaType.INSERT, logType = 1,module = "食堂管理->新增投诉建议 ") @PostMapping public AjaxResult add(@RequestBody BasicCanteenSuggestion basicCanteenSuggestion) { try { @@ -95,7 +95,7 @@ public class BasicCanteenSuggestionController extends BaseController { @ApiOperation(value = "修改投诉建议 ") //@PreventRepeatSubmit //@RequiresPermissions("basic:suggestion:edit") - @SysLog(title = "投诉建议 ", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改投诉建议 ") + @SysLog(title = "投诉建议 ", businessType = OperaType.UPDATE, logType = 1,module = "食堂管理->修改投诉建议 ") @PostMapping("/edit") public AjaxResult edit(@RequestBody BasicCanteenSuggestion basicCanteenSuggestion) { try { @@ -105,13 +105,27 @@ public class BasicCanteenSuggestionController extends BaseController { } } + @ApiOperation(value = "回复投诉建议 ") + //@PreventRepeatSubmit + //@RequiresPermissions("alloc:suggestion:edit") + @SysLog(title = "回复投诉建议 ", businessType = OperaType.UPDATE, logType = 1,module = "食堂管理->回复投诉建议 ") + @PostMapping("/reply") + public AjaxResult reply(@RequestBody BasicCanteenSuggestion basicCanteenSuggestion) { + try { + basicCanteenSuggestion.setReplyState(1L); + return toAjax(basicCanteenSuggestionService.updateBasicCanteenSuggestion(basicCanteenSuggestion)); + } catch (Exception e) { + return error("系统错误, " + e.getMessage()); + } + } + /** * 删除投诉建议 */ @ApiOperation(value = "删除投诉建议 ") //@PreventRepeatSubmit //@RequiresPermissions("basic:suggestion:remove") - @SysLog(title = "投诉建议 ", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除投诉建议 ") + @SysLog(title = "投诉建议 ", businessType = OperaType.DELETE, logType = 1,module = "食堂管理->删除投诉建议 ") @PostMapping("/del/{suggestionIds}") public AjaxResult remove(@PathVariable Long[] suggestionIds) { return toAjax(basicCanteenSuggestionService.deleteBasicCanteenSuggestionBySuggestionIds(suggestionIds)); diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenEvaluate.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenEvaluate.java index 4973eb6..34f1e7a 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenEvaluate.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenEvaluate.java @@ -30,21 +30,29 @@ public class BasicCanteenEvaluate extends BaseEntity { @ApiModelProperty(value = "人员ID") private Long userId; + private String nickName; + /** 区域ID */ @Excel(name = " 区域ID") @ApiModelProperty(value = " 区域ID") private Long areaId; + private String areaName; + /** 食堂ID */ @Excel(name = "食堂ID") @ApiModelProperty(value = "食堂ID") private Long canteenId; + private String canteenName; + /** 档口ID */ @Excel(name = "档口ID") @ApiModelProperty(value = "档口ID") private Long stallId; + private String stallName; + /** 评价日期 */ @ApiModelProperty(value = "评价日期") @JsonFormat(pattern = "yyyy-MM-dd") diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenSuggestion.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenSuggestion.java index c933040..677643e 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenSuggestion.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/basic/domain/BasicCanteenSuggestion.java @@ -55,6 +55,12 @@ public class BasicCanteenSuggestion extends BaseEntity { @ApiModelProperty(value = "是否回复(1是,2否)") private Long replyState; + @ApiModelProperty("开始时间") + private String startTime; + + @ApiModelProperty("结束时间") + private String endTime; + /** 回复者用户id */ @Excel(name = "回复者用户id") @ApiModelProperty(value = "回复者用户id") diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/config/SecureManager.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/config/SecureManager.java deleted file mode 100644 index a3ea273..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/config/SecureManager.java +++ /dev/null @@ -1,154 +0,0 @@ -package com.bonus.canteen.core.config;//package com.bonus.canteen.core.config; -// -//import cn.hutool.core.map.MapUtil; -//import com.bonus.canteen.core.customer.service.AuthorizingService; -//import com.bonus.canteen.core.secure.PmsCache; -//import com.fasterxml.jackson.core.JsonProcessingException; -//import com.fasterxml.jackson.databind.ObjectMapper; -//import com.google.common.collect.Maps; -//import com.google.common.collect.Sets; -//import org.apache.commons.collections4.CollectionUtils; -//import org.apache.commons.collections4.ListUtils; -//import org.apache.commons.lang3.BooleanUtils; -//import org.slf4j.Logger; -//import org.slf4j.LoggerFactory; -//import org.springframework.data.redis.core.BoundHashOperations; -//import org.springframework.data.redis.core.StringRedisTemplate; -//import java.time.Instant; -//import java.util.*; -//import java.util.function.Function; -//import java.util.stream.Collectors; -//import java.util.stream.Stream; -// -//public class SecureManager { -// private static final Logger log = LoggerFactory.getLogger(SecureManager.class); -// private static SecureProperties secureProperties; -// private static StringRedisTemplate redisTemplate; -// private static AuthorizingService authorizingService; -// private static ObjectMapper objectMapper; -// -// private SecureManager() { -// } -// -// public static void setSecureProperties(SecureProperties secureProperties) { -// if (SecureManager.secureProperties == null) { -// SecureManager.secureProperties = secureProperties; -// } -// } -// -// public static void setRedisTemplate(StringRedisTemplate redisTemplate) { -// if (SecureManager.redisTemplate == null) { -// SecureManager.redisTemplate = redisTemplate; -// } -// } -// -// public static void setAuthorizingService(AuthorizingService authorizingService) { -// if (SecureManager.authorizingService == null) { -// SecureManager.authorizingService = authorizingService; -// } -// } -// -// public static void setObjectMapper(ObjectMapper objectMapper) { -// if (SecureManager.objectMapper == null) { -// SecureManager.objectMapper = objectMapper; -// } -// } -// -// private static String getPmsKey(long subjectId) { -// return "permissions:subject_id:" + subjectId; -// } -// -// private static String getRoleKey(long subjectId) { -// return "roles:subject_id:" + subjectId; -// } -// -// public static void clearAllRoleAndPermission() { -// redisTemplate.delete(secureProperties.getPermissionKey()); -// } -// -// public static void clearRoleAndPermission(long subjectId) { -// redisTemplate.boundHashOps(secureProperties.getPermissionKey()).delete(new Object[]{getRoleKey(subjectId), getPmsKey(subjectId)}); -// } -// -// public static void clearRole(long subjectId) { -// redisTemplate.boundHashOps(secureProperties.getPermissionKey()).delete(new Object[]{getRoleKey(subjectId)}); -// } -// -// public static void clearPermission(long subjectId) { -// redisTemplate.boundHashOps(secureProperties.getPermissionKey()).delete(new Object[]{getPmsKey(subjectId)}); -// } -// -// public static boolean isLogin() { -// return (Boolean)WebContext.get().getAccessToken().map(AccessToken::isAuthenticated).orElse(false); -// } -// -// public static Optional getSubjectId() { -// return WebContext.get().getAccessToken().map(AccessToken::getSubjectId); -// } -// -// public static Optional getSubjectName() { -// return WebContext.get().getAccessToken().map(AccessToken::getSubjectName); -// } -// -// public static Map getSubjectData() { -// return (Map)WebContext.get().getAccessToken().map(AccessToken::getSubjectData).orElse(Maps.newHashMap()); -// } -// -// public static Map attachData(Map data) { -// try { -// if (MapUtil.isEmpty(data)) { -// return Maps.newHashMapWithExpectedSize(0); -// } else { -// AccessToken accessToken = (AccessToken)WebContext.get().getAccessToken().orElse(AccessToken.create()); -// Objects.requireNonNull(accessToken); -// data.forEach(accessToken::setData); -// accessToken.bind().store(); -// return accessToken.getSubjectData(); -// } -// } catch (Throwable var2) { -// throw var2; -// } -// } -// -// public static Map attachData(String key, String value) { -// try { -// return attachData(Collections.singletonMap(key, value)); -// } catch (Throwable var3) { -// throw var3; -// } -// } -// -// public static void logout() { -// WebContext.get().getAccessToken().ifPresent(AccessToken::clear); -// } -// -// public static void revokeAuthenticate() { -// WebContext.get().getAccessToken().ifPresent((accessToken) -> { -// accessToken.revokeAuthenticate().store(); -// }); -// } -// -// public static void revokeAuthenticate(long subjectId, int reservedRecentNum) { -// StringRedisTemplate var10000 = redisTemplate; -// String var10001 = secureProperties.getServer().getSubjectRefTokenKey(); -// Set keys = var10000.keys(var10001 + ":" + subjectId + ":*"); -// if (CollectionUtils.size(keys) > reservedRecentNum) { -// assert keys != null; -// -// Map> createTimeAsc_keys = (Map)keys.stream().collect(Collectors.groupingBy((key) -> { -// return Long.parseLong(key.split(":")[4]); -// }, TreeMap::new, Collectors.toList())); -// List keysAsc = createTimeAsc_keys.values().stream().flatMap(Collection::stream).collect(Collectors.toList()); -// List beDeleteRefKeys = keysAsc.subList(0, keysAsc.size() - reservedRecentNum); -// List beDeleteTokenKeys = beDeleteRefKeys.stream().map((dk) -> { -// String var100001 = secureProperties.getServer().getStoreKey(); -// return var100001 + ":" + dk.split(":")[3]; -// }).collect(Collectors.toList()); -// redisTemplate.delete(ListUtils.sum(beDeleteRefKeys, beDeleteTokenKeys)); -// } -// } -// -// public String toString() { -// return "SecureManager()"; -// } -//} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/CustomIdGenerateUtil.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/CustomIdGenerateUtil.java deleted file mode 100644 index 159af04..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/CustomIdGenerateUtil.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.bonus.canteen.core.utils; - -import cn.hutool.core.date.DateUtil; -import com.bonus.canteen.core.common.utils.RedisUtil; -import com.bonus.canteen.core.common.utils.SpringContextHolder; -import com.bonus.canteen.core.common.utils.TenantContextHolder; -import com.bonus.common.houqin.constant.GlobalConstants; -import org.springframework.data.redis.core.RedisTemplate; - -import java.time.LocalDateTime; - -public class CustomIdGenerateUtil { - public static String generatePurchaseOrdId() { - return generateFixedRuleId("purchaseOrderId:", "CGJH", 3, 3); - } - - public static String generateIntoId() { - return generateFixedRuleId("intoId:", "RKD", 3, 3); - } - - public static String generateOutId() { - return generateFixedRuleId("outId:", "CKD", 3, 3); - } - - public static String generateCheckId() { - return generateFixedRuleId("checkId:", "PDD", 3, 3); - } - - public static String generateInquiryId() { - return generateFixedRuleId("inquiryId:", "XJD", 3, 3); - } - - public static String generateProductionId() { - return generateFixedRuleId("productionId:", "SCJH", 3, 3); - } - - public static String generateDeliveryGoodsId() { - return generateFixedRuleId("deliveryGoodsId:", "SHD", 3, 3); - } - - public static String generateOrderGoodsId() { - return generateFixedRuleId("orderGoodsId:", "CGDD", 3, 3); - } - - public static String generateMaterialInquiryId() { - return generateFixedRuleId("materialInquiryId:", "HPXJD", 3, 3); - } - - public static String generateInspectGoodsId() { - return generateFixedRuleId("inspectGoodsId:", "YHD", 3, 3); - } - - public static String generateRefundGoodsId() { - return generateFixedRuleId("refundGoodsId:", "THD", 3, 3); - } - - public static String generateFetchMaterialId() { - return generateFixedRuleId("fetchMaterialId:", "LLD", 3, 3); - } - - public static String generateGoodsAllocationId() { - return generateFixedRuleId("goodsAllocationId", "HPDB", 3, 3); - } - - public static String generateContractId() { - return generateFixedRuleId("drpContractId:", "CGHT", 3, 3); - } - - public static String generateAdjustmentOrderId() { - return generateFixedRuleId("drpAdjustmentOrderId:", "TJD", 3, 3); - } - - public static String generateMarketPriceId() { - return generateFixedRuleId("drpAdjustmentOrderId:", "SCJ", 3, 3); - } - - public static String generateFixedRuleId(String redisKey, String idPrefix, Integer randomLength, Integer length) { - Long var10000 = GlobalConstants.TENANT_ID; - redisKey = "ystKey:" + var10000 + ":" + redisKey; - Long incr = RedisUtil.getIncr(redisTemplate(), redisKey); - return idPrefix + DateUtil.format(LocalDateTime.now(), "yyyyMMdd") + getRandomDigit(randomLength) + (length <= 0 ? "" : String.format("%0" + length + "d", incr)); - } - - private static RedisTemplate redisTemplate() { - return (RedisTemplate) SpringContextHolder.getBean("redisTemplate"); - } - - public static String getRandomDigit(int length) { - if (length <= 0) { - return ""; - } else { - int num = (int)(Math.random() * Math.pow(10.0, (double)length)); - return String.format("%0" + length + "d", num); - } - } -} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/excel/EasyExcelUtil.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/excel/EasyExcelUtil.java deleted file mode 100644 index 8b2d944..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/excel/EasyExcelUtil.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.bonus.canteen.core.utils.excel; - -import com.alibaba.excel.EasyExcel; -import com.alibaba.excel.exception.ExcelDataConvertException; -import com.alibaba.excel.metadata.data.CellData; -import com.alibaba.excel.read.builder.ExcelReaderSheetBuilder; -import com.bonus.common.core.exception.ServiceException; -import org.springframework.web.multipart.MultipartFile; -import com.bonus.canteen.core.common.config.excel.ExcelListener; - -import java.util.List; - -public class EasyExcelUtil { - public static List readSingleExcel(MultipartFile excel, T t, int headRowNumber) throws Exception { - String filename = excel.getOriginalFilename(); - if (filename != null && (filename.toLowerCase().endsWith(".xls") || filename.toLowerCase().endsWith(".xlsx"))) { - try { - return ((ExcelReaderSheetBuilder)EasyExcel.read(excel.getInputStream(), t.getClass(), new ExcelListener()).sheet().headRowNumber(headRowNumber)).doReadSync(); - } catch (ExcelDataConvertException var8) { - int rowIndex = var8.getRowIndex(); - CellData cellData = var8.getCellData(); - String stringValue = cellData.getStringValue(); - throw new ServiceException("第" + rowIndex + "行【" + stringValue + "】数据格式错误!"); - } catch (Exception var9) { - throw new ServiceException("文件读取失败,请检查重试!"+ var9.getMessage()); - } - } else { - throw new ServiceException("文件格式错误!"); - } - } -} diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/excel/ExcelListener.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/excel/ExcelListener.java deleted file mode 100644 index 12ffa34..0000000 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/utils/excel/ExcelListener.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.bonus.canteen.core.common.config.excel; - -import com.alibaba.excel.context.AnalysisContext; -import com.alibaba.excel.event.AnalysisEventListener; - -import java.util.ArrayList; -import java.util.List; - -public class ExcelListener extends AnalysisEventListener { - private List datas = new ArrayList(); - - @Override - public void invoke(Object object, AnalysisContext context) { - this.datas.add(object); - this.doSomething(); - } - - private void doSomething() { - } - - @Override - public void doAfterAllAnalysed(AnalysisContext context) { - } - - public List getDatas() { - return this.datas; - } - - public void setDatas(List datas) { - this.datas = datas; - } -} diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml index c7d1d28..1e3b249 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccInfoMapper.xml @@ -115,7 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" where account_id = #{accId} - + insert into account_info account_name, @@ -152,7 +152,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" #{userId}, #{scope}, #{endDate}, - #{redValidityDate}, #{accountStatus}, #{payPwd}, #{lastCreditTime}, @@ -224,7 +223,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" update account_info set del_flag = '2' where account_id in - #{accId} + #{id} diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml index 6e85447..5ad9aa3 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/account/AccWalletInfoMapper.xml @@ -106,7 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into account_wallet_info(user_id,account_id,wallet_type,create_by,create_time) values - (#{item.userId},#{item.accId},#{item.walletType},#{item.createBy},NOW()) + (#{item.userId},#{item.accountId},#{item.walletType},#{item.createBy},NOW()) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenEvaluateMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenEvaluateMapper.xml index 256ea06..5c991d3 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenEvaluateMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenEvaluateMapper.xml @@ -6,9 +6,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + + + + diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml index 03210c9..207ac7c 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/basic/BasicCanteenSuggestionMapper.xml @@ -30,13 +30,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"