新增客户时给当前用户自动授权

This commit is contained in:
季圣华
2021-11-17 00:43:21 +08:00
parent fcdecf25a9
commit 08f2ccdd5a
3 changed files with 38 additions and 0 deletions

View File

@@ -71,6 +71,7 @@
and ifnull(delete_flag,'0') !='1'
order by id desc
</select>
<update id="batchDeleteSupplierByIds">
update jsh_supplier
set delete_flag='1'
@@ -81,4 +82,10 @@
</foreach>
)
</update>
<select id="getSupplierByName" resultType="com.jsh.erp.datasource.entities.Supplier">
select *
from jsh_supplier
where supplier = #{supplier}
</select>
</mapper>