Commit 2ae777c6f1a2b1b1b6e69f1d27b953a842a6c836
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
3 additions
and
3 deletions
urbanops-module-garden/src/main/resources/mapper/homepage/HomepageSummaryMapper.xml
| ... | ... | @@ -404,7 +404,7 @@ |
| 404 | 404 | ) AS rn |
| 405 | 405 | FROM act_hi_taskinst t |
| 406 | 406 | LEFT JOIN workorder_main_info m ON t.PROC_INST_ID_ = m.process_instance_id AND m.deleted = 0 |
| 407 | - WHERE t.END_TIME_ IS NOT NULL AND m.order_name IS NOT NULL | |
| 407 | + WHERE t.state_ ='completed' | |
| 408 | 408 | AND t.ASSIGNEE_ = #{userId} |
| 409 | 409 | ) res |
| 410 | 410 | WHERE res.rn = 1 |
| ... | ... | @@ -415,7 +415,7 @@ |
| 415 | 415 | <select id="queryPendingTaskDetails" resultType="com.zteits.urbanops.module.garden.controller.app.homepage.vo.TaskDetailsRspVo" > |
| 416 | 416 | SELECT taskName, busiDateTime, pressingType |
| 417 | 417 | FROM ( |
| 418 | - SELECT a.plan_name as taskName,a.begin_time as busiDateTime,null as pressingType | |
| 418 | + SELECT a.plan_name as taskName,a.create_time as busiDateTime,null as pressingType | |
| 419 | 419 | from garden_inspection_plan a |
| 420 | 420 | INNER JOIN garden_inspection_plan_role b on a.batch_no=b.batch_no |
| 421 | 421 | where a.finish_state in(1,3) and a.dept_id = #{deptId} |
| ... | ... | @@ -424,7 +424,7 @@ |
| 424 | 424 | #{roleId} |
| 425 | 425 | </foreach> |
| 426 | 426 | union all |
| 427 | - SELECT a.plan_name as taskName,a.begin_time as busiDateTime, null as pressingType | |
| 427 | + SELECT a.plan_name as taskName,a.create_time as busiDateTime, null as pressingType | |
| 428 | 428 | from garden_maintain_plan a |
| 429 | 429 | INNER JOIN garden_maintain_plan_role b on a.batch_no=b.batch_no |
| 430 | 430 | where a.finish_state in(1,3) and a.dept_id = #{deptId} | ... | ... |