ANDRU-PC\Andru
2021-12-13 fd330a88631c0e3e488a0127b340998fdbf0ce97
错误修改
4个文件已修改
8 ■■■■ 已修改文件
phi_platform_common/src/main/java/com/hx/phip/dao/mapper/ComparePhotoRecordPicturesMapper.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_common/src/main/resources/mapper/ComparePhotoRecordPicturesMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_common/src/main/resources/mapper/DeductionSignMapper.xml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/deduction/service/impl/DeductionSingleServiceImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_common/src/main/java/com/hx/phip/dao/mapper/ComparePhotoRecordPicturesMapper.java
@@ -34,5 +34,5 @@
    /**删除,返回删除数量*/
    int deleteById(Object object);
    /**删除,返回删除数量*/
    int deleteByDeductionSingleId(@Param("comparePhotoRecordId") String comparePhotoRecordId);
    int deleteByComparePhotoRecordId(@Param("comparePhotoRecordId") String comparePhotoRecordId);
}
phi_platform_common/src/main/resources/mapper/ComparePhotoRecordPicturesMapper.xml
@@ -83,7 +83,7 @@
        delete from compare_photo_record_pictures WHERE id = #{value}
    </delete>
    <delete id="deleteByDeductionSingleId" >
    <delete id="deleteByComparePhotoRecordId" >
        delete from compare_photo_record_pictures WHERE comparePhotoRecordId = #{comparePhotoRecordId}
    </delete>
    
phi_platform_common/src/main/resources/mapper/DeductionSignMapper.xml
@@ -84,7 +84,7 @@
    </delete>
    <delete id="deleteByDeductionSingleId" >
        delete from deduction_join WHERE deductionProjectId = #{deductionProjectId} AND deductionSingleId = #{deductionSingleId}
        delete from deduction_sign WHERE deductionProjectId = #{deductionProjectId} AND deductionSingleId = #{deductionSingleId}
    </delete>
    
</mapper>
phi_platform_user/src/main/java/com/hx/phip/deduction/service/impl/DeductionSingleServiceImpl.java
@@ -423,7 +423,7 @@
                    // 编辑数据
                    if(type == BaseEntity.NO){
                        comparePhotoRecordPicturesMapper.deleteByDeductionSingleId(comparePhotoRecord.getId());
                        comparePhotoRecordPicturesMapper.deleteByComparePhotoRecordId(comparePhotoRecord.getId());
                    }
                    comparePhotoRecordPicturesList.forEach(comparePhotoRecordPictures -> {
                        comparePhotoRecordPictures.setComparePhotoRecordId(comparePhotoRecord.getId());