Browse Source

修改SQL错误

chenw 7 years ago
parent
commit
1a0e103f0a

+ 1 - 1
base-servers/account/account-server/src/main/resources/mapper/CompanyMapper.xml

@@ -123,7 +123,7 @@
           INNER JOIN ac_account aa on ac.creator_id = aa.id
         WHERE
           ac.name LIKE concat( '%', #{name,jdbcType=VARCHAR}, '%' )
-          OR aa.realname LIKE concat('%', '陈炜', '%')
+          OR aa.realname LIKE concat('%', #{name,jdbcType=VARCHAR}, '%')
         ORDER BY ac.id
     </select>
     <select id="getCompanyRspDTOById" resultType="com.usoftchina.saas.account.dto.CompanyRspDTO">