| | |
| | | <result property="nextExecuteTime" column="next_execute_time"/> |
| | | <result property="scheduleBenchmark" column="schedule_benchmark"/> |
| | | <result property="scheduleBenchmarkCustomTime" column="schedule_benchmark_custom_time"/> |
| | | <result property="deptCodes" column="dept_codes"/> |
| | | <result property="wardCodes" column="ward_codes"/> |
| | | <result property="icd10Codes" column="icd10_codes"/> |
| | | <result property="oplevelCodes" column="oplevel_codes"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | |
| | | next_execute_time, |
| | | schedule_benchmark, |
| | | schedule_benchmark_custom_time, |
| | | dept_codes, |
| | | ward_codes, |
| | | icd10_codes, |
| | | oplevel_codes, |
| | | remark, |
| | | del_flag, |
| | | create_by, |
| | |
| | | where del_flag = '0' |
| | | <if test="taskid != null">and taskid = #{taskid}</if> |
| | | <if test="scheduleStyle != null">and schedule_style = #{scheduleStyle}</if> |
| | | <if test="deptCode != null">and INSTR(dept_codes, #{deptCode}) > 0</if> |
| | | <if test="wardCode != null">and INSTR(ward_codes, #{wardCode}) > 0</if> |
| | | <if test="icd10Code != null">and INSTR(icd10_codes, #{icd10Code}) > 0</if> |
| | | <if test="oplevelCode != null">and INSTR(oplevel_codes, #{oplevelCode}) > 0</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if> |
| | | order by id desc |
| | |
| | | <if test="nextExecuteTime != null">next_execute_time,</if> |
| | | <if test="scheduleBenchmark != null">schedule_benchmark,</if> |
| | | <if test="scheduleBenchmarkCustomTime != null">schedule_benchmark_custom_time,</if> |
| | | <if test="deptCodes != null">dept_codes,</if> |
| | | <if test="wardCodes != null">ward_codes,</if> |
| | | <if test="icd10Codes != null">icd10_codes,</if> |
| | | <if test="oplevelCodes != null">oplevel_codes,</if> |
| | | <if test="remark != null">remark,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | |
| | | <if test="nextExecuteTime != null">#{nextExecuteTime},</if> |
| | | <if test="scheduleBenchmark != null">#{scheduleBenchmark},</if> |
| | | <if test="scheduleBenchmarkCustomTime != null">#{scheduleBenchmarkCustomTime},</if> |
| | | <if test="deptCodes != null">#{deptCodes},</if> |
| | | <if test="wardCodes != null">#{wardCodes},</if> |
| | | <if test="icd10Codes != null">#{icd10Codes},</if> |
| | | <if test="oplevelCodes != null">#{oplevelCodes},</if> |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | |
| | | <if test="scheduleBenchmarkCustomTime != null"> |
| | | schedule_benchmark_custom_time = #{scheduleBenchmarkCustomTime}, |
| | | </if> |
| | | <if test="deptCodes != null">dept_codes = #{deptCodes},</if> |
| | | <if test="wardCodes != null">ward_codes = #{wardCodes},</if> |
| | | <if test="icd10Codes != null">icd10_codes = #{icd10Codes},</if> |
| | | <if test="oplevelCodes != null">oplevel_codes = #{oplevelCodes},</if> |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |