| | |
| | | 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.*; |
| | |
| | | |
| | | @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); |