资料中心

This commit is contained in:
zhaokaiyao@91isoft.com
2021-12-14 17:09:05 +08:00
parent 36568f8c19
commit 5eeb60b7f3
11 changed files with 473 additions and 8 deletions
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.fileMaterialCenter.dao.FileMaterialDao">
<update id="topping">
UPDATE file_material
SET is_top = (
(
SELECT
Max(is_top)
FROM
(SELECT * FROM file_material) AS x
) + 1
)
WHERE
id = #{id}
</update>
</mapper>