init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?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
|
||||
where
|
||||
t1.deleted = 0
|
||||
<if test="param.id != null">
|
||||
and id = #{param.id}
|
||||
</if>
|
||||
<if test="param.unionId != null">
|
||||
and t1.union_id = #{param.unionId}
|
||||
</if>
|
||||
order by t1.create_time asc
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user