main
黄海 2 years ago
parent ce85a98e19
commit 53668d02a6

@ -108,8 +108,7 @@ public class YpController extends Controller {
*/ */
@Before(POST.class) @Before(POST.class)
@EmptyInterface({"xb", "xm", "mz", "byxx", "bybj", "sg", "zzfs", "hjszd", "jtzz", @EmptyInterface({"xb", "xm", "mz", "byxx", "bybj", "sg", "zzfs", "hjszd", "jtzz",
"xx", "bb_name", "bb_bureau", "bb_tel", "mm_name", "mm_bureau", "mm_tel", "xx", "fzhm", "bw", "db", "zg", "st", "zyz", "xly", "jlhd", "tc", "jwh", "uuid"})
"fzhm", "bw", "db", "zg", "st", "zyz", "xly", "jlhd", "tc", "jwh", "uuid"})
public void save(String xb, String xm, String mz, String byxx, public void save(String xb, String xm, String mz, String byxx,
String bybj, String sg, String zzfs, String hjszd, String jtzz, String xx, String bybj, String sg, String zzfs, String hjszd, String jtzz, String xx,
String bb_name, String bb_bureau, String bb_tel, String mm_name, String mm_bureau, String bb_name, String bb_bureau, String bb_tel, String mm_name, String mm_bureau,
@ -187,7 +186,7 @@ public class YpController extends Controller {
@Before(GET.class) @Before(GET.class)
public void exportExcel() throws URISyntaxException { public void exportExcel() throws URISyntaxException {
//模板文件 //模板文件
String excelPath = CommonUtil.getClassPath()+ PropKit.get("excelExportTemplatePathSuffix").replace("\\", "/"); String excelPath = CommonUtil.getClassPath() + PropKit.get("excelExportTemplatePathSuffix").replace("\\", "/");
String filePath = excelPath + "103.json"; String filePath = excelPath + "103.json";
//转成 json对象 //转成 json对象
JSONObject jo = FileUtil.readJsonFile(filePath); JSONObject jo = FileUtil.readJsonFile(filePath);

Loading…
Cancel
Save