wzy
2022-08-14 b141df9bf9764db8567efebed48006e12ab1f657
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.xzx.gc.role.mapper;
 
 
import com.xzx.gc.entity.CoreFunction;
import com.xzx.gc.util.GcMapper;
import com.xzx.gc.util.SqlResource;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
 
@SqlResource("role.coreFunction")
public interface CoreFunctionMapper extends GcMapper<CoreFunction> {
    //@Sql("select * from core_function where code = ?")
    @Select("select * from core_function where code = #{code}")
    CoreFunction getFunctionByCode(@Param(value = "code") String code);
}