Commit 7ccbabf1 by jiang'yun

修改问题

parent fbfe64a5
......@@ -3,6 +3,7 @@ package com.qianhe.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.qianhe.common.utils.StringUtils;
import com.qianhe.domain.SjZdbfKhpjbzCb;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -127,6 +128,9 @@ public class SjZdbfKhpjbzController extends BaseController
String nd = cb.getNd();
cb.setNd(nd.substring(0,4));
if(StringUtils.isEmpty(cb.getLx())){
return AjaxResult.error("该单位未设置类型");
}
List<String> khnrList = sjZdbfKhpjbzService.getKhnrList(cb);
return success(khnrList);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment