中扬CRM客户关系管理系统
#
lsh
2024-04-15 57cd76d861e0102a9dee9fa56a0bf4110e8c3f55
src/main/java/com/zy/crm/manager/controller/CstmrTypeController.java
@@ -10,7 +10,9 @@
import com.core.common.DateUtils;
import com.core.common.R;
import com.zy.crm.common.web.BaseController;
import com.zy.crm.manager.entity.CstmrGrade;
import com.zy.crm.manager.entity.CstmrType;
import com.zy.crm.manager.service.CstmrGradeService;
import com.zy.crm.manager.service.CstmrTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -106,7 +108,7 @@
    @RequestMapping(value = "/cstmrTypeQuery/auth")
    @ManagerAuth
    public R query(String condition) {
    public R queryType(String condition) {
        EntityWrapper<CstmrType> wrapper = new EntityWrapper<>();
        wrapper.like("id", condition);
        Page<CstmrType> page = cstmrTypeService.selectPage(new Page<>(0, 10), wrapper);