修改--内容审核修改统计作品sql语句

This commit is contained in:
haotian 2025-04-16 17:48:44 +08:00
parent f2458fd078
commit a4cd2c1540

View File

@ -181,7 +181,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="getUserWorkCount" resultType="Long">
select count(*) from user_work
<where>
<if test="workStatus != null and workStatus != ''"> and work_status = #{workStatus}</if>
<if test="workStatus != null and workStatus != ''"> work_status = #{workStatus}</if>
</where>
</select>
<select id="getAllUserWork" resultMap="UserWorkReviewDtoResult">