| | |
| | | import com.deepoove.poi.config.ConfigureBuilder; |
| | | |
| | | |
| | | |
| | | import com.deepoove.poi.data.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.ruoyi.common.utils.QueryWrappers; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.framework.exception.ErrorException; |
| | | import com.ruoyi.manage.mapper.ManageRecordAuditMapper; |
| | | |
| | | import com.ruoyi.manage.pojo.ManageRecordAudit; |
| | |
| | | import com.ruoyi.system.mapper.UserMapper; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.poi.openxml4j.util.ZipSecureFile; |
| | | import org.apache.poi.ss.usermodel.BorderStyle; |
| | | import org.apache.poi.ss.usermodel.CellStyle; |
| | | import org.apache.poi.ss.usermodel.TableStyle; |
| | | import org.apache.poi.xwpf.usermodel.*; |
| | | import org.openxmlformats.schemas.wordprocessingml.x2006.main.STMerge; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | |
| | | |
| | | @Override |
| | | public Map<String, Object> pageManageRecordAudit(Page page, ManageRecordAudit manageRecordAudit) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("head", PrintChina.printChina(ManageRecordAudit.class)); |
| | | public IPage<ManageRecordAudit> pageManageRecordAudit(Page page, ManageRecordAudit manageRecordAudit) { |
| | | |
| | | IPage<ManageRecordAudit> manageRecordAuditIPage = manageRecordAuditMapper.pageManageRecordAudit(page, QueryWrappers.queryWrappers(manageRecordAudit)); |
| | | for (ManageRecordAudit record : manageRecordAuditIPage.getRecords()) { |
| | | String limsName = userMapper.selectUserDepartmentLimsName(record.getCreateUser()); |
| | | record.setCreateUserDepart(limsName); |
| | | } |
| | | map.put("body", manageRecordAuditIPage); |
| | | return map; |
| | | return manageRecordAuditIPage; |
| | | } |
| | | |
| | | @Override |