|
|
|
@ -15,10 +15,12 @@ import io.github.yedaxia.apidocs.ApiDoc;
|
|
|
|
|
import net.sf.json.JSONArray;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@ApiDoc
|
|
|
|
|
public class DataEaseController extends Controller {
|
|
|
|
|
DataEaseModel dm = new DataEaseModel();
|
|
|
|
|
BaseModel bm=new BaseModel();
|
|
|
|
|
BaseModel bm = new BaseModel();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 根据当前登录人员的identity_id,获取此人员可以维护的数据集名称
|
|
|
|
|
*/
|
|
|
|
@ -65,7 +67,7 @@ public class DataEaseController extends Controller {
|
|
|
|
|
JSONArray jsonArray = JSONArray.fromObject(data);
|
|
|
|
|
for (Object o : jsonArray) {
|
|
|
|
|
net.sf.json.JSONObject jo = (net.sf.json.JSONObject) o;
|
|
|
|
|
if (identity_id>1 && jo.containsKey("行政区划") && !jo.getString("行政区划").equals(xmqh)) {
|
|
|
|
|
if (identity_id > 1 && jo.containsKey("行政区划") && !jo.getString("行政区划").equals(xmqh)) {
|
|
|
|
|
renderJson(CommonUtil.returnMessageJson(false, "数据集数据与当前登录人员所属行政区划不一致,请重新选择数据集!"));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|