| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | |
| | | public Map<String, Object> getCertificationDetail(Page page, Certification certification) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(Certification.class)); |
| | | Map<String, Integer> map1 = getLook.selectPowerByMethodAndUserId("getCertificationDetail"); |
| | | if (map1.get("look") == 1) certification.setCreateUser(map1.get("userId")); |
| | | map.put("body", certificationMapper.getCertificationDetail(page, QueryWrappers.queryWrappers(certification))); |
| | | return map; |
| | | } |
| | |
| | | return certificationMapper.deleteBatchIds(ids); |
| | | } |
| | | |
| | | //附件下载 |
| | | @Override |
| | | public String downFile(Integer id) { |
| | | return certificationMapper.selectById(id).getFileUrl(); |
| | | } |
| | | } |