|
@@ -74,8 +74,9 @@ public class EVController {
|
|
|
"sign_type as sigType ," +
|
|
|
"(select count(0) from u_task_parallel b INNER JOIN u_task c on b.process_instance_id = c.process_instance_id " +
|
|
|
"where c.id = JSON_UNQUOTE(JSON_EXTRACT(a.json_data, '$.taskId')) and b.is_deleted = 0 and (b.status = 1 or b.initiative = 1)) isSignature" +
|
|
|
- " from u_task_batch a where is_deleted=0 GROUP BY JSON_EXTRACT(json_data, '$.formDataId'),sign_type ORDER BY sign_type DESC ";
|
|
|
+ " from u_task_batch a where is_deleted=0 GROUP BY JSON_EXTRACT(json_data, '$.formDataId'),sign_type ORDER BY sign_type DESC ";
|
|
|
//and JSON_UNQUOTE(JSON_EXTRACT(json_data,'$.taskId')) in(SELECT id from u_task where project_id =1792760669353865218 and is_deleted =0 and approval_type=1 )
|
|
|
+ // AND JSON_UNQUOTE(JSON_EXTRACT(json_data, '$.taskId')) = '1947571840708771840'
|
|
|
List<TaskSignInfoVO> query = jdbcTemplate.query(sql, new BeanPropertyRowMapper<>(TaskSignInfoVO.class));
|
|
|
|
|
|
if (query != null && query.size() >= 1) {
|