Browse Source

修改sql bug

feature/test
liuchuang 4 years ago
parent
commit
e041fd5b11
  1. 4
      epdc-cloud-admin/src/main/resources/mapper/SysPropertyUserDao.xml
  2. 2
      epdc-cloud-commons-yushan

4
epdc-cloud-admin/src/main/resources/mapper/SysPropertyUserDao.xml

@ -11,14 +11,14 @@
<result property="createDate" column="create_date"/>
</resultMap>
<update id="updateByUserId" parameterType="com.elink.esua.epdc.entity.SysPropertyUserEntity">
update yushan_esua_epdc_admin.sys_property_user
update sys_property_user
set project_id = #{projectId}
where user_id = #{userId}
</update>
<select id="selectByUserId" resultType="String">
select
project_id
from yushan_esua_epdc_admin.sys_property_user
from sys_property_user
where user_id = #{userId}
</select>

2
epdc-cloud-commons-yushan

@ -1 +1 @@
Subproject commit 9d7cf7e81ccc634751f032f72e5333a90eb40ee2
Subproject commit 128c6a4bfb8087999b492a6febfdde984623fe3a
Loading…
Cancel
Save