批次规则的修改

This commit is contained in:
秦鸿展
2026-01-29 13:50:03 +08:00
parent 7926235114
commit 49cdce7b9c
14 changed files with 288 additions and 17 deletions
@@ -11,9 +11,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="topOrganizationId" column="top_organization_id" />
<result property="batchId" column="batch_id" />
<result property="batchLabels" column="batch_labels" />
<result property="fieldName" column="field_name" />
<result property="inputControl" column="input_control" />
<result property="attributeFormat" column="attribute_format" />
<result property="attributeOption" column="attribute_option" />
<result property="isDisplay" column="is_display" />
<result property="remark" column="remark" />
<result property="createTime" column="create_time" />
<result property="createBy" column="create_by" />
@@ -26,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectBatchDetailPo">
select batch_detail_id, organization_id, organization_name, top_organization_id, batch_id, batch_labels, input_control, attribute_format, attribute_option, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from batch_detail
select batch_detail_id, organization_id, organization_name, top_organization_id, batch_id, batch_labels, field_name, input_control, attribute_format, attribute_option, is_display, remark, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from batch_detail
</sql>
<sql id="selectBatchDetailPo1">
@@ -46,6 +48,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="batchLabels != null and batchLabels != ''">
and batch_labels = #{batchLabels}
</if>
<if test="fieldName != null and fieldName != ''">
and field_name = #{fieldName}
</if>
<if test="inputControl != null ">
and input_control = #{inputControl}
</if>
@@ -55,6 +60,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="attributeOption != null and attributeOption != ''">
and attribute_option = #{attributeOption}
</if>
<if test="isDisplay != null ">
and is_display = #{isDisplay}
</if>
<if test="createByName != null and createByName != ''">
and create_by_name like concat('%', #{createByName}, '%')
</if>