| | |
| | | */ |
| | | package org.springblade.modules.resource.service.impl; |
| | | |
| | | import com.baomidou.dynamic.datasource.annotation.DS; |
| | | import org.springblade.modules.resource.entity.Attach; |
| | | import org.springblade.modules.resource.vo.AttachVO; |
| | | import org.springblade.modules.resource.mapper.AttachMapper; |
| | |
| | | * @author Chill |
| | | */ |
| | | @Service |
| | | @DS("slaves") |
| | | public class AttachServiceImpl extends BaseServiceImpl<AttachMapper, Attach> implements IAttachService { |
| | | |
| | | @Override |
| | |
| | | return page.setRecords(baseMapper.selectAttachPage(page, attach)); |
| | | } |
| | | |
| | | @Override |
| | | public void updat(String deptid, String cardid) { |
| | | baseMapper.updat(deptid, cardid); |
| | | } |
| | | |
| | | } |