Commit 78c33a9b authored by 高宇's avatar 高宇

1 客户管理和条码管理

parent 48db815a
...@@ -8,6 +8,7 @@ import io.swagger.annotations.ApiOperation; ...@@ -8,6 +8,7 @@ import io.swagger.annotations.ApiOperation;
import org.rcisoft.core.anno.CyOpeLogAnno; import org.rcisoft.core.anno.CyOpeLogAnno;
import org.rcisoft.core.operlog.enums.CyLogTypeEnum; import org.rcisoft.core.operlog.enums.CyLogTypeEnum;
import org.rcisoft.core.util.CyEpExcelUtil; import org.rcisoft.core.util.CyEpExcelUtil;
import org.rcisoft.util.ExportToExcelUtil;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
...@@ -135,7 +136,7 @@ public class BPnSypnController extends CyPaginationController<BPnSypn> { ...@@ -135,7 +136,7 @@ public class BPnSypnController extends CyPaginationController<BPnSypn> {
case "2": excelName="BPnSypn信息.csv";break; case "2": excelName="BPnSypn信息.csv";break;
} }
List<BPnSypn> bPnSypnList = bPnSypnServiceImpl.export(bPnSypn); List<BPnSypn> bPnSypnList = bPnSypnServiceImpl.export(bPnSypn);
CyEpExcelUtil.exportExcel(bPnSypnList, "BPnSypn信息", "BPnSypn信息", BPnSypn.class, excelName, response); ExportToExcelUtil.exportExcel(bPnSypnList, "BPnSypn信息", "BPnSypn信息", BPnSypn.class, excelName, response);
return CyResultGenUtil.builder(new CyPersistModel(1), return CyResultGenUtil.builder(new CyPersistModel(1),
CyMessCons.MESSAGE_ALERT_SUCCESS, CyMessCons.MESSAGE_ALERT_SUCCESS,
CyMessCons.MESSAGE_ALERT_ERROR, CyMessCons.MESSAGE_ALERT_ERROR,
......
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