兼容+功能
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.senmesh.component.action.dao.ActionMapper">
|
||||
<select id="listActionDTO" resultType="com.senmesh.component.action.dto.ActionDTO">
|
||||
select t1.*,t2.nickname as createName
|
||||
from uc_action t1 left join uc_user t2 on t1.create_by = t2.id and t2.deleted = 0
|
||||
from uc_action t1 left join uc_user t2 on t1.create_by = t2.id and t2.deleted = FALSE
|
||||
where
|
||||
t1.deleted = 0
|
||||
t1.deleted = FALSE
|
||||
<if test="param.id != null">
|
||||
and id = #{param.id}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user