|
|
@ -573,7 +573,7 @@ |
|
|
|
) process on process.ITEM_ID = item.ID |
|
|
|
WHERE item.DEL_FLAG = '0' |
|
|
|
<if test="itemState != null and itemState != '' and itemState != '10'"> |
|
|
|
and (process.state is not null and process.state not in (11,14,15,16,1002,1103,1004,1005,1105,1106,3001,3000)) |
|
|
|
and (process.state is not null and process.state not in (11,14,15,16,1002,1103,1004,1005,1105,1106,3001,3000,2021)) |
|
|
|
and (item.IS_PEOPLE = '0' or (item.IS_PEOPLE = '1' and item.PEOPLE_FLAG = '0')) |
|
|
|
</if> |
|
|
|
<if test="itemState != null and itemState != '' and itemState == '0'"> |
|
|
|