Browse Source

sql语句修改。

tomatozq 5 năm trước cách đây
mục cha
commit
e0bda6fd8e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/src/main/resources/mapper/base/PersonCompany.xml

+ 1 - 1
common/src/main/resources/mapper/base/PersonCompany.xml

@@ -95,6 +95,6 @@
 		select * from base_person_company where del_flag =0 and person_id=#{personId}
 	</select>
 	<delete id="deleteByPersonId" parameterType="long">
-		delete base_person_company where person_id = #{personId}
+		delete from base_person_company where person_id = #{personId}
 	</delete>
 </mapper>