联调问题

This commit is contained in:
马三炮 2025-12-26 15:07:41 +08:00
parent 4204bcaa91
commit aa7ce37ca6
3 changed files with 13 additions and 1 deletions

View File

@ -162,7 +162,7 @@ public class DayPlanVo {
private String status; private String status;
/** /**
* 日计划类型 * 日计划类型 0运行 1检修 2项目部
*/ */
private String dayPlanType; private String dayPlanType;

View File

@ -203,4 +203,9 @@ public class MonthlyPlanVo {
*/ */
private String keyWord; private String keyWord;
/**
* 当天时间
*/
private String nowDate;
} }

View File

@ -154,6 +154,13 @@
AND (tmp.project_name like concat('%', #{keyWord}, '%') AND (tmp.project_name like concat('%', #{keyWord}, '%')
or tmp.work_content like concat('%', #{keyWord}, '%')) or tmp.work_content like concat('%', #{keyWord}, '%'))
</if> </if>
<if test="keyWord!= null " >
AND (tmp.project_name like concat('%', #{keyWord}, '%')
or tmp.work_content like concat('%', #{keyWord}, '%'))
</if>
<if test="nowDate!= null " >
and #{nowDate} between tmp.planned_start_time and tmp.planned_end_time
</if>
</select> </select>
<select id="getPersonnelArrangementList" resultType="com.bonus.digital.dao.PersonnelArrangementVo"> <select id="getPersonnelArrangementList" resultType="com.bonus.digital.dao.PersonnelArrangementVo">
select personnel_arrangement_id,monthly_plan_id,day,personnel_names select personnel_arrangement_id,monthly_plan_id,day,personnel_names