fix
Helius
2021-12-08 2ff788504ed25ed15d75047afb16f058b655eeb6
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);
}