|  |  | 
 |  |  | package com.ruoyi.approve.controller; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.ruoyi.account.pojo.AccountExpense; | 
 |  |  | import com.ruoyi.approve.pojo.ApproveProcess; | 
 |  |  | import com.ruoyi.approve.service.IApproveProcessService; | 
 |  |  | import com.ruoyi.approve.vo.ApproveGetAndUpdateVo; | 
 |  |  | import com.ruoyi.approve.vo.ApproveProcessVO; | 
 |  |  | import com.ruoyi.common.utils.SecurityUtils; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.security.LoginUser; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import com.ruoyi.project.system.domain.SysDept; | 
 |  |  | 
 |  |  | import org.springframework.transaction.annotation.Transactional; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.io.IOException; | 
 |  |  | import java.text.ParseException; | 
 |  |  | import java.util.List; | 
 |  |  | 
 |  |  |         approveProcessService.delApprove(ids); | 
 |  |  |         return AjaxResult.success("æä½æå"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "å
¬åºç®¡ç导åº") | 
 |  |  |     @PostMapping("/exportOne") | 
 |  |  |     public void exportOne(HttpServletResponse response) { | 
 |  |  |         List<ApproveProcess> accountExpenses = approveProcessService.list(new LambdaQueryWrapper<ApproveProcess>() | 
 |  |  |                 .eq(ApproveProcess::getApproveDelete, 0) | 
 |  |  |                 .eq(ApproveProcess::getApproveType, 1)); | 
 |  |  |         ExcelUtil<ApproveProcess> util = new ExcelUtil<ApproveProcess>(ApproveProcess.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "å
¬åºç®¡ç导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "请å管ç导åº") | 
 |  |  |     @PostMapping("/exportTwo") | 
 |  |  |     public void exportTwo(HttpServletResponse response) { | 
 |  |  |         List<ApproveProcess> accountExpenses = approveProcessService.list(new LambdaQueryWrapper<ApproveProcess>() | 
 |  |  |                 .eq(ApproveProcess::getApproveDelete, 0) | 
 |  |  |                 .eq(ApproveProcess::getApproveType, 2)); | 
 |  |  |         ExcelUtil<ApproveProcess> util = new ExcelUtil<ApproveProcess>(ApproveProcess.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "请å管ç导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "åºå·®ç®¡ç导åº") | 
 |  |  |     @PostMapping("/exportThree") | 
 |  |  |     public void exportThree(HttpServletResponse response) { | 
 |  |  |         List<ApproveProcess> accountExpenses = approveProcessService.list(new LambdaQueryWrapper<ApproveProcess>() | 
 |  |  |                 .eq(ApproveProcess::getApproveDelete, 0) | 
 |  |  |                 .eq(ApproveProcess::getApproveType, 3)); | 
 |  |  |         ExcelUtil<ApproveProcess> util = new ExcelUtil<ApproveProcess>(ApproveProcess.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "åºå·®ç®¡ç导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "æ¥é管ç导åº") | 
 |  |  |     @PostMapping("/exportFour") | 
 |  |  |     public void exportFour(HttpServletResponse response) { | 
 |  |  |         List<ApproveProcess> accountExpenses = approveProcessService.list(new LambdaQueryWrapper<ApproveProcess>() | 
 |  |  |                 .eq(ApproveProcess::getApproveDelete, 0) | 
 |  |  |                 .eq(ApproveProcess::getApproveType, 4)); | 
 |  |  |         ExcelUtil<ApproveProcess> util = new ExcelUtil<ApproveProcess>(ApproveProcess.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "æ¥é管ç导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "éè´ç³è¯·å¯¼åº") | 
 |  |  |     @PostMapping("/exportFive") | 
 |  |  |     public void exportFive(HttpServletResponse response) { | 
 |  |  |         List<ApproveProcess> accountExpenses = approveProcessService.list(new LambdaQueryWrapper<ApproveProcess>() | 
 |  |  |                 .eq(ApproveProcess::getApproveDelete, 0) | 
 |  |  |                 .eq(ApproveProcess::getApproveType, 5)); | 
 |  |  |         ExcelUtil<ApproveProcess> util = new ExcelUtil<ApproveProcess>(ApproveProcess.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "éè´ç³è¯·å¯¼åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "åå审æ¹å¯¼åº") | 
 |  |  |     @PostMapping("/exportZero") | 
 |  |  |     public void exportZero(HttpServletResponse response) { | 
 |  |  |         List<ApproveProcess> accountExpenses = approveProcessService.list(new LambdaQueryWrapper<ApproveProcess>() | 
 |  |  |                         .eq(ApproveProcess::getApproveDelete, 0) | 
 |  |  |                 .eq(ApproveProcess::getApproveType, 0)); | 
 |  |  |         ExcelUtil<ApproveProcess> util = new ExcelUtil<ApproveProcess>(ApproveProcess.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "åå审æ¹å¯¼åº"); | 
 |  |  |     } | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.ruoyi.approve.pojo.KnowledgeBase; | 
 |  |  | import com.ruoyi.approve.pojo.RpaProcessAutomation; | 
 |  |  | import com.ruoyi.approve.service.KnowledgeBaseService; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import lombok.AllArgsConstructor; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/knowledgeBase") | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Api(tags = "ç¥è¯åºç®¡ç") | 
 |  |  | public class KnowledgeBaseController { | 
 |  |  |     @Autowired | 
 |  |  |     private KnowledgeBaseService knowledgeBaseService; | 
 |  |  | 
 |  |  |         return AjaxResult.success(knowledgeBaseService.removeByIds(ids)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "ç¥è¯åºç®¡ç导åº") | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response) { | 
 |  |  |         List<KnowledgeBase> accountExpenses = knowledgeBaseService.list(); | 
 |  |  |         ExcelUtil<KnowledgeBase> util = new ExcelUtil<KnowledgeBase>(KnowledgeBase.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "ç¥è¯åºç®¡ç导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | package com.ruoyi.approve.controller; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 
 |  |  | import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.ruoyi.approve.pojo.ApproveProcess; | 
 |  |  | import com.ruoyi.approve.pojo.RpaProcessAutomation; | 
 |  |  | import com.ruoyi.approve.service.RpaProcessAutomationService; | 
 |  |  | import com.ruoyi.common.utils.SecurityUtils; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.security.LoginUser; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import com.ruoyi.project.system.domain.SysDept; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import lombok.AllArgsConstructor; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/rpaProcessAutomation") | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Api(tags = "RPAæµç¨èªå¨å") | 
 |  |  | public class RpaProcessAutomationController { | 
 |  |  |     @Autowired | 
 |  |  |     private RpaProcessAutomationService rpaProcessAutomationService; | 
 |  |  | 
 |  |  |         return AjaxResult.success(rpaProcessAutomationService.removeByIds(ids)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "RPAæµç¨èªå¨å导åº") | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response) { | 
 |  |  |         List<RpaProcessAutomation> accountExpenses = rpaProcessAutomationService.list(); | 
 |  |  |         ExcelUtil<RpaProcessAutomation> util = new ExcelUtil<RpaProcessAutomation>(RpaProcessAutomation.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "RPAæµç¨èªå¨å导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.*; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import com.ruoyi.sales.pojo.CommonFile; | 
 |  |  | import io.swagger.annotations.ApiModel; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | 
 |  |  |      * æµç¨ç¼å· | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "æµç¨ç¼å·") | 
 |  |  |     @Excel(name = "æµç¨ç¼å·") | 
 |  |  |     private String approveId; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * ç³è¯·äººåç§° | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "ç³è¯·äººåç§°") | 
 |  |  |     @Excel(name = "ç³è¯·äºº") | 
 |  |  |     private String approveUserName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      * ç³è¯·é¨é¨åç§° | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "ç³è¯·é¨é¨åç§°") | 
 |  |  |     @Excel(name = "ç³è¯·é¨é¨") | 
 |  |  |     private String approveDeptName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      * ç³è¯·åå  | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "ç³è¯·åå ") | 
 |  |  |     @Excel(name = "审æ¹äºç±") | 
 |  |  |     private String approveReason; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * å½å审æ¹ç¨æ·åç§° | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "å½å审æ¹äºº") | 
 |  |  |     @Excel(name = "å½å审æ¹äºº") | 
 |  |  |     private String approveUserCurrentName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @ApiModelProperty(value = "ç³è¯·æ¥æ") | 
 |  |  |     @Excel(name = "ç³è¯·æ¥æ" ,dateFormat = "yyyy-MM-dd") | 
 |  |  |     private Date approveTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å®¡æ¹å®ææ¶é´ | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @ApiModelProperty(value = "审æ¹å®ææ¶é´") | 
 |  |  |     @Excel(name = "ç»ææ¥æ" ,dateFormat = "yyyy-MM-dd") | 
 |  |  |     private Date approveOverTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å®¡æ¹ç¶æï¼0å¾
审核ï¼1审核ä¸ï¼2å®¡æ ¸å®æ 3审核æªéè¿ 4已鿰æäº¤ | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty(value = "审æ¹ç¶æï¼0å¾
审核ï¼1审核ä¸ï¼2å®¡æ ¸å®æ 3审核æªéè¿ 4已鿰æäº¤") | 
 |  |  |     @Excel(name = "审æ¹ç¶æ", readConverterExp = "0=å¾
审核,1=审核ä¸,2=å®¡æ ¸å®æ,3=审核æªéè¿,4=已鿰æäº¤") | 
 |  |  |     private Integer approveStatus; | 
 |  |  |  | 
 |  |  |     /** | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.*; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * ç¥è¯æ é¢ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ç¥è¯æ é¢") | 
 |  |  |     private String title; | 
 |  |  |     /** | 
 |  |  |      * ç¥è¯ç±»å | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ç¥è¯ç±»å",readConverterExp = "contract=ååç¹æ¹,approval=å®¡æ¹æ¡ä¾,solution=è§£å³æ¹æ¡,experience=ç»éªæ»ç»,guide=æä½æå") | 
 |  |  |     private String type; | 
 |  |  |     /** | 
 |  |  |      * éç¨åºæ¯ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "éç¨åºæ¯") | 
 |  |  |     private String scenario; | 
 |  |  |     /** | 
 |  |  |      * è§£å³æç | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "è§£å³æç",readConverterExp = "low=轻微æå,medium=ä¸è¬æå,high=æ¾èæå") | 
 |  |  |     private String efficiency; | 
 |  |  |     /** | 
 |  |  |      * é®é¢æè¿° | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * å建人 | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "å建人") | 
 |  |  |     private String creator; | 
 |  |  |     /** | 
 |  |  |      * ä½¿ç¨æ¬¡æ° | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ä½¿ç¨æ¬¡æ°") | 
 |  |  |     private Integer usageCount; | 
 |  |  |     /** | 
 |  |  |      * å建æ¶é´ | 
 |  |  | 
 |  |  |     @TableField(fill = FieldFill.INSERT) | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @Excel(name = "å建æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     private LocalDateTime createTime; | 
 |  |  |     /** | 
 |  |  |      * æ´æ°æ¶é´ | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.*; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * ç¨åºå | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ç¨åºå") | 
 |  |  |     private String programName; | 
 |  |  |     /** | 
 |  |  |      * ç¨åºæè¿° | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ç¨åºæè¿°") | 
 |  |  |     private String description; | 
 |  |  |     /** | 
 |  |  |      * ç¶æ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ç¶æ") | 
 |  |  |     private String status; | 
 |  |  |     /** | 
 |  |  |      * å建æ¶é´ | 
 
 |  |  | 
 |  |  | package com.ruoyi.collaborativeApproval.controller; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; | 
 |  |  | import com.ruoyi.approve.pojo.ApproveProcess; | 
 |  |  | import com.ruoyi.collaborativeApproval.mapper.MeetDraftMapper; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.MeetApplication; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.MeetDraft; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.MeetingMinutes; | 
 |  |  | 
 |  |  | import com.ruoyi.collaborativeApproval.vo.SearchMeetingDraftVo; | 
 |  |  | import com.ruoyi.collaborativeApproval.vo.SearchMeetingRoomVo; | 
 |  |  | import com.ruoyi.collaborativeApproval.vo.SearchMeetingUseVo; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.web.domain.R; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import lombok.RequiredArgsConstructor; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * å
³äºä¼è®®controller | 
 |  |  | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/meeting") | 
 |  |  | @RequiredArgsConstructor | 
 |  |  | @Api(tags = "ä¼è®®") | 
 |  |  | public class MeetingController { | 
 |  |  |     private final MeetingService meetingService; | 
 |  |  |  | 
 |  |  | 
 |  |  |         return R.ok(meetingService.getMeetSummaryItems()); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "ä¼è®®å®¤è®¾ç½®å¯¼åº") | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response) { | 
 |  |  |         List<MeetingRoom> accountExpenses = meetingService.list(); | 
 |  |  |         ExcelUtil<MeetingRoom> util = new ExcelUtil<MeetingRoom>(MeetingRoom.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "ä¼è®®å®¤è®¾ç½®å¯¼åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     private final MeetDraftMapper meetDraftMapper; | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "ä¼è®®è稿导åº") | 
 |  |  |     @PostMapping("/exportOne") | 
 |  |  |     public void exportOne(HttpServletResponse response) { | 
 |  |  |         List<MeetDraft> accountExpenses = meetDraftMapper.selectList(new LambdaQueryWrapper<MeetDraft>()); | 
 |  |  |         ExcelUtil<MeetDraft> util = new ExcelUtil<MeetDraft>(MeetDraft.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "ä¼è®®è稿导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.ruoyi.collaborativeApproval.mapper.ReadingStatusMapper; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.ReadingStatus; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.RulesRegulationsManagement; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.SealApplicationManagement; | 
 |  |  | import com.ruoyi.collaborativeApproval.service.RulesRegulationsManagementService; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import lombok.AllArgsConstructor; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.util.CollectionUtils; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/rulesRegulationsManagement") | 
 |  |  | @AllArgsConstructor | 
 |  |  | @Api(tags = "å¶åº¦ç®¡ç") | 
 |  |  | public class RulesRegulationsManagementController { | 
 |  |  |     @Autowired | 
 |  |  |     private RulesRegulationsManagementService rulesRegulationsManagementService; | 
 |  |  | 
 |  |  |     public AjaxResult getReadingStatusByRuleId(@PathVariable Long ruleId){ | 
 |  |  |         return AjaxResult.success(readingStatusMapper.selectList(new QueryWrapper<ReadingStatus>().eq("rule_id", ruleId))); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "è§ç« å¶åº¦ç®¡ç导åº") | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response) { | 
 |  |  |         List<RulesRegulationsManagement> accountExpenses = rulesRegulationsManagementService.list(); | 
 |  |  |         ExcelUtil<RulesRegulationsManagement> util = new ExcelUtil<RulesRegulationsManagement>(RulesRegulationsManagement.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "è§ç« å¶åº¦ç®¡ç导åº"); | 
 |  |  |     } | 
 |  |  | } | 
 
 |  |  | 
 |  |  | package com.ruoyi.collaborativeApproval.controller; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.ruoyi.approve.pojo.KnowledgeBase; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.SealApplicationManagement; | 
 |  |  | import com.ruoyi.collaborativeApproval.service.SealApplicationManagementService; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import lombok.AllArgsConstructor; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.util.CollectionUtils; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | @AllArgsConstructor | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/sealApplicationManagement") | 
 |  |  | @Api(tags = "ç¨å°ç³è¯·ç®¡ç") | 
 |  |  | public class SealApplicationManagementController { | 
 |  |  |     @Autowired | 
 |  |  |     private SealApplicationManagementService sealApplicationManagementService; | 
 |  |  | 
 |  |  |         return AjaxResult.success(sealApplicationManagementService.removeBatchByIds(ids)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "ç¨å°ç³è¯·ç®¡ç导åº") | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response) { | 
 |  |  |         List<SealApplicationManagement> accountExpenses = sealApplicationManagementService.list(); | 
 |  |  |         ExcelUtil<SealApplicationManagement> util = new ExcelUtil<SealApplicationManagement>(SealApplicationManagement.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "ç¨å°ç³è¯·ç®¡ç导åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import java.time.LocalDateTime; | 
 |  |  |  | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | 
 |  |  |      * ä¼è®®ä¸»é¢ | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "title") | 
 |  |  |     @Excel(name = "ä¼è®®ä¸»é¢") | 
 |  |  |     private String title; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ä¸»æäºº | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "host") | 
 |  |  |     @Excel(name = "主æäºº") | 
 |  |  |     private String host; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      * åä¼äººæ° | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "participants") | 
 |  |  |     @Excel(name = "åä¼äººæ°") | 
 |  |  |     private Integer participants; | 
 |  |  |  | 
 |  |  |     /** | 
 
 |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | import java.time.LocalDateTime; | 
 |  |  | import java.util.Date; | 
 |  |  |  | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  | 
 |  |  |      * ä¼è®®å®¤åç§° | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "name") | 
 |  |  |     @Excel(name = "ä¼è®®å®¤åç§°") | 
 |  |  |     private String name; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ä½ç½® | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "location") | 
 |  |  |     @Excel(name = "ä½ç½®") | 
 |  |  |     private String location; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å®¹çº³äººæ° | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "capacity") | 
 |  |  |     @Excel(name = "容纳人æ°") | 
 |  |  |     private Integer capacity; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * è®¾å¤é
ç½®ï¼éå·åéï¼ | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "equipment") | 
 |  |  |     @Excel(name = "设å¤é
ç½®") | 
 |  |  |     private String equipment; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ç¶æï¼1:å¯ç¨ 0:ç¦ç¨ï¼ | 
 |  |  |      */ | 
 |  |  |     @TableField(value = "status") | 
 |  |  |     @Excel(name = "ç¶æ", readConverterExp = "1=å¯ç¨,0=ç¦ç¨") | 
 |  |  |     private Integer status; | 
 |  |  |  | 
 |  |  |     /** | 
 
 |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.*; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.approve.utils.ListToStringTypeHandler; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.apache.ibatis.type.JdbcType; | 
 |  |  | 
 |  |  |      * å¶åº¦ç¼å· | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("å¶åº¦ç¼å·") | 
 |  |  |     @Excel(name = "å¶åº¦ç¼å·") | 
 |  |  |     private String regulationNum; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * æ é¢ | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("æ é¢") | 
 |  |  |     @Excel(name = "æ é¢") | 
 |  |  |     private String title; | 
 |  |  |     /** | 
 |  |  |      * å¶åº¦åç±» | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("å¶åº¦åç±»") | 
 |  |  |     @Excel(name = "å¶åº¦åç±»", readConverterExp = "finance=è´¢å¡å¶åº¦,hr=人äºå¶åº¦,safety=å®å
¨å¶åº¦,tech=ææ¯å¶åº¦") | 
 |  |  |     private String category; | 
 |  |  |     /** | 
 |  |  |      * å¶åº¦å
容 | 
 |  |  | 
 |  |  |      * çæ¬ | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("çæ¬") | 
 |  |  |     @Excel(name = "çæ¬") | 
 |  |  |     private String version; | 
 |  |  |     /** | 
 |  |  |      * ç¶æ | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("ç¶æ") | 
 |  |  |     @Excel(name = "ç¶æ", readConverterExp = "repealed=å·²åºæ¢,active=çæä¸") | 
 |  |  |     private String status; | 
 |  |  |     /** | 
 |  |  |      * å·²è¯»äººæ° | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("已读人æ°") | 
 |  |  |     @Excel(name = "已读人æ°") | 
 |  |  |     private Integer readCount; | 
 |  |  |     /** | 
 |  |  |      * å建è
 | 
 |  |  | 
 |  |  |     @TableField(fill = FieldFill.INSERT) | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     @Excel(name = "å建æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") | 
 |  |  |     private LocalDateTime createTime; | 
 |  |  |     /** | 
 |  |  |      * ä¿®æ¹äºº | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.*; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  | 
 |  |  |      * ç³è¯·ç¼å· | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("ç³è¯·ç¼å·") | 
 |  |  |     @Excel(name = "ç³è¯·ç¼å·") | 
 |  |  |     private String applicationNum; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å
¬åæ é¢ | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("å
¬åæ é¢") | 
 |  |  |     @Excel(name = "ç³è¯·æ é¢") | 
 |  |  |     private String title; | 
 |  |  |     /** | 
 |  |  |      * ç¨å°ç±»å | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("ç¨å°ç±»å") | 
 |  |  |     @Excel(name = "ç¨å°ç±»å", readConverterExp = "official=å
¬ç« ,contract=ååä¸ç¨ç« ,finance=è´¢å¡ä¸ç¨ç« ,legal=æªç¥") | 
 |  |  |     private String sealType; | 
 |  |  |     /** | 
 |  |  |      * ç³è¯·ç¨å°åå  | 
 |  |  | 
 |  |  |      * ç¶æ | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("ç¶æ") | 
 |  |  |     @Excel(name = "ç¶æ", readConverterExp = "pending=å¾
审æ¹,approved=å·²éè¿,rejected=å·²æç»") | 
 |  |  |     private String status; | 
 |  |  |     /** | 
 |  |  |      * å建è
 | 
 
 |  |  | 
 |  |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
 |  |  | import com.baomidou.mybatisplus.extension.service.IService; | 
 |  |  | import com.ruoyi.collaborativeApproval.dto.MeetSummaryDto; | 
 |  |  | import com.ruoyi.collaborativeApproval.dto.MeetUseDto; | 
 |  |  | import com.ruoyi.collaborativeApproval.dto.MeetingSimpleDto; | 
 |  |  | 
 |  |  |  | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | public interface MeetingService{ | 
 |  |  | public interface MeetingService extends IService<MeetingRoom> { | 
 |  |  | //****************ä¼è®®å®¤******************************** | 
 |  |  |     IPage<MeetingRoom> getMeetingRoomList(SearchMeetingRoomVo vo); | 
 |  |  |  | 
 
 |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; | 
 |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; | 
 |  |  | import com.github.xiaoymin.knife4j.core.util.StrUtil; | 
 |  |  | import com.ruoyi.collaborativeApproval.dto.MeetSummaryDto; | 
 |  |  | import com.ruoyi.collaborativeApproval.dto.MeetUseDto; | 
 |  |  | 
 |  |  |  | 
 |  |  | @Service | 
 |  |  | @RequiredArgsConstructor | 
 |  |  | public class MeetingServiceImpl implements MeetingService { | 
 |  |  | public class MeetingServiceImpl extends ServiceImpl<MeetingRoomMapper, MeetingRoom> implements MeetingService { | 
 |  |  |     private final MeetingRoomMapper meetingRoomMapper; | 
 |  |  |  | 
 |  |  |     private final MeetDraftMapper meetDraftMapper; | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.compensationperformance.pojo.CompensationPerformance; | 
 |  |  | import com.ruoyi.compensationperformance.service.CompensationPerformanceService; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Log; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; | 
 |  |  | import com.ruoyi.framework.web.controller.BaseController; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import com.ruoyi.purchase.dto.PaymentRegistrationDto; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | 
 |  |  | import org.springframework.util.CollectionUtils; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  | 
 |  |  |         return delete ? AjaxResult.success("å é¤æå") : AjaxResult.error("å é¤å¤±è´¥"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Log(title = "导åºèªèµç®¡çå表", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response ) { | 
 |  |  |         List<CompensationPerformance> list = compensationPerformanceService.list(); | 
 |  |  |         ExcelUtil<CompensationPerformance> util = new ExcelUtil<CompensationPerformance>(CompensationPerformance.class); | 
 |  |  |         util.exportExcel(response, list, "导åºèªèµç®¡çå表"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  |      * åå·¥id | 
 |  |  |      */ | 
 |  |  |     @ApiModelProperty("åå·¥id") | 
 |  |  |     @Excel(name = "åå·¥id") | 
 |  |  |     private Long staffId; | 
 |  |  |  | 
 |  |  |     /** | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Log; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; | 
 |  |  | import com.ruoyi.framework.web.controller.BaseController; | 
 |  |  | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Map; | 
 |  |  |  | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å¯¼åºä»æ¬¾ç»è®°å表 | 
 |  |  |      * å¯¼åºä»æ¬¾æµæ°´å表 | 
 |  |  |      */ | 
 |  |  | //    @Log(title = "仿¬¾ç»è®°", businessType = BusinessType.EXPORT) | 
 |  |  | //    @PostMapping("/export") | 
 |  |  | //    public void export(HttpServletResponse response, PaymentRegistrationDto paymentRegistrationDto) | 
 |  |  | //    { | 
 |  |  | //        List<PaymentRegistrationDto> list = paymentRegistrationService.selectPaymentRegistrationList(paymentRegistrationDto); | 
 |  |  | //        ExcelUtil<PaymentRegistration> util = new ExcelUtil<PaymentRegistration>(PaymentRegistration.class); | 
 |  |  | //        util.exportExcel(response, list, "仿¬¾ç»è®°æ°æ®"); | 
 |  |  | //    } | 
 |  |  |     @Log(title = "导åºä»æ¬¾æµæ°´å表", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response, PaymentRegistrationDto paymentRegistrationDto) | 
 |  |  |     { | 
 |  |  |         Page page = new Page<>(-1,-1); | 
 |  |  |         IPage<PaymentRegistrationDto> paymentRegistrationDtoIPage = paymentHistoryListPage(page, paymentRegistrationDto); | 
 |  |  |         ExcelUtil<PaymentRegistrationDto> util = new ExcelUtil<PaymentRegistrationDto>(PaymentRegistrationDto.class); | 
 |  |  |         util.exportExcel(response, paymentRegistrationDtoIPage.getRecords(), "导åºä»æ¬¾æµæ°´å表"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * è·å仿¬¾ç»è®°è¯¦ç»ä¿¡æ¯ | 
 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å¯¼åºæ¥ç¥¨ç»è®°å表 | 
 |  |  |      */ | 
 |  |  |     @Log(title = "å¯¼åºæ¥ç¥¨ç»è®°å表", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/exportOne") | 
 |  |  |     public void exportOne(HttpServletResponse response, PurchaseLedger purchaseLedger) { | 
 |  |  |         Page page = new Page(); | 
 |  |  |         page.setCurrent(-1); | 
 |  |  |         page.setSize(-1); | 
 |  |  |         IPage<PurchaseLedgerDto> purchaseLedgerDtoIPage = purchaseLedgerService.selectPurchaseLedgerListPage(page, new PurchaseLedgerDto()); | 
 |  |  |         ExcelUtil<PurchaseLedgerDto> util = new ExcelUtil<PurchaseLedgerDto>(PurchaseLedgerDto.class); | 
 |  |  |         util.exportExcel(response, purchaseLedgerDtoIPage.getRecords(), "å¯¼åºæ¥ç¥¨ç»è®°å表"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * æ°å¢ä¿®æ¹éè´å°è´¦ | 
 |  |  |      */ | 
 |  |  |     @Log(title = "éè´å°è´¦", businessType = BusinessType.INSERT) | 
 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ä»æ¬¾ç»è®°å¯¼åº | 
 |  |  |      */ | 
 |  |  |     @Log(title = "仿¬¾ç»è®°å¯¼åº", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/exportOne") | 
 |  |  |     public void exportOne(HttpServletResponse response, TicketRegistration ticketRegistration) { | 
 |  |  |         Page page = new Page<>(-1, -1); | 
 |  |  |         IPage<TicketRegistration> ticketRegistrationIPage = listPage(page, ticketRegistration); | 
 |  |  |         ExcelUtil<TicketRegistration> util = new ExcelUtil<TicketRegistration>(TicketRegistration.class); | 
 |  |  |         util.exportExcel(response, ticketRegistrationIPage.getRecords(), "仿¬¾ç»è®°å¯¼åº"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * æ¥è¯¢æ¥ç¥¨ç»è®°å产åç¶åå表 | 
 |  |  |      */ | 
 |  |  |     @GetMapping("/getRegistrationById") | 
 
 |  |  | 
 |  |  | package com.ruoyi.purchase.dto; | 
 |  |  |  | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import com.ruoyi.purchase.pojo.PaymentRegistration; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | 
 |  |  |     private String salesContractNo; | 
 |  |  |  | 
 |  |  |     // éè´ååå· | 
 |  |  |     @Excel(name = "éè´ååå·") | 
 |  |  |     private String purchaseContractNumber; | 
 |  |  |  | 
 |  |  |     // ä¾åºååç§° | 
 |  |  |     @Excel(name = "ä¾åºååç§°") | 
 |  |  |     private String supplierName; | 
 |  |  |  | 
 |  |  |     // åç¥¨å· | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import com.ruoyi.sales.pojo.CommonFile; | 
 |  |  | import com.ruoyi.sales.pojo.SalesLedgerProduct; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * éè´ååå· | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "éè´ååå·") | 
 |  |  |     private String purchaseContractNumber; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * ä¾åºååç§° | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ä¾åºååç§°") | 
 |  |  |     private String supplierName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * å½å
¥äººå§å | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "å½å
¥äººå§å") | 
 |  |  |     private String recorderName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * éå®ååå· | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "éå®ååå·") | 
 |  |  |     private String salesContractNo; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * é¡¹ç®åç§° | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "项ç®åç§°") | 
 |  |  |     private String projectName; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å½å
¥æ¥æ | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @Excel(name = "å½å
¥æ¥æ", width = 30, dateFormat = "yyyy-MM-dd") | 
 |  |  |     private Date entryDate; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * ååéé¢ï¼äº§åå«ç¨æ»ä»·ï¼ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ååéé¢") | 
 |  |  |     private BigDecimal contractAmount = BigDecimal.ZERO; | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     @ApiModelProperty("æ¥ç¥¨éé¢") | 
 |  |  |     @Excel(name = "å·²æ¥ç¥¨éé¢(å
)") | 
 |  |  |     private BigDecimal receiptPaymentAmount =  BigDecimal.ZERO; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty("æªæ¥ç¥¨éé¢") | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     @Excel(name = "æªæ¥ç¥¨éé¢(å
)") | 
 |  |  |     private BigDecimal unReceiptPaymentAmount =BigDecimal.ZERO; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty("æä»¶ç±»å  å 4") | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.*; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | import java.math.BigDecimal; | 
 |  |  | 
 |  |  |     /** | 
 |  |  |      * æ¬æ¬¡ä»æ¬¾éé¢ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "仿¬¾éé¢") | 
 |  |  |     private BigDecimal currentPaymentAmount; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ä»æ¬¾å½¢å¼ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "仿¬¾å½¢å¼") | 
 |  |  |     private String paymentMethod; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |      * ä»æ¬¾æ¥æ | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @Excel(name = "仿¬¾æ¥æ", width = 30, dateFormat = "yyyy-MM-dd") | 
 |  |  |     private Date paymentDate; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ç»è®°æ¥æ | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @Excel(name = "ç»è®°æ¥æ", width = 30, dateFormat = "yyyy-MM-dd") | 
 |  |  |     private Date registrationtDate; | 
 |  |  |  | 
 |  |  |     /** | 
 
 |  |  | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "已仿¬¾æ»éé¢") | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     @Excel(name = "已仿¬¾æ»éé¢") | 
 |  |  |     private BigDecimal paymentAmountTotal; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "æªä»æ¬¾æ»éé¢") | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     @Excel(name = "æªä»æ¬¾æ»éé¢") | 
 |  |  |     private BigDecimal unPaymentAmountTotal; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 
 |  |  | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.ruoyi.common.utils.bean.BeanUtils; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Log; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; | 
 |  |  | import com.ruoyi.framework.web.controller.BaseController; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import com.ruoyi.framework.web.page.TableDataInfo; | 
 |  |  | import com.ruoyi.purchase.dto.InvoicePurchaseDto; | 
 |  |  | import com.ruoyi.sales.dto.ReceiptPaymentDto; | 
 |  |  | import com.ruoyi.sales.dto.ReceiptPaymentRecordDto; | 
 |  |  | import com.ruoyi.sales.dto.SalesLedgerDto; | 
 |  |  | import com.ruoyi.sales.pojo.ReceiptPayment; | 
 |  |  | import com.ruoyi.sales.pojo.SalesLedger; | 
 |  |  | import com.ruoyi.sales.service.ReceiptPaymentService; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å¯¼åºåæ¬¾æµæ°´å表 | 
 |  |  |      */ | 
 |  |  |     @Log(title = "导åºåæ¬¾æµæ°´å表", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/exportOne") | 
 |  |  |     public void exportOne(HttpServletResponse response, ReceiptPaymentDto salesLedgerDto) { | 
 |  |  |         Page page = new Page(); | 
 |  |  |         page.setCurrent(-1); | 
 |  |  |         page.setSize(-1); | 
 |  |  |         IPage<ReceiptPaymentDto> salesLedgerIPage = receiptPaymentHistoryListPage(page, salesLedgerDto); | 
 |  |  |         ExcelUtil<ReceiptPaymentRecordDto> util = new ExcelUtil<ReceiptPaymentRecordDto>(ReceiptPaymentRecordDto.class); | 
 |  |  |         List<ReceiptPaymentRecordDto> receiptPaymentRecordDtos = new ArrayList<>(); | 
 |  |  |         salesLedgerIPage.getRecords().forEach(receiptPaymentRecordDto -> { | 
 |  |  |             ReceiptPaymentRecordDto receiptPaymentRecordDto1 = new ReceiptPaymentRecordDto(); | 
 |  |  |             BeanUtils.copyBeanProp(receiptPaymentRecordDto, receiptPaymentRecordDto1); | 
 |  |  |             receiptPaymentRecordDtos.add(receiptPaymentRecordDto1); | 
 |  |  |         }); | 
 |  |  |         util.exportExcel(response, receiptPaymentRecordDtos, "导åºå¼ç¥¨ç»è®°å表"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * æ¥è¯¢å款记å½ä¸å页 | 
 |  |  |      */ | 
 |  |  |     @GetMapping("/receiptPaymentHistoryListNoPage") | 
 
 |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.math.BigDecimal; | 
 |  |  | import java.util.ArrayList; | 
 |  |  | import java.util.Collection; | 
 |  |  | import java.util.List; | 
 |  |  | import java.util.Objects; | 
 |  |  | import java.util.stream.Collectors; | 
 |  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å¯¼åºå¼ç¥¨ç»è®°å表 | 
 |  |  |      */ | 
 |  |  |     @Log(title = "导åºå¼ç¥¨ç»è®°å表", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/exportOne") | 
 |  |  |     public void exportOne(HttpServletResponse response, SalesLedgerDto salesLedgerDto) { | 
 |  |  |         Page page = new Page(); | 
 |  |  |         page.setCurrent(-1); | 
 |  |  |         page.setSize(-1); | 
 |  |  |         IPage<SalesLedger> salesLedgerIPage = listPage(page, salesLedgerDto); | 
 |  |  |         ExcelUtil<SalesLedger> util = new ExcelUtil<SalesLedger>(SalesLedger.class); | 
 |  |  |         util.exportExcel(response, salesLedgerIPage == null ? new ArrayList<>() : salesLedgerIPage.getRecords(), "导åºå¼ç¥¨ç»è®°å表"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * æ°å¢ä¿®æ¹éå®å°è´¦ | 
 |  |  |      */ | 
 |  |  |     @Log(title = "éå®å°è´¦", businessType = BusinessType.INSERT) | 
 
| ¶Ô±ÈÐÂÎļþ | 
 |  |  | 
 |  |  | package com.ruoyi.sales.dto; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableField; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import io.swagger.annotations.ApiModelProperty; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.springframework.format.annotation.DateTimeFormat; | 
 |  |  |  | 
 |  |  | import java.math.BigDecimal; | 
 |  |  | import java.time.LocalDate; | 
 |  |  | import java.util.Date; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author :yys | 
 |  |  |  * @date : 2025/10/31 10:17 | 
 |  |  |  */ | 
 |  |  | @Data | 
 |  |  | public class ReceiptPaymentRecordDto { | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "客æ·ååå·") | 
 |  |  |     @Excel(name = "客æ·ååå·") | 
 |  |  |     private String customerContractNo; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "客æ·åç§°") | 
 |  |  |     @Excel(name = "客æ·åç§°") | 
 |  |  |     private String customerName; | 
 |  |  |  | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") | 
 |  |  |     @DateTimeFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @Excel(name = "ç»è®°æ¥æ",width = 30,dateFormat = "yyyy-MM-dd") | 
 |  |  |     @ApiModelProperty(value = "ç»è®°æ¥æ") | 
 |  |  |     private Date invoiceDate; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "éå®ååå·") | 
 |  |  |     @Excel(name = "éå®ååå·") | 
 |  |  |     private String salesContractNo; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "忬¾éé¢") | 
 |  |  |     @Excel(name = "忬¾éé¢") | 
 |  |  |     private BigDecimal receiptPaymentAmountTotal; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "项ç®åç§°") | 
 |  |  |     @Excel(name = "项ç®åç§°") | 
 |  |  |     private String projectName; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "忬¾å½¢å¼ 0çµæ±1æ¿å
") | 
 |  |  |     @Excel(name = "忬¾å½¢å¼",readConverterExp = "0=çµæ±,1=æ¿å
") | 
 |  |  |     private String receiptPaymentType; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "ç»è®°äºº") | 
 |  |  |     @Excel(name = "ç»è®°äºº") | 
 |  |  |     private String registrant; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "æ¥æ¬¾æ¥æ") | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @DateTimeFormat(pattern = "yyyy-MM-dd") | 
 |  |  |     @Excel(name = "æ¥æ¬¾æ¥æ",width = 30,dateFormat = "yyyy-MM-dd") | 
 |  |  |     private LocalDate receiptPaymentDate; | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     @ApiModelProperty(value = "æªå¼ç¥¨éé¢(å
)") | 
 |  |  |     @Excel(name = "æªå¼ç¥¨éé¢") | 
 |  |  |     private BigDecimal noInvoiceAmountTotal = BigDecimal.ZERO; | 
 |  |  |  | 
 |  |  |     @ApiModelProperty(value = "ç¾è®¢æ¥æ") | 
 |  |  | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 |  |  |     @ApiModelProperty(value = "å·²å¼ç¥¨éé¢(å
)") | 
 |  |  |     @Excel(name = "å·²å¼ç¥¨éé¢") | 
 |  |  |     private BigDecimal invoiceTotal = BigDecimal.ZERO; | 
 |  |  |  | 
 |  |  |     @TableField(exist = false) | 
 
 |  |  | 
 |  |  | package com.ruoyi.staff.controller; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.core.metadata.IPage; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.compensationperformance.pojo.CompensationPerformance; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Log; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import com.ruoyi.staff.dto.SaveStaffSchedulingDto; | 
 |  |  | import com.ruoyi.staff.dto.StaffSchedulingDto; | 
 |  |  | import com.ruoyi.staff.service.StaffSchedulingService; | 
 |  |  | import com.ruoyi.staff.vo.SearchSchedulingVo; | 
 |  |  | import lombok.RequiredArgsConstructor; | 
 |  |  | import org.springframework.validation.annotation.Validated; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  | 
 |  |  |         return AjaxResult.success(); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Log(title = "导åºäººåæçå表", businessType = BusinessType.EXPORT) | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response ) { | 
 |  |  |         SearchSchedulingVo vo = new SearchSchedulingVo(); | 
 |  |  |         vo.setCurrent(-1); | 
 |  |  |         vo.setSize(-1); | 
 |  |  |         IPage<StaffSchedulingDto> list = staffSchedulingService.listPage(vo); | 
 |  |  |         ExcelUtil<StaffSchedulingDto> util = new ExcelUtil<StaffSchedulingDto>(StaffSchedulingDto.class); | 
 |  |  |         util.exportExcel(response, list.getRecords(), "导åºäººåæçå表"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } | 
 
 |  |  | 
 |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
 |  |  | import com.baomidou.mybatisplus.annotation.TableId; | 
 |  |  | import com.fasterxml.jackson.annotation.JsonFormat; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.annotation.Excel; | 
 |  |  | import lombok.Data; | 
 |  |  |  | 
 |  |  | import java.io.Serializable; | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     private Integer staffId; | 
 |  |  |  | 
 |  |  |     @Excel(name = "åå·¥åç§°") | 
 |  |  |     private String staffName; | 
 |  |  |  | 
 |  |  |     @Excel(name = "åå·¥ç¼å·") | 
 |  |  |     private String staffNo; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * é¨é¨ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "é¨é¨åç§°") | 
 |  |  |     private String department; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * æçç±»å | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "çæ¬¡åç§°", readConverterExp = "1=æ©ç,2=ä¸ç,3=æç,4=å¤çç") | 
 |  |  |     private String shiftType; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å·¥ä½æ¥æ | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") | 
 |  |  |     @Excel(name = "工使¥æ", dateFormat = "yyyy-MM-dd", width = 20) | 
 |  |  |     private Date workDate; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å¼å§å·¥ä½æ¶é´ | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
 |  |  |     @Excel(name = "å¼å§å·¥ä½æ¶é´", dateFormat = "mm:ss", width = 20) | 
 |  |  |     private LocalDateTime workStartTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ç»æå·¥ä½æ¶é´ | 
 |  |  |      */ | 
 |  |  |     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") | 
 |  |  |     @Excel(name = "ç»æå·¥ä½æ¶é´", dateFormat = "mm:ss", width = 20) | 
 |  |  |     private LocalDateTime workEndTime; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å·¥ä½æ¶é¿ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "工使¶é¿", width = 20) | 
 |  |  |     private BigDecimal workHours; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * ç¶æ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "ç¶æ", readConverterExp = "1=已宿,2=已确认,3=已宿,4=已忶") | 
 |  |  |     private String status; | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * å¤æ³¨ | 
 |  |  |      */ | 
 |  |  |     @Excel(name = "夿³¨") | 
 |  |  |     private String remark; | 
 |  |  | } |