mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.panzhihua.service_grid.dao;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panzhihua.common.model.vos.grid.EventLcGridAdminVO;
import com.panzhihua.service_grid.model.dos.LcCompareCodeDO;
 
/**
 * program 攀枝花智慧社区项目 description 本地网格和浪潮的对码表管理API
 *
 * @author manailin Date 2021-01-22 15:30
 **/
@Mapper
public interface LcCompareCodeMapper extends BaseMapper<LcCompareCodeDO> {
 
    @Update("update lc_compare_code set local_grid_id = null,grid_name = null where local_grid_id = #{gridId}")
    void updateLcCompareCode(@Param("gridId") Long gridId);
 
    @Select("select id,lc_grid_name from lc_compare_code")
    List<EventLcGridAdminVO> getLcGridLists();
 
}