| | |
| | | */ |
| | | @Override |
| | | public Result removeById(String id) { |
| | | log.info("执行删除方法-------------------"); |
| | | if (baseMapper.deleteById(id) > 0) { |
| | | return Result.ok("删除成功"); |
| | | } |
| | |
| | | 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); |
| | |
| | | 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> |