Compare commits
No commits in common. "b30439de677fe1953592f1e7b302838f455bfce4" and "848f0fd3c2d10c8a2a6d0fa0a9dd917c0ce5caa0" have entirely different histories.
b30439de67
...
848f0fd3c2
|
@ -83,11 +83,10 @@ public class TAbilityApplicationServiceImpl extends CrudServiceImpl<TAbilityAppl
|
|||
case "score":
|
||||
boolean score = Boolean.valueOf(params.get("score").toString());
|
||||
String sql = "SELECT 1 FROM tb_resource_score t1 WHERE t1.user_id = t_ability_application.user_id AND t1.resource_id = t_ability_application.resource_id";
|
||||
String resource_sql = "SELECT 1 FROM tb_data_resource WHERE tb_data_resource.del_flag = 0 AND t_ability_application.resource_id = tb_data_resource.id";
|
||||
if (score) {
|
||||
wrapper.exists(sql).exists(resource_sql).ne("approve_status", "不通过");
|
||||
wrapper.exists(sql).ne("approve_status", "不通过");
|
||||
} else {
|
||||
wrapper.notExists(sql).exists(resource_sql).ne("approve_status", "不通过");
|
||||
wrapper.notExists(sql).ne("approve_status", "不通过");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue