position_id AS "positionId", name AS "name", code AS "code", sort AS "sort", status AS "status", remark AS "remark", create_time AS "createTime", update_user AS "updateUser", update_time AS "updateTime", create_user AS "createUser"
select
position_id AS "positionId", name AS "name"
from sys_position
select
from sys_position where 1 = 1
and name like CONCAT('%',#{paramCondition.name},'%')
and code like CONCAT('%',#{paramCondition.code},'%')
order by sort asc
select
from sys_position where 1 = 1
and name like CONCAT('%',#{paramCondition.name},'%')
and code like CONCAT('%',#{paramCondition.code},'%')
order by sort asc
select
from sys_position
name like CONCAT('%',#{paramCondition.name},'%')
or code like CONCAT('%',#{paramCondition.code},'%')
order by sort asc
select
from sys_position where 1 = 1
and name like CONCAT('%',#{paramCondition.name},'%')
and code like CONCAT('%',#{paramCondition.code},'%')
order by sort asc