|
@@ -1,6 +1,8 @@
|
|
|
package com.fdkankan.agent.controller;
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
+import com.fdkankan.agent.entity.IncrementType;
|
|
|
import com.fdkankan.agent.service.IIncrementTypeService;
|
|
|
import com.fdkankan.common.response.ResultData;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -25,7 +27,9 @@ public class IncrementTypeController {
|
|
|
|
|
|
@GetMapping("/allList")
|
|
|
public ResultData list(){
|
|
|
- return ResultData.ok(incrementTypeService.list());
|
|
|
+ LambdaQueryWrapper<IncrementType> wrapper = new LambdaQueryWrapper<>();
|
|
|
+ wrapper.ne(IncrementType::getType,"freeMember");
|
|
|
+ return ResultData.ok(incrementTypeService.list(wrapper));
|
|
|
}
|
|
|
}
|
|
|
|