whyclxw
2024-07-23 a5fca1f6d110e3ba07c2def3b76cc5c73f764d01
不良品推送修改
5个文件已修改
6 ■■■■ 已修改文件
src/main/java/com/whyc/pojo/DefectiveProducts.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/pojo/DefectiveProductsHistory.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/DefectiveProductsHistoryService.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/DefectiveProductsService.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/mapper/DefectiveProductsMapper.xml 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/pojo/DefectiveProducts.java
@@ -55,7 +55,6 @@
    @ApiModelProperty(value = "提出者")
    private Integer senderId;
    @TableField(exist = false)
    private String senderName;
    @ApiModelProperty(value = "接受者")
src/main/java/com/whyc/pojo/DefectiveProductsHistory.java
@@ -60,6 +60,8 @@
    @ApiModelProperty(value = "处理者")
    private Integer delId;
    private String delName;
    @ApiModelProperty(value = "处理的文件路径")
    private String delUrl;
src/main/java/com/whyc/service/DefectiveProductsHistoryService.java
@@ -42,6 +42,7 @@
        String delName = ActionUtil.getUser().getName();
        Integer delId =ActionUtil.getUser().getId().intValue();
        defectiveHis.setDelId(delId);
        defectiveHis.setDelName(delName);
        String time = ActionUtil.sdfwithday.format(defective.getStartTime());
        String rootFile = CommonUtil.getRootFile();
        if(multipartFileList!=null && multipartFileList.size()!=0){
src/main/java/com/whyc/service/DefectiveProductsService.java
@@ -54,6 +54,7 @@
        String senderName = ActionUtil.getUser().getName();
        Integer senderId =ActionUtil.getUser().getId().intValue();
        defective.setSenderId(senderId);
        defective.setSenderName(senderName);
        if(defective.getStartTime()==null){
            //保存
            defective.setStartTime(new Date());
src/main/resources/mapper/DefectiveProductsMapper.xml
@@ -10,6 +10,7 @@
        <result property="fileUrl" column="file_url"></result>
        <result property="type" column="type"></result>
        <result property="senderId" column="sender_id"></result>
        <result property="senderName" column="sender_name"></result>
        <result property="receiverIds" column="receiver_ids"></result>
        <result property="receiverNames" column="receiver_names"></result>
        <result property="confirmStatus" column="confirm_status"></result>