中扬CRM客户关系管理系统
#
lsh
2024-04-19 59292e68b11c383948b436e755a4aad8abf1ce24
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);