fix
Helius
2021-12-06 bf3d05a7b28f505f77734a2f12ad44f06c781ab5
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);
}