|
|
@ -92,9 +92,12 @@ |
|
|
<if test="pbranchId!=null and pbranchId!=''"> |
|
|
<if test="pbranchId!=null and pbranchId!=''"> |
|
|
and p.pbranch_id=#{pbranchId} |
|
|
and p.pbranch_id=#{pbranchId} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="startExecDate!=null"> |
|
|
|
|
|
and res.exec_date between #{startExecDate} and #{endExecDate} |
|
|
|
|
|
</if> |
|
|
</where> |
|
|
</where> |
|
|
group by res.exec_date |
|
|
group by res.exec_date |
|
|
order by res.exec_date desc |
|
|
|
|
|
|
|
|
order by res.exec_date asc |
|
|
|
|
|
|
|
|
</select> |
|
|
</select> |
|
|
<!--结束 自定义sql函数区域--> |
|
|
<!--结束 自定义sql函数区域--> |
|
|
|