| | |
| | | select t.deduction_person_id deductionPersonId,t.finish_time finishTime,t.deduction_person_name |
| | | deductionPersonName,t.deduction_money deductionMoney,t.content_id contentId,t.status_cd statusCd,t.store_id |
| | | storeId,t.work_id workId,t.deduction_reason deductionReason,t.item_id itemId,t.state,t.community_id |
| | | communityId,t.task_id taskId,wpc.content,we.staff_name staffName,we.remark |
| | | communityId,t.task_id taskId,wpc.content,we.staff_name staffName,we.remark,t.create_time createTime, |
| | | wpf.path_url pathUrl |
| | | from work_task_item t |
| | | left join work_pool_content wpc on t.content_id = wpc.content_id and wpc.status_cd = '0' |
| | | left join work_event we on t.item_id = we.item_id and we.status_cd = '0' and we.event_type = '1001' |
| | | left join work_pool_file wpf on t.item_id = wpf.item_id and wpf.status_cd = '0' |
| | | where 1 =1 |
| | | <if test="deductionPersonId !=null and deductionPersonId != ''"> |
| | | and t.deduction_person_id= #{deductionPersonId} |