1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| <?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.yuanchu.limslaboratory.mapper.CnasAnnualPlanMapper">
| <!--查询审核计划-->
| <select id="selectAllList" resultType="com.yuanchu.limslaboratory.pojo.vo.CnasAnnualPlanVo">
| select id,
| audit_type,
| department,
| audit_purpose,
| audit_leader,
| audit_emp,
| audit_pursuant,
| audit_scope,
| write_user,
| keyboarder,
| plan_time,
| count,
| state,
| audit_time,
| update_time
| from cnas_annual_plan
| where state = 1
| <if test="year != null and month != null">
| and year(plan_time) = #{year}
| and month(plan_time) = #{month}
| </if>
| order by id desc
| </select>
| </mapper>
|
|