记得上下班打卡 | git大法好,push需谨慎

Commit 6fbd2e28 authored by 胡佳晨's avatar 胡佳晨

混合售修改

parent c17063b3
...@@ -72,7 +72,7 @@ public class GoblinCommonController extends BaseController { ...@@ -72,7 +72,7 @@ public class GoblinCommonController extends BaseController {
@Log(title = "混合售搜索", businessType = BusinessType.LIST) @Log(title = "混合售搜索", businessType = BusinessType.LIST)
@GetMapping("mix") @GetMapping("mix")
@ApiImplicitParams({ @ApiImplicitParams({
@ApiImplicitParam(type = "form", required = true, dataType = "String", name = "title", value = "混合售活动名称[模糊]"), @ApiImplicitParam(type = "form", required = true, dataType = "String", name = "title", value = "混合售售卖名称[模糊]"),
}) })
@ResponseBody @ResponseBody
public AjaxResult mixSearch(String title) { public AjaxResult mixSearch(String title) {
......
...@@ -126,7 +126,7 @@ public class GoblinCommonServiceImpl implements IGoblinCommonService { ...@@ -126,7 +126,7 @@ public class GoblinCommonServiceImpl implements IGoblinCommonService {
LambdaQueryWrapper<GoblinMix> queryWrapper = Wrappers.lambdaQuery(GoblinMix.class); LambdaQueryWrapper<GoblinMix> queryWrapper = Wrappers.lambdaQuery(GoblinMix.class);
queryWrapper.ne(GoblinMix::getDelTag, "1"); queryWrapper.ne(GoblinMix::getDelTag, "1");
if (StringUtil.isNotBlank(name)) { if (StringUtil.isNotBlank(name)) {
queryWrapper.like(GoblinMix::getName, name); queryWrapper.like(GoblinMix::getSellName, name);
} }
List<GoblinMix> list = goblinMixMapper.selectList(queryWrapper.last("limit 20")); List<GoblinMix> list = goblinMixMapper.selectList(queryWrapper.last("limit 20"));
List<GoblinMixSearchDto> dtoList = new ArrayList<>(); List<GoblinMixSearchDto> dtoList = new ArrayList<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment