| | |
| | | * 手机号 |
| | | */ |
| | | private String phone; |
| | | |
| | | /** |
| | | * 是人还是部门 1:部门 2:人 |
| | | */ |
| | | private String isMan; |
| | | } |
| | |
| | | import cn.gistack.sm.sms.mapper.SmsRecordMapper; |
| | | import cn.gistack.sm.sms.service.ISmsRecordService; |
| | | import org.springblade.core.mp.base.BaseServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | /** |
| | | * 短信发送记录 |
| | | * @author zhongrj |
| | | */ |
| | | @Service |
| | | public class SmsRecordServiceImpl extends BaseServiceImpl<SmsRecordMapper, SmsRecord> implements ISmsRecordService { |
| | | } |
| | |
| | | dept.id, |
| | | dept.parent_id parentId, |
| | | dept.dept_name AS name, |
| | | 1 as isMan, |
| | | 0 AS phone, |
| | | ( |
| | | SELECT |
| | |
| | | bu.dept_id parentId, |
| | | bu.account AS name, |
| | | bu.phone, |
| | | 2 as isMan, |
| | | 0 as hasChildren |
| | | from blade_user bu left join blade_dept bd on bd.id = bu.dept_id |
| | | where 1=1 and bu.is_deleted = 0 and bu.status = 1 |