| | |
| | | * @description: 自定义sql,请自行实现业务逻辑 |
| | | * @company: hugeinfo |
| | | * @author: liyj |
| | | * @time:2024-09-07 00:06:20 |
| | | * @time:2024-10-14 14:23:35 |
| | | * @version 1.0.0 |
| | | --> |
| | | <mapper namespace="cn.huge.module.cases.dao.mapper.CaseReturnMapper"> |
| | |
| | | <result property="auditResult" column="audit_result"/> |
| | | <result property="auditResultName" column="audit_result_name"/> |
| | | <result property="auditContent" column="audit_content"/> |
| | | <result property="usetimeHour" column="usetime_hour"/> |
| | | <result property="overtimeStatus" column="overtime_status"/> |
| | | <result property="overtimeHour" column="overtime_hour"/> |
| | | <result property="deleteStatus" column="delete_status"/> |
| | | <result property="custId" column="cust_id"/> |
| | | <result property="createTime" column="create_time"/> |
| | |
| | | audit_result, |
| | | audit_result_name, |
| | | audit_content, |
| | | usetime_hour, |
| | | overtime_status, |
| | | overtime_hour, |
| | | delete_status, |
| | | cust_id, |
| | | create_time, |
| | |
| | | <if test="entity.auditResult != null">audit_result = #{entity.auditResult},</if> |
| | | <if test="entity.auditResultName != null">audit_result_name = #{entity.auditResultName},</if> |
| | | <if test="entity.auditContent != null">audit_content = #{entity.auditContent},</if> |
| | | <if test="entity.usetimeHour != null">usetime_hour = #{entity.usetimeHour},</if> |
| | | <if test="entity.overtimeStatus != null">overtime_status = #{entity.overtimeStatus},</if> |
| | | <if test="entity.overtimeHour != null">overtime_hour = #{entity.overtimeHour},</if> |
| | | <if test="entity.deleteStatus != null">delete_status = #{entity.deleteStatus},</if> |
| | | <if test="entity.custId != null">cust_id = #{entity.custId},</if> |
| | | <if test="entity.createTime != null">create_time = #{entity.createTime},</if> |
| | |
| | | </if> |
| | | <if test="terms.auditContent != null and terms.auditContent !=''"> |
| | | and audit_content = #{terms.auditContent} |
| | | </if> |
| | | <if test="terms.usetimeHour != null and terms.usetimeHour !=''"> |
| | | and usetime_hour = #{terms.usetimeHour} |
| | | </if> |
| | | <if test="terms.overtimeStatus != null and terms.overtimeStatus !=''"> |
| | | and overtime_status = #{terms.overtimeStatus} |
| | | </if> |
| | | <if test="terms.overtimeHour != null and terms.overtimeHour !=''"> |
| | | and overtime_hour = #{terms.overtimeHour} |
| | | </if> |
| | | <if test="terms.deleteStatus = null and terms.deleteStatus =''"> |
| | | and delete_status = 0 |
| | |
| | | </if> |
| | | limit #{page.offset}, #{page.size} |
| | | </select> |
| | | </mapper> |
| | | </mapper> |