|
|
|
@ -108,8 +108,7 @@ public class YpController extends Controller {
|
|
|
|
|
*/
|
|
|
|
|
@Before(POST.class)
|
|
|
|
|
@EmptyInterface({"xb", "xm", "mz", "byxx", "bybj", "sg", "zzfs", "hjszd", "jtzz",
|
|
|
|
|
"xx", "bb_name", "bb_bureau", "bb_tel", "mm_name", "mm_bureau", "mm_tel",
|
|
|
|
|
"fzhm", "bw", "db", "zg", "st", "zyz", "xly", "jlhd", "tc", "jwh", "uuid"})
|
|
|
|
|
"xx", "fzhm", "bw", "db", "zg", "st", "zyz", "xly", "jlhd", "tc", "jwh", "uuid"})
|
|
|
|
|
public void save(String xb, String xm, String mz, String byxx,
|
|
|
|
|
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,
|
|
|
|
@ -187,7 +186,7 @@ public class YpController extends Controller {
|
|
|
|
|
@Before(GET.class)
|
|
|
|
|
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";
|
|
|
|
|
//转成 json对象
|
|
|
|
|
JSONObject jo = FileUtil.readJsonFile(filePath);
|
|
|
|
|