全量提交

This commit is contained in:
林华觞
2025-05-21 08:59:12 +08:00
parent 2bf962399b
commit 08924f2b28
634 changed files with 59141 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?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.zf.foodpurchase.fdsafe.mapper.MorningInspectionDetailMapper">
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
md.morning_detail_id, md.check_in_id, md.person_name, md.person_sex, md.remark, md.abnormal_img as abnormal_img_str, md.create_time, md.update_time
</sql>
<select id="queryMorningInspectionDetailVO"
resultType="com.zf.foodpurchase.fdsafe.vo.MorningInspectionDetailVO">
select <include refid="Base_Column_List"/>
from morning_inspection_detail md
<where>
<if test="morningDetailId != null">
and md.morning_detail_id = #{morningDetailId}
</if>
<if test="checkInId != null">
and md.check_in_id = #{checkInId}
</if>
<if test="personName != null and personName != ''">
and md.person_name like concat('%', #{personName}, '%')
</if>
</where>
order by md.create_time desc
</select>
</mapper>