| | |
| | | package com.zy.crm.manager.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.plugins.Page; |
| | | import com.zy.crm.manager.mapper.CstmrMapper; |
| | | import com.zy.crm.manager.entity.Cstmr; |
| | | import com.zy.crm.manager.service.CstmrService; |
| | |
| | | return zerofill(String.valueOf(Integer.parseInt(cstmr.getUuid()) + 1), 4); |
| | | } |
| | | |
| | | @Override |
| | | public Page<Cstmr> getPage(Page page, Long hostId, String deptId, Object condition) { |
| | | return page.setRecords(baseMapper.listByPage(page, hostId, deptId, condition)); |
| | | } |
| | | |
| | | |
| | | public static String zerofill(String msg, Integer count){ |
| | | if (msg.length() == count){ |