| | |
| | | <?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, |
| | | audit_state, |
| | | state, |
| | | audit_time, |
| | | create_time, |
| | | update_time |
| | | from cnas_annual_plan |
| | | where state = 1 |
| | | <if test="beginTime != null and endTime != null"> |
| | | and plan_time between #{beginTime} and #{endTime} |
| | | </if> |
| | | </select> |
| | | </mapper> |