diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/ShoppingCartController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/ShoppingCartController.java index 7e476e967..8c90003a7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/ShoppingCartController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/ShoppingCartController.java @@ -31,10 +31,6 @@ public class ShoppingCartController extends XktBaseController { final IShoppingCartService shopCartService; - /** - * 电商卖家添加商品到进货车 - */ -// // @PreAuthorize("@ss.hasPermi('system:cart:add')") @ApiOperation(value = "电商卖家添加商品到进货车", httpMethod = "POST", response = R.class) @Log(title = "电商卖家添加商品到进货车", businessType = BusinessType.INSERT) @PostMapping @@ -42,10 +38,6 @@ public class ShoppingCartController extends XktBaseController { return R.ok(shopCartService.create(BeanUtil.toBean(shopCartVO, ShoppingCartDTO.class))); } - /** - * 电商卖家编辑进货车商品 - */ -// // @PreAuthorize("@ss.hasPermi('system:store:edit')") @ApiOperation(value = "电商卖家编辑进货车商品", httpMethod = "PUT", response = R.class) @Log(title = "电商卖家编辑进货车商品", businessType = BusinessType.UPDATE) @PutMapping @@ -53,40 +45,24 @@ public class ShoppingCartController extends XktBaseController { return R.ok(shopCartService.update(BeanUtil.toBean(editVO, ShoppingCartEditDTO.class))); } - /** - * 获取用户进货车列表 - */ -// // @PreAuthorize("@ss.hasPermi('system:cart:list')") @ApiOperation(value = "获取用户进货车列表", httpMethod = "POST", response = R.class) @PostMapping("/page") public R> page(@Validated @RequestBody ShopCartPageVO pageVO) { return R.ok(shopCartService.page(BeanUtil.toBean(pageVO, ShopCartPageDTO.class))); } - /** - * 用户进货车列表点击编辑获取数据 - */ -// // @PreAuthorize("@ss.hasPermi('system:cart:list')") @ApiOperation(value = "用户进货车列表点击编辑获取数据", httpMethod = "GET", response = R.class) @GetMapping("/edit/{shoppingCartId}") public R getEditInfo(@PathVariable Long shoppingCartId) { return R.ok(BeanUtil.toBean(shopCartService.getEditInfo(shoppingCartId), ShopCartEditDetailResVO.class)); } - /** - * 进货车下单时及商品下单时获取商品列表 - */ @ApiOperation(value = "进货车下单时及商品下单时获取商品列表", httpMethod = "POST", response = R.class) @PostMapping("/list") public R> getList(@Validated @RequestBody ShopCartListVO listVO) { return R.ok(BeanUtil.copyToList(shopCartService.getList(BeanUtil.toBean(listVO, ShopCartListDTO.class)), ShopCartResVO.class)); } - - /** - * 用户删除进货车商品 - */ -// // @PreAuthorize("@ss.hasPermi('system:sale:remove')") @ApiOperation(value = "用户删除进货车商品", httpMethod = "DELETE", response = R.class) @Log(title = "用户删除进货车商品", businessType = BusinessType.DELETE) @DeleteMapping @@ -95,5 +71,4 @@ public class ShoppingCartController extends XktBaseController { } - } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreCertificateController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreCertificateController.java index 824efd99e..2e12e8a94 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreCertificateController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreCertificateController.java @@ -12,7 +12,6 @@ import com.ruoyi.xkt.service.IStoreCertificateService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; -import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; @@ -30,10 +29,6 @@ public class StoreCertificateController extends XktBaseController { final IStoreCertificateService storeCertService; - /** - * 新增档口认证 - */ -// // @PreAuthorize("@ss.hasPermi('system:certificate:add')") @ApiOperation(value = "新增档口认证", httpMethod = "POST", response = R.class) @Log(title = "新增档口认证", businessType = BusinessType.INSERT) @PostMapping @@ -41,20 +36,12 @@ public class StoreCertificateController extends XktBaseController { return R.ok(storeCertService.create(BeanUtil.toBean(storeCertVO, StoreCertDTO.class))); } - /** - * 获取档口认证详细信息 - */ - // @PreAuthorize("@ss.hasPermi('system:certificate:query')") @ApiOperation(value = "获取档口认证详细信息", httpMethod = "GET", response = R.class) @GetMapping(value = "/{storeId}") public R getInfo(@PathVariable("storeId") Long storeId) { return R.ok(BeanUtil.toBean(storeCertService.getInfo(storeId), StoreCertResVO.class)); } - /** - * 修改档口认证 - */ - // @PreAuthorize("@ss.hasPermi('system:certificate:edit')") @ApiOperation(value = "修改档口认证", httpMethod = "PUT", response = R.class) @Log(title = "修改档口认证", businessType = BusinessType.UPDATE) @PutMapping diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreColorController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreColorController.java index b0ac1a60c..7cb85adc2 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreColorController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/StoreColorController.java @@ -8,7 +8,6 @@ import com.ruoyi.xkt.service.IStoreColorService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; -import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; @@ -30,10 +29,6 @@ public class StoreColorController extends XktBaseController { final IStoreColorService storeColorService; - /** - * 查询档口颜色列表 - */ -// // @PreAuthorize("@ss.hasPermi('system:product:list')") @ApiOperation(value = "查询档口颜色列表", httpMethod = "GET", response = R.class) @GetMapping("/list/{storeId}") public R> list(@PathVariable Long storeId) { diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/UserQuickFunctionController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/UserQuickFunctionController.java deleted file mode 100644 index c0c87f26d..000000000 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/xkt/UserQuickFunctionController.java +++ /dev/null @@ -1,91 +0,0 @@ -package com.ruoyi.web.controller.xkt; - -import com.ruoyi.common.annotation.Log; -import com.ruoyi.common.core.controller.XktBaseController; -import com.ruoyi.common.core.domain.R; -import com.ruoyi.common.core.page.TableDataInfo; -import com.ruoyi.common.enums.BusinessType; -import com.ruoyi.common.utils.poi.ExcelUtil; -import com.ruoyi.xkt.domain.UserQuickFunction; -import com.ruoyi.xkt.service.IUserQuickFunctionService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.*; - -import javax.servlet.http.HttpServletResponse; -import java.util.List; - -/** - * 用户快捷功能Controller - * - * @author ruoyi - * @date 2025-03-26 - */ -@RestController -@RequestMapping("/rest/v1/user-quick-funcs") -public class UserQuickFunctionController extends XktBaseController { - @Autowired - private IUserQuickFunctionService userQuickFunctionService; - - /** - * 查询用户快捷功能列表 - */ - // @PreAuthorize("@ss.hasPermi('system:function:list')") - @GetMapping("/list") - public TableDataInfo list(UserQuickFunction userQuickFunction) { - startPage(); - List list = userQuickFunctionService.selectUserQuickFunctionList(userQuickFunction); - return getDataTable(list); - } - - /** - * 导出用户快捷功能列表 - */ - // @PreAuthorize("@ss.hasPermi('system:function:export')") - @Log(title = "用户快捷功能", businessType = BusinessType.EXPORT) - @PostMapping("/export") - public void export(HttpServletResponse response, UserQuickFunction userQuickFunction) { - List list = userQuickFunctionService.selectUserQuickFunctionList(userQuickFunction); - ExcelUtil util = new ExcelUtil(UserQuickFunction.class); - util.exportExcel(response, list, "用户快捷功能数据"); - } - - /** - * 获取用户快捷功能详细信息 - */ - // @PreAuthorize("@ss.hasPermi('system:function:query')") - @GetMapping(value = "/{userQuickFuncId}") - public R getInfo(@PathVariable("userQuickFuncId") Long userQuickFuncId) { - return success(userQuickFunctionService.selectUserQuickFunctionByUserQuickFuncId(userQuickFuncId)); - } - - /** - * 新增用户快捷功能 - */ - // @PreAuthorize("@ss.hasPermi('system:function:add')") - @Log(title = "用户快捷功能", businessType = BusinessType.INSERT) - @PostMapping - public R add(@RequestBody UserQuickFunction userQuickFunction) { - return success(userQuickFunctionService.insertUserQuickFunction(userQuickFunction)); - } - - /** - * 修改用户快捷功能 - */ - // @PreAuthorize("@ss.hasPermi('system:function:edit')") - @Log(title = "用户快捷功能", businessType = BusinessType.UPDATE) - @PutMapping - public R edit(@RequestBody UserQuickFunction userQuickFunction) { - return success(userQuickFunctionService.updateUserQuickFunction(userQuickFunction)); - } - - /** - * 删除用户快捷功能 - */ - // @PreAuthorize("@ss.hasPermi('system:function:remove')") - @Log(title = "用户快捷功能", businessType = BusinessType.DELETE) - @DeleteMapping("/{userQuickFuncIds}") - public R remove(@PathVariable Long[] userQuickFuncIds) { - return success(userQuickFunctionService.deleteUserQuickFunctionByUserQuickFuncIds(userQuickFuncIds)); - } -} diff --git a/xkt/src/main/java/com/ruoyi/xkt/dto/userShoppingCart/ShoppingCartDTO.java b/xkt/src/main/java/com/ruoyi/xkt/dto/userShoppingCart/ShoppingCartDTO.java index 82ee4fc04..9cf80cb25 100644 --- a/xkt/src/main/java/com/ruoyi/xkt/dto/userShoppingCart/ShoppingCartDTO.java +++ b/xkt/src/main/java/com/ruoyi/xkt/dto/userShoppingCart/ShoppingCartDTO.java @@ -28,6 +28,8 @@ public class ShoppingCartDTO { private Long storeProdId; @ApiModelProperty(value = "商品货号") private String prodArtNum; + @ApiModelProperty(value = "商品主图") + private String mainPicUrl; @ApiModelProperty(value = "进货车明细列表") List detailList; diff --git a/xkt/src/main/java/com/ruoyi/xkt/mapper/StoreProductFileMapper.java b/xkt/src/main/java/com/ruoyi/xkt/mapper/StoreProductFileMapper.java index 055ee321e..4ff983678 100644 --- a/xkt/src/main/java/com/ruoyi/xkt/mapper/StoreProductFileMapper.java +++ b/xkt/src/main/java/com/ruoyi/xkt/mapper/StoreProductFileMapper.java @@ -52,18 +52,6 @@ public interface StoreProductFileMapper extends BaseMapper { List selectPicSpaceList(@Param("storeId") Long storeId, @Param("fileType") Integer fileType, @Param("storeProdIdList") List storeProdIdList); - /** - * 查询所有的商品主图 - * - * @param storeProdId 档口商品ID - * @param storeId 档口ID - * @param fileType 文件类型 - * @return - */ - List selectTotalMainPicList(@Param("storeProdId") Long storeProdId, - @Param("storeId") Long storeId, - @Param("fileType") Integer fileType); - /** * 根据storeProdIdList 查询所有主图 * diff --git a/xkt/src/main/java/com/ruoyi/xkt/mapper/UserQuickFunctionMapper.java b/xkt/src/main/java/com/ruoyi/xkt/mapper/UserQuickFunctionMapper.java deleted file mode 100644 index 3ec4884d6..000000000 --- a/xkt/src/main/java/com/ruoyi/xkt/mapper/UserQuickFunctionMapper.java +++ /dev/null @@ -1,62 +0,0 @@ -package com.ruoyi.xkt.mapper; - -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.ruoyi.xkt.domain.UserQuickFunction; - -import java.util.List; - -/** - * 用户快捷功能Mapper接口 - * - * @author ruoyi - * @date 2025-03-26 - */ -public interface UserQuickFunctionMapper extends BaseMapper { - /** - * 查询用户快捷功能 - * - * @param id 用户快捷功能主键 - * @return 用户快捷功能 - */ - public UserQuickFunction selectUserQuickFunctionByUserQuickFuncId(Long id); - - /** - * 查询用户快捷功能列表 - * - * @param userQuickFunction 用户快捷功能 - * @return 用户快捷功能集合 - */ - public List selectUserQuickFunctionList(UserQuickFunction userQuickFunction); - - /** - * 新增用户快捷功能 - * - * @param userQuickFunction 用户快捷功能 - * @return 结果 - */ - public int insertUserQuickFunction(UserQuickFunction userQuickFunction); - - /** - * 修改用户快捷功能 - * - * @param userQuickFunction 用户快捷功能 - * @return 结果 - */ - public int updateUserQuickFunction(UserQuickFunction userQuickFunction); - - /** - * 删除用户快捷功能 - * - * @param id 用户快捷功能主键 - * @return 结果 - */ - public int deleteUserQuickFunctionByUserQuickFuncId(Long id); - - /** - * 批量删除用户快捷功能 - * - * @param userQuickFuncIds 需要删除的数据主键集合 - * @return 结果 - */ - public int deleteUserQuickFunctionByUserQuickFuncIds(Long[] userQuickFuncIds); -} diff --git a/xkt/src/main/java/com/ruoyi/xkt/service/IUserQuickFunctionService.java b/xkt/src/main/java/com/ruoyi/xkt/service/IUserQuickFunctionService.java deleted file mode 100644 index ab0e2b97f..000000000 --- a/xkt/src/main/java/com/ruoyi/xkt/service/IUserQuickFunctionService.java +++ /dev/null @@ -1,61 +0,0 @@ -package com.ruoyi.xkt.service; - -import com.ruoyi.xkt.domain.UserQuickFunction; - -import java.util.List; - -/** - * 用户快捷功能Service接口 - * - * @author ruoyi - * @date 2025-03-26 - */ -public interface IUserQuickFunctionService { - /** - * 查询用户快捷功能 - * - * @param userQuickFuncId 用户快捷功能主键 - * @return 用户快捷功能 - */ - public UserQuickFunction selectUserQuickFunctionByUserQuickFuncId(Long userQuickFuncId); - - /** - * 查询用户快捷功能列表 - * - * @param userQuickFunction 用户快捷功能 - * @return 用户快捷功能集合 - */ - public List selectUserQuickFunctionList(UserQuickFunction userQuickFunction); - - /** - * 新增用户快捷功能 - * - * @param userQuickFunction 用户快捷功能 - * @return 结果 - */ - public int insertUserQuickFunction(UserQuickFunction userQuickFunction); - - /** - * 修改用户快捷功能 - * - * @param userQuickFunction 用户快捷功能 - * @return 结果 - */ - public int updateUserQuickFunction(UserQuickFunction userQuickFunction); - - /** - * 批量删除用户快捷功能 - * - * @param userQuickFuncIds 需要删除的用户快捷功能主键集合 - * @return 结果 - */ - public int deleteUserQuickFunctionByUserQuickFuncIds(Long[] userQuickFuncIds); - - /** - * 删除用户快捷功能信息 - * - * @param userQuickFuncId 用户快捷功能主键 - * @return 结果 - */ - public int deleteUserQuickFunctionByUserQuickFuncId(Long userQuickFuncId); -} diff --git a/xkt/src/main/java/com/ruoyi/xkt/service/impl/ShoppingCartServiceImpl.java b/xkt/src/main/java/com/ruoyi/xkt/service/impl/ShoppingCartServiceImpl.java index ff1772066..6e092eb2d 100644 --- a/xkt/src/main/java/com/ruoyi/xkt/service/impl/ShoppingCartServiceImpl.java +++ b/xkt/src/main/java/com/ruoyi/xkt/service/impl/ShoppingCartServiceImpl.java @@ -69,8 +69,6 @@ public class ShoppingCartServiceImpl implements IShoppingCartService { // TODO 判断当前登录用户角色,只有电商卖家才可操作,其它角色不允许操作,直接报错 - - // 判断当前商品是否已添加过进货车 /* List existList = this.shopCartMapper.selectList(new LambdaQueryWrapper() .eq(ShoppingCart::getUserId, loginUser.getUserId()).eq(ShoppingCart::getStoreProdId, shoppingCartDTO.getStoreProdId()) @@ -287,6 +285,10 @@ public class ShoppingCartServiceImpl implements IShoppingCartService { .in(ShoppingCartDetail::getShoppingCartId, shoppingCartList.stream().map(ShoppingCart::getId).collect(Collectors.toList())) .eq(ShoppingCartDetail::getDelFlag, Constants.UNDELETED)); Map> detailMap = detailList.stream().collect(Collectors.groupingBy(ShoppingCartDetail::getShoppingCartId)); + // 商品第一张主图 + List mainPicList = this.prodFileMapper.selectMainPicByStoreProdIdList(listDTO.getStoreProdIdList(), FileType.MAIN_PIC.getValue(), ORDER_NUM_1); + Map mainPicMap = CollectionUtils.isEmpty(mainPicList) ? new HashMap<>() : mainPicList.stream() + .collect(Collectors.toMap(StoreProdMainPicDTO::getStoreProdId, StoreProdMainPicDTO::getFileUrl)); // 获取明细商品的价格 List priceList = this.prodColorPriceMapper.selectList(new LambdaQueryWrapper() .in(StoreProductColorPrice::getStoreProdId, shoppingCartList.stream().map(ShoppingCart::getStoreProdId).collect(Collectors.toList())) @@ -304,7 +306,7 @@ public class ShoppingCartServiceImpl implements IShoppingCartService { Map priceSizeMap = priceSizeList.stream().collect(Collectors .toMap(x -> x.getStoreProdId().toString() + x.getStoreColorId().toString() + x.getSize(), StoreProductColorSize::getId)); return shoppingCartList.stream().map(x -> { - ShoppingCartDTO shopCartDTO = BeanUtil.toBean(x, ShoppingCartDTO.class) + ShoppingCartDTO shopCartDTO = BeanUtil.toBean(x, ShoppingCartDTO.class).setMainPicUrl(mainPicMap.get(x.getStoreProdId())) .setStoreName(ObjectUtils.isNotEmpty(storeMap.get(x.getStoreId())) ? storeMap.get(x.getStoreId()).getStoreName() : ""); List shopCartDetailList = detailMap.get(x.getId()).stream().map(detail -> { final BigDecimal price = ObjectUtils.defaultIfNull(priceMap.get(x.getStoreProdId().toString() + detail.getStoreColorId().toString()), BigDecimal.ZERO); diff --git a/xkt/src/main/java/com/ruoyi/xkt/service/impl/UserQuickFunctionServiceImpl.java b/xkt/src/main/java/com/ruoyi/xkt/service/impl/UserQuickFunctionServiceImpl.java deleted file mode 100644 index bd22d49a2..000000000 --- a/xkt/src/main/java/com/ruoyi/xkt/service/impl/UserQuickFunctionServiceImpl.java +++ /dev/null @@ -1,93 +0,0 @@ -package com.ruoyi.xkt.service.impl; - -import com.ruoyi.common.utils.DateUtils; -import com.ruoyi.xkt.domain.UserQuickFunction; -import com.ruoyi.xkt.mapper.UserQuickFunctionMapper; -import com.ruoyi.xkt.service.IUserQuickFunctionService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import org.springframework.transaction.annotation.Transactional; - -import java.util.List; - -/** - * 用户快捷功能Service业务层处理 - * - * @author ruoyi - * @date 2025-03-26 - */ -@Service -public class UserQuickFunctionServiceImpl implements IUserQuickFunctionService { - @Autowired - private UserQuickFunctionMapper userQuickFunctionMapper; - - /** - * 查询用户快捷功能 - * - * @param userQuickFuncId 用户快捷功能主键 - * @return 用户快捷功能 - */ - @Override - public UserQuickFunction selectUserQuickFunctionByUserQuickFuncId(Long userQuickFuncId) { - return userQuickFunctionMapper.selectUserQuickFunctionByUserQuickFuncId(userQuickFuncId); - } - - /** - * 查询用户快捷功能列表 - * - * @param userQuickFunction 用户快捷功能 - * @return 用户快捷功能 - */ - @Override - public List selectUserQuickFunctionList(UserQuickFunction userQuickFunction) { - return userQuickFunctionMapper.selectUserQuickFunctionList(userQuickFunction); - } - - /** - * 新增用户快捷功能 - * - * @param userQuickFunction 用户快捷功能 - * @return 结果 - */ - @Override - @Transactional - public int insertUserQuickFunction(UserQuickFunction userQuickFunction) { - userQuickFunction.setCreateTime(DateUtils.getNowDate()); - return userQuickFunctionMapper.insertUserQuickFunction(userQuickFunction); - } - - /** - * 修改用户快捷功能 - * - * @param userQuickFunction 用户快捷功能 - * @return 结果 - */ - @Override - @Transactional - public int updateUserQuickFunction(UserQuickFunction userQuickFunction) { - userQuickFunction.setUpdateTime(DateUtils.getNowDate()); - return userQuickFunctionMapper.updateUserQuickFunction(userQuickFunction); - } - - /** - * 批量删除用户快捷功能 - * - * @param userQuickFuncIds 需要删除的用户快捷功能主键 - * @return 结果 - */ - @Override - public int deleteUserQuickFunctionByUserQuickFuncIds(Long[] userQuickFuncIds) { - return userQuickFunctionMapper.deleteUserQuickFunctionByUserQuickFuncIds(userQuickFuncIds); - } - - /** - * 删除用户快捷功能信息 - * - * @param userQuickFuncId 用户快捷功能主键 - * @return 结果 - */ - @Override - public int deleteUserQuickFunctionByUserQuickFuncId(Long userQuickFuncId) { - return userQuickFunctionMapper.deleteUserQuickFunctionByUserQuickFuncId(userQuickFuncId); - } -} diff --git a/xkt/src/main/resources/mapper/UserQuickFunctionMapper.xml b/xkt/src/main/resources/mapper/UserQuickFunctionMapper.xml deleted file mode 100644 index 91e8836bc..000000000 --- a/xkt/src/main/resources/mapper/UserQuickFunctionMapper.xml +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - select id, user_id, func_name, func_icon, func_url, order_num, version, del_flag, create_by, create_time, update_by, update_time from user_quick_function - - - - - - - - insert into user_quick_function - - user_id, - func_name, - func_icon, - func_url, - order_num, - version, - del_flag, - create_by, - create_time, - update_by, - update_time, - - - #{userId}, - #{funcName}, - #{funcIcon}, - #{funcUrl}, - #{orderNum}, - #{version}, - #{delFlag}, - #{createBy}, - #{createTime}, - #{updateBy}, - #{updateTime}, - - - - - update user_quick_function - - user_id = #{userId}, - func_name = #{funcName}, - func_icon = #{funcIcon}, - func_url = #{funcUrl}, - order_num = #{orderNum}, - version = #{version}, - del_flag = #{delFlag}, - create_by = #{createBy}, - create_time = #{createTime}, - update_by = #{updateBy}, - update_time = #{updateTime}, - - where id = #{id} - - - - delete from user_quick_function where id = #{id} - - - - delete from user_quick_function where id in - - #{id} - - - \ No newline at end of file