查询参数;

This commit is contained in:
王奎兴
2026-09-11 15:52:02 +08:00
parent c1bbda9f9a
commit 3653c37914
@@ -12,38 +12,38 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="selectBillOperationLogPo1">
<where>
<if test="createByName != null and createByName != ''">
and create_by_name like concat('%', #{createByName}, '%')
<if test="billOperationLogDO.createByName != null and billOperationLogDO.createByName != ''">
and create_by_name like concat('%', #{billOperationLogDO.createByName}, '%')
</if>
<if test="updateByName != null and updateByName != ''">
and update_by_name like concat('%', #{updateByName}, '%')
<if test="billOperationLogDO.updateByName != null and billOperationLogDO.updateByName != ''">
and update_by_name like concat('%', #{billOperationLogDO.updateByName}, '%')
</if>
<if test="topOrganizationId != null ">
and top_organization_id = #{topOrganizationId}
<if test="billOperationLogDO.topOrganizationId != null ">
and top_organization_id = #{billOperationLogDO.topOrganizationId}
</if>
<if test="organizationId != null ">
and organization_id = #{organizationId}
<if test="billOperationLogDO.organizationId != null ">
and organization_id = #{billOperationLogDO.organizationId}
</if>
<if test="organizationName != null and organizationName != ''">
and organization_name like concat('%', #{organizationName}, '%')
<if test="billOperationLogDO.organizationName != null and billOperationLogDO.organizationName != ''">
and organization_name like concat('%', #{billOperationLogDO.organizationName}, '%')
</if>
<if test="billManageId != null ">
and bill_manage_id = #{billManageId}
<if test="billOperationLogDO.billManageId != null ">
and bill_manage_id = #{billOperationLogDO.billManageId}
</if>
<if test="billNumber != null and billNumber != ''">
and bill_number = #{billNumber}
<if test="billOperationLogDO.billNumber != null and billOperationLogDO.billNumber != ''">
and bill_number = #{billOperationLogDO.billNumber}
</if>
<if test="operationType != null ">
and operation_type = #{operationType}
<if test="billOperationLogDO.operationType != null ">
and operation_type = #{billOperationLogDO.operationType}
</if>
<if test="operationInfo != null and operationInfo != ''">
and operation_info = #{operationInfo}
<if test="billOperationLogDO.operationInfo != null and billOperationLogDO.operationInfo != ''">
and operation_info = #{billOperationLogDO.operationInfo}
</if>
<if test="operator != null and operator != ''">
and operator = #{operator}
<if test="billOperationLogDO.operator != null and billOperationLogDO.operator != ''">
and operator = #{billOperationLogDO.operator}
</if>
<if test="operationTime != null ">
and operation_time = #{operationTime}
<if test="billOperationLogDO.operationTime != null ">
and operation_time = #{billOperationLogDO.operationTime}
</if>
</where>
</sql>