|
|
@@ -1024,7 +1024,7 @@
|
|
|
</select>
|
|
|
<!--获取供应商和客户数据分页-->
|
|
|
<select id="getSupplierAndCustomerByPage" resultType="java.util.Map">
|
|
|
- select * from(
|
|
|
+ select * from (
|
|
|
select tms.sup_id as "objId",
|
|
|
tms.sup_code as "objCode",
|
|
|
tms.sup_name as "objName",
|
|
|
@@ -1082,7 +1082,7 @@
|
|
|
) tt
|
|
|
<where>
|
|
|
<if test="objType != null and objType != ''">
|
|
|
- AND tt.objType = #{objType}
|
|
|
+ AND tt."objType" = #{objType}
|
|
|
</if>
|
|
|
</where>
|
|
|
<if test="pageSize != null and currentPage != null and pageSize != 0 and currentPage != 0">
|
|
|
@@ -1149,7 +1149,7 @@
|
|
|
) tt
|
|
|
<where>
|
|
|
<if test="objType != null and objType != ''">
|
|
|
- AND tt.objType = #{objType}
|
|
|
+ AND tt."objType" = #{objType}
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|