| | |
| | | <?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.gkhy.exam.system.mapper.InternalAuditCheckMapper"> |
| | | <update id="updateByYearAndDeptId"> |
| | | update internal_audit_check set person_id = #{personId} ,start_time = #{startTime},end_time = #{endTime} where year = #{year} and dept_id = #{deptId} and company_id = #{companyId} |
| | | </update> |
| | | |
| | | |
| | | <select id="selectInternalAuditCheckList" resultType="com.gkhy.exam.system.domain.InternalAuditCheck"> |
| | |
| | | iac.`person_id`, |
| | | es.`name` as person_name, |
| | | iac.`check_time`, |
| | | iac.`start_time`, |
| | | iac.`end_time`, |
| | | iac.`year`, |
| | | iac.`del_flag`, |
| | | iac.`create_by`, |
| | | iac.`create_time`, |
| | |
| | | ORDER BY |
| | | iac.create_time DESC |
| | | </select> |
| | | <select id="selectAuditCheckCatalogue" |
| | | resultType="com.gkhy.exam.system.domain.InternalAuditCheckCatalogue"> |
| | | |
| | | </select> |
| | | |
| | | |
| | | <select id ="getStatisticData" resultType="int"> |