同步代码 更换电脑
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
<result property="delFlag" column="del_flag"/>
|
||||
<result property="remark" column="remark"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectVoPagePlus" resultType="com.ruoyi.oa.domain.vo.OaProjectReportVo">
|
||||
select opr.report_id,
|
||||
opr.user_id,
|
||||
@@ -67,5 +69,26 @@
|
||||
where report_id = #{reportId}
|
||||
</select>
|
||||
|
||||
<!-- 查询 content 中包含 “完成” 的记录数,按时间过滤 -->
|
||||
<select id="countWithCompleted" parameterType="java.util.Date" resultType="Long">
|
||||
SELECT COUNT(*)
|
||||
FROM oa_project_report
|
||||
WHERE del_flag = 0
|
||||
AND content LIKE CONCAT('%', '完成', '%')
|
||||
AND create_time >= #{createTime}
|
||||
</select>
|
||||
|
||||
<!-- 查询 content 中包含 “未完成” 或 “等待” 或 “待” 的记录数,按时间过滤 -->
|
||||
<select id="countWithPending" parameterType="java.util.Date" resultType="Long">
|
||||
SELECT COUNT(*)
|
||||
FROM oa_project_report
|
||||
WHERE del_flag = 0
|
||||
AND (
|
||||
content LIKE CONCAT('%', '未完成', '%')
|
||||
OR content LIKE CONCAT('%', '等待', '%')
|
||||
OR content LIKE CONCAT('%', '待', '%')
|
||||
)
|
||||
AND create_time >= #{createTime}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user