|
|
@ -4,7 +4,7 @@ |
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
|
<mapper namespace="com.hxhq.business.mapper.TemplateMapper"> |
|
|
<mapper namespace="com.hxhq.business.mapper.TemplateMapper"> |
|
|
<select id="queryList"> |
|
|
<select id="queryList"> |
|
|
SELECT t.`id`,t.`sn`,t.`name`,t.`dept_id`,t.`status`,d.`dept_name` |
|
|
|
|
|
|
|
|
SELECT t.`id`,t.`sn`,t.`name`,t.`dept_id`,t.`status`,t.`need_pre`,t.`type`,d.`dept_name` |
|
|
FROM `t_template` t |
|
|
FROM `t_template` t |
|
|
LEFT JOIN `sys_dept` d ON t.`dept_id`=d.`dept_id` |
|
|
LEFT JOIN `sys_dept` d ON t.`dept_id`=d.`dept_id` |
|
|
<if test="ew.sqlSegment != '' and ew.sqlSegment != null"> |
|
|
<if test="ew.sqlSegment != '' and ew.sqlSegment != null"> |
|
|
|