体检
This commit is contained in:
@@ -217,4 +217,16 @@ public class MHealthCheckupListController {
|
||||
dao.execute(sql);
|
||||
return sql.getResult();
|
||||
}
|
||||
|
||||
|
||||
@At
|
||||
@RequiresAuthentication
|
||||
public Object getUserChoose(String projectId){
|
||||
HealthCheckupUserSelection fetch = dao.fetch(HealthCheckupUserSelection.class, Cnd.where("projectId", "=", projectId).and("selectUserId", "=", ShiroUtil.getUserId()));
|
||||
if (Lang.isNotEmpty(fetch)) {
|
||||
return Result.success().addData(fetch.getId());
|
||||
} else {
|
||||
return Result.error();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user