zxl
10 小时以前 2e644445577d0773482753b7d08b3425afae7837
新问题 25-9-28
2个文件已修改
5 ■■■■ 已修改文件
ycl-server/src/main/java/com/ycl/platform/service/impl/YwPointServiceImpl.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-server/src/main/java/com/ycl/platform/service/impl/YwPointServiceImpl.java
@@ -170,6 +170,7 @@
     */
    @Override
    public Result removeById(String id) {
        log.info("执行删除方法-------------------");
        if (baseMapper.deleteById(id) > 0) {
            return Result.ok("删除成功");
        }
@@ -340,6 +341,7 @@
            needUpdateUnit) throws IOException, ExecutionException, InterruptedException {
        List<Map<String, String>> list = EasyExcelImportUtils.makeData(file);
        List<PointExport> dataList = new ArrayList<>();
//        Consumer<List<PointExport>> consumer = (dataList) -> {
//            try {
//                this.updatePoint(dataList, unitId, startTime, endTime, needUpdateUnit);
ycl-server/src/main/resources/mapper/zgyw/YwPointMapper.xml
@@ -60,8 +60,9 @@
        t_yw_point typ
        LEFT JOIN t_yw_unit tyu ON typ.unit_id = tyu.id AND tyu.deleted = 0
        LEFT JOIN sys_dept sd ON typ.dept_id = sd.dept_id AND sd.del_flag = 0
        <where>
            typ.examine_status = 1
            typ.examine_status = 1 and typ.deleted = 0
            <if test="query.pointName != null and query.pointName != ''">
                AND typ.point_name like concat('%', #{query.pointName}, '%')
            </if>