Commit 48d3fa8f authored by liboyang's avatar liboyang

push

parent 94a71d39
package com.yxproject.start.api; //package com.yxproject.start.api;
//
import com.yxproject.start.entity.PersonPostAbnormalEntity; //import com.yxproject.start.entity.PersonPostAbnormalEntity;
import com.yxproject.start.entity.RedoRegistrationEntity; //import com.yxproject.start.entity.RedoRegistrationEntity;
import com.yxproject.start.entity.TemporaryCertificateEntity; //import com.yxproject.start.entity.TemporaryCertificateEntity;
import com.yxproject.start.utils.ExportExcel; //import com.yxproject.start.utils.ExportExcel;
import org.springframework.web.bind.annotation.RequestMapping; //import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; //import org.springframework.web.bind.annotation.RestController;
//
import java.util.List; //import java.util.List;
//
@RestController //@RestController
@RequestMapping("exportExcel") //@RequestMapping("exportExcel")
public class ExportExcelApi { //public class ExportExcelApi {
/** // /**
* 导出临时证信息 // * 导出临时证信息
*/ // */
@RequestMapping("ExportTemporaryCertificate") // @RequestMapping("ExportTemporaryCertificate")
public boolean ExportTemporaryCertificate(){ // public boolean ExportTemporaryCertificate(){
PersonPostAbnormalEntity temporaryCertificate = new PersonPostAbnormalEntity(); // PersonPostAbnormalEntity temporaryCertificate = new PersonPostAbnormalEntity();
ExportExcel obj = new ExportExcel(); // ExportExcel obj = new ExportExcel();
obj.exportTemporaryCertificateExcel((List<TemporaryCertificateEntity>) temporaryCertificate); // obj.exportTemporaryCertificateExcel((List<TemporaryCertificateEntity>) temporaryCertificate);
return true; // return true;
} // }
/** // /**
* 导出重做证件信息 // * 导出重做证件信息
*/ // */
@RequestMapping("ExportRedoRegistration") // @RequestMapping("ExportRedoRegistration")
public boolean ExportRedoRegistration(){ // public boolean ExportRedoRegistration(){
RedoRegistrationEntity redoRegistration = new RedoRegistrationEntity(); // RedoRegistrationEntity redoRegistration = new RedoRegistrationEntity();
ExportExcel obj = new ExportExcel(); // ExportExcel obj = new ExportExcel();
obj.exportRedoRegistrationExcel((List<RedoRegistrationEntity>) redoRegistration); // obj.exportRedoRegistrationExcel((List<RedoRegistrationEntity>) redoRegistration);
return true; // return true;
} // }
//
} //}
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