master
huanghai 5 years ago
parent 3bd3d5dfe3
commit 8c712f819c

@ -32,7 +32,7 @@ public class VerificationController extends Controller {
public void getVerificationList(int module_id, int verification_status, int page, int limit) {
//(1)当前人员的身份
String identity_id = getCookie("identity_id");
//(2)获取审核的列表数据
//(2)获取当前身份+当前模块下审核的列表数据
Page<Record> _page = model.getVerificationList(module_id, verification_status, identity_id, page, limit);
renderJson(CommonUtil.renderJsonForLayUI(_page));
return;

@ -3,5 +3,10 @@
-- 获取审核列表
#sql("getVerifcationList")
select * from t_verification_record where module_id=#para(module_id)
and step_id in (select step_id from t_verification_step where identity_id=#para(identity_id) and b_use=1)
-- 如果限定了状态
#if(verification_status)
and verification_status=#para(verification_status)
#end
#end
#end
Loading…
Cancel
Save