mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
nitice manage module compeled
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
<?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.cfive.pinnacle.mapper.DepartmentMapper">
|
||||
|
||||
<select id="getDepartAndUser" resultMap="department">
|
||||
select d.id,name,u.id,username from t_department d,t_user u where d.id=u.department_id and d.deleted=0 and u.deleted=0
|
||||
</select>
|
||||
<resultMap id="department" type="department" autoMapping="true">
|
||||
<id column="id" property="id"/>
|
||||
</resultMap>
|
||||
</mapper>
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
and type.id = n.type_id
|
||||
and n.deleted = 0
|
||||
and n.old = 0
|
||||
|
||||
order by create_time desc
|
||||
</select>
|
||||
<resultMap id="NoticeAllResultMap" type="notice" autoMapping="true">
|
||||
<id property="id" column="nid"/>
|
||||
@@ -70,4 +70,5 @@
|
||||
<result property="version" column="typeVe"/>
|
||||
</association>
|
||||
</resultMap>
|
||||
<!-- 模糊查询-->
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user