|
@@ -560,7 +560,7 @@ public class EVDataServiceImpl implements EVDataService {
|
|
|
}
|
|
|
}
|
|
|
if (signIds.length() > 0 && task.getSigType() != 2) {
|
|
|
- String sql = "SELECT * from ( SELECT a.conf_id as keyWord,a.project_id,a.pyzbx ,a.pyzby,(SELECT acc_code from blade_user where id = " + strArray[i] + " and is_deleted=0 ) as sealId " +
|
|
|
+ String sql = "SELECT * from ( SELECT a.conf_id as keyWord,a.pyzbx ,a.pyzby,(SELECT acc_code from blade_user where id = " + strArray[i] + " and is_deleted=0 ) as sealId " +
|
|
|
"from m_sign_config_relation a where a.type = 1 and a.is_deleted = 0 and a.conf_id in (" + signIds + ") " +
|
|
|
"and a.relation_id in (SELECT DISTINCT c.role_id from m_project_assignment_user c where c.contract_id= " + task.getContractId() + " and user_id= " + strArray[i] + " and c.is_deleted=0 ) ) x where x.sealId is not null ";
|
|
|
List<Map<String, Object>> maps3 = jdbcTemplate.queryForList(sql);
|