首页预警计划到期代码提交

This commit is contained in:
liang.chao 2026-02-02 10:34:24 +08:00
parent 7f4d00ca00
commit 06b37f0185
1 changed files with 3 additions and 1 deletions

View File

@ -712,6 +712,7 @@
<if test="maName != null and maName != ''"> <if test="maName != null and maName != ''">
and mt.`NAME` like concat('%', #{maName}, '%') and mt.`NAME` like concat('%', #{maName}, '%')
</if> </if>
order by t1.time desc
</select> </select>
<select id="getTotalInfo" parameterType="com.bonus.index.beans.IndexTotalWarnBean" resultType="com.bonus.index.beans.IndexTotalWarnBean"> <select id="getTotalInfo" parameterType="com.bonus.index.beans.IndexTotalWarnBean" resultType="com.bonus.index.beans.IndexTotalWarnBean">
@ -1355,7 +1356,7 @@
cpd.model_id modelId, cpd.model_id modelId,
cpd.need_num needNum, cpd.need_num needNum,
cpd.need_day needDay, cpd.need_day needDay,
cpd.back_date backDate, cpa.need_time backDate,
cpd.remark, cpd.remark,
cmti.type maType, cmti.type maType,
cmti.`NAME` maName, cmti.`NAME` maName,
@ -1367,6 +1368,7 @@
LEFT JOIN bm_project bp ON cpa.pro_id = bp.ID LEFT JOIN bm_project bp ON cpa.pro_id = bp.ID
LEFT JOIN car_ma_type_info cmti ON cpd.model_id = cmti.id LEFT JOIN car_ma_type_info cmti ON cpd.model_id = cmti.id
WHERE bp.`NAME` IS NOT NULL WHERE bp.`NAME` IS NOT NULL
and cpa.status = 1
<if test="projectName != null and projectName != ''"> <if test="projectName != null and projectName != ''">
and bp.`NAME` like concat('%', #{projectName}, '%') and bp.`NAME` like concat('%', #{projectName}, '%')
</if> </if>