fix
Helius
2021-07-15 82da0c87a5e2dcf1b86e1b56ad345555d7a869bb
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);
}