sql查询报错;
This commit is contained in:
@@ -9,18 +9,18 @@
|
||||
FROM sys_table_config
|
||||
WHERE 1=1
|
||||
<if test="organizationId != null">
|
||||
AND a.organization_id = #{organizationId}
|
||||
AND organization_id = #{organizationId}
|
||||
</if>
|
||||
<if test="warehouseId != null">
|
||||
AND a.warehouse_id = #{warehouseId}
|
||||
AND warehouse_id = #{warehouseId}
|
||||
</if>
|
||||
<if test="shipperId != null">
|
||||
AND a.shipper_id = #{shipperId}
|
||||
AND shipper_id = #{shipperId}
|
||||
</if>
|
||||
<if test="key != null and key != ''">
|
||||
AND a.key = #{key}
|
||||
AND key = #{key}
|
||||
</if>
|
||||
ORDER BY a.create_time DESC
|
||||
ORDER BY create_time DESC
|
||||
</select>
|
||||
|
||||
<select id="listByOrgId" resultType="com.mhd.oms.domain.sysTableConfig.entity.SysTableConfig">
|
||||
@@ -31,18 +31,18 @@
|
||||
FROM sys_table_config
|
||||
WHERE 1=1
|
||||
<if test="organizationId != null">
|
||||
AND a.organization_id = #{organizationId}
|
||||
AND organization_id = #{organizationId}
|
||||
</if>
|
||||
<if test="warehouseId != null">
|
||||
AND a.warehouse_id = #{warehouseId}
|
||||
AND warehouse_id = #{warehouseId}
|
||||
</if>
|
||||
<if test="shipperId != null">
|
||||
AND a.shipper_id = #{shipperId}
|
||||
AND shipper_id = #{shipperId}
|
||||
</if>
|
||||
<if test="key != null and key != ''">
|
||||
AND a.key = #{key}
|
||||
AND key = #{key}
|
||||
</if>
|
||||
ORDER BY a.create_time DESC
|
||||
ORDER BY create_time DESC
|
||||
</select>
|
||||
<!-- 分页查询配置列表 -->
|
||||
<select id="queryList" parameterType="java.lang.String" resultType="com.mhd.oms.domain.sysTableConfig.repository.vo.SysTableConfigVO">
|
||||
|
||||
Reference in New Issue
Block a user