Commit 27a49833 authored by suichenguang's avatar suichenguang

Merge remote-tracking branch 'origin/dev' into dev

# Conflicts:
#	src/main/java/com/yxproject/start/api/BizApi.java
#	src/main/java/com/yxproject/start/api/ExportExcelApi.java
#	src/main/java/com/yxproject/start/api/ReadExcelApi.java
#	src/main/java/com/yxproject/start/utils/ExportExcel.java
parent 840b5151
package com.yxproject.start.api;
import com.yxproject.start.entity.SysPermission;
import com.yxproject.start.entity.SysRole;
import com.yxproject.start.entity.UserInfo;
import com.yxproject.start.service.SysPermissionService;
import com.yxproject.start.service.SysRoleService;
import com.yxproject.start.service.UserInfoService;
......
package com.yxproject.start.api;
import com.yxproject.start.entity.TaskEntity;
import com.yxproject.start.entity.TaskList.CountCountyEntity;
import com.yxproject.start.entity.TaskList.CountGajgEntity;
import com.yxproject.start.entity.TaskList.TaskListEntity;
import com.yxproject.start.service.TaskListService;
import net.sf.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Map;
/**
......@@ -21,42 +21,55 @@ import java.util.Map;
public class TaskListApi {
@Autowired
private TaskListService taskListService;
TaskEntity taskEntity = new TaskEntity();
/**
* 查询以区为单位的制证数量
* @param submitDate
* @return
*/
@RequestMapping("selectByCounty")
public Map<Object, TaskListEntity> selectByCounty(@RequestBody String submitDate){
Map<Object, TaskListEntity> resultMap= taskListService.selectByCounty(submitDate);
JSONObject resultJson = JSONObject.fromObject(resultMap);
public JSONObject selectByCounty(@RequestParam(value = "submitDate") String submitDate){
List<CountCountyEntity> resultList= taskListService.selectByCounty(submitDate);
JSONObject resultJson = JSONObject.fromObject(resultList);
return resultJson;
}
/**
* 查询以派出所为单位的制证数量
* @param submitDate
* @param countyCode
* @return
*/
@RequestMapping("selectByGajg")
public Map<Object, TaskListEntity> selectByGajg(@RequestBody String submitDate){
Map<Object, TaskListEntity> resultMap= taskListService.selectByGajg(submitDate);
JSONObject resultJson = JSONObject.fromObject(resultMap);
public JSONObject selectByGajg(@RequestParam(value = "submitDate") String submitDate,@RequestParam(value = "countyCode") String countyCode){
List<CountGajgEntity> resultList= taskListService.selectByGajg(submitDate,countyCode);
JSONObject resultJson = JSONObject.fromObject(resultList);
return resultJson;
}
/**
* 生成任务单
* @param submitDate
* @param countyCode
* @param Gajg
* @return
*/
@RequestMapping("createTaskList")
public boolean createTaskList(){
Boolean success= taskListService.createTaskList(taskEntity);
return success;
public boolean createTaskList(@RequestParam(value = "submitDate") String submitDate,@RequestParam(value = "countyCode") String countyCode,@RequestParam(value = "Gajg") String Gajg){
List<TaskListEntity> resultList= taskListService.selectACCU(submitDate,countyCode,Gajg);
taskListService.createTaskList(resultList);
return true;
}
/**
* 更改任务单状态(用于任务单下发)
* @param taskId
* @return
*/
@RequestMapping("updateState")
public boolean updateState(@RequestBody String taskId){
Boolean success = taskListService.updateState(taskId);
return success;
public boolean updateState(@RequestParam String taskId){
taskListService.updateState(taskId);
return true;
}
}
package com.yxproject.start.api;
import com.yxproject.start.entity.UserInfo;
import net.sf.json.JSONObject;
import org.apache.shiro.SecurityUtils;
import org.apache.shiro.authc.IncorrectCredentialsException;
......
package com.yxproject.start.api;
import com.yxproject.start.entity.Preprocess.PreproPersonEntity;
import com.yxproject.start.service.ImportXmlService;
import org.dom4j.Document;
import org.dom4j.Element;
import org.dom4j.io.SAXReader;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/**
* Created by Administrator on 2019/2/15.
*/
@RestController
@RequestMapping("yingxin")
public class YingxinApi {
@Autowired
private ImportXmlService importXmlService;
/*导入XML文件*/
@RequestMapping("importXmlData")
public List<PreproPersonEntity> importXmlData(){
List<PreproPersonEntity> list=new ArrayList<>();
try{
File file = new File("D:\\dengzhou.xml");
// 该文件目录下文件全部放入数组
File[] files = file.listFiles();
if(files!=null){
for(int i=0;i<files.length;i++){
String fileName=files[i].getName();
if(fileName.endsWith("xml")){
SAXReader reader = new SAXReader();
//读取文件到document中
Document doc=reader.read(file);
//获取xml文件的根节点
Element rootElement=doc.getRootElement();
Element data = rootElement.element("DATA");
//定义一个Element用于遍历
Element fooElement;
//遍历所有名叫“RECORD”的节点
for (Iterator j = data.elementIterator("RECORD"); j.hasNext();) {
fooElement = (Element) j.next();
PreproPersonEntity preproPersonEntity = new PreproPersonEntity();
preproPersonEntity.setJmsfzslh(fooElement.elementText("jmsfzslh"));
preproPersonEntity.setGmsfhm(fooElement.elementText("gmsfhm"));
preproPersonEntity.setXm(fooElement.elementText("xm"));
preproPersonEntity.setXbdm(fooElement.elementText("xbdm"));
preproPersonEntity.setMzdm(fooElement.elementText("mzdm"));
preproPersonEntity.setCsrq(fooElement.elementText("csrq"));
preproPersonEntity.setSsxqdm(fooElement.elementText("ssxqdm"));
preproPersonEntity.setDzmc(fooElement.elementText("dzmc"));
preproPersonEntity.setSdxp(fooElement.elementText("sdxp"));
preproPersonEntity.setZwyZwtxsj(fooElement.elementText("zwyZwtxsj"));
preproPersonEntity.setZwyZwtzsj(fooElement.elementText("zwyZwtzsj"));
preproPersonEntity.setZweZwtxsj(fooElement.elementText("zweZwtxsj"));
preproPersonEntity.setZweZwtzsj(fooElement.elementText("zweZwtzsj"));
preproPersonEntity.setQfjgGajgmc(fooElement.elementText("qfjgGajgmc"));
preproPersonEntity.setYxqqsrq(fooElement.elementText("yxqqsrq"));
preproPersonEntity.setYxqjzrq(fooElement.elementText("yxqjzrq"));
preproPersonEntity.setJmsfzslyydm(fooElement.elementText("jmsfzslyydm"));
preproPersonEntity.setJmsfzzzlxdm(fooElement.elementText("jmsfzzzlxdm"));
preproPersonEntity.setJmsfzlzfsdm(fooElement.elementText("jmsfzlzfsdm"));
preproPersonEntity.setSjrXm(fooElement.elementText("sjrXm"));
preproPersonEntity.setSjrLxdh(fooElement.elementText("sjrLxdh"));
preproPersonEntity.setSjrYzbm(fooElement.elementText("sjrYzbm"));
preproPersonEntity.setSjrTxdz(fooElement.elementText("sjrTxdz"));
preproPersonEntity.setSid(fooElement.elementText("sid"));
preproPersonEntity.setFile_name("fileName");
list.add(preproPersonEntity);
}
importXmlService.importPersonXml(list);
}else {
continue;
}
}
}
}catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}
return list;
}
}
package com.yxproject.start.config;
import com.yxproject.start.entity.SysPermission;
import com.yxproject.start.entity.SysRole;
import com.yxproject.start.entity.UserInfo;
import com.yxproject.start.service.UserInfoService;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
......
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "APPLY_REASON_T_DIC", schema = "AUXILIARY", catalog = "")
public class ApplyReasonTDicEntity {
private long applyReasonCode;
private String applyReason;
@Id
@Column(name = "APPLY_REASON_CODE")
public long getApplyReasonCode() {
return applyReasonCode;
}
public void setApplyReasonCode(long applyReasonCode) {
this.applyReasonCode = applyReasonCode;
}
@Basic
@Column(name = "APPLY_REASON")
public String getApplyReason() {
return applyReason;
}
public void setApplyReason(String applyReason) {
this.applyReason = applyReason;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ApplyReasonTDicEntity that = (ApplyReasonTDicEntity) o;
if (applyReasonCode != that.applyReasonCode) return false;
if (applyReason != null ? !applyReason.equals(that.applyReason) : that.applyReason != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (applyReasonCode ^ (applyReasonCode >>> 32));
result = 31 * result + (applyReason != null ? applyReason.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
@Entity
@Table(name = "CARD_BODY", schema = "AUXILIARY", catalog = "")
public class CardBodyEntity {
private long cardBodyId;
private Time saveDate;
private long cardType;
private long totalCount;
private String note;
@Id
@Column(name = "CARD_BODY_ID")
public long getCardBodyId() {
return cardBodyId;
}
public void setCardBodyId(long cardBodyId) {
this.cardBodyId = cardBodyId;
}
@Basic
@Column(name = "SAVE_DATE")
public Time getSaveDate() {
return saveDate;
}
public void setSaveDate(Time saveDate) {
this.saveDate = saveDate;
}
@Basic
@Column(name = "CARD_TYPE")
public long getCardType() {
return cardType;
}
public void setCardType(long cardType) {
this.cardType = cardType;
}
@Basic
@Column(name = "TOTAL_COUNT")
public long getTotalCount() {
return totalCount;
}
public void setTotalCount(long totalCount) {
this.totalCount = totalCount;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CardBodyEntity that = (CardBodyEntity) o;
if (cardBodyId != that.cardBodyId) return false;
if (cardType != that.cardType) return false;
if (totalCount != that.totalCount) return false;
if (saveDate != null ? !saveDate.equals(that.saveDate) : that.saveDate != null) return false;
if (note != null ? !note.equals(that.note) : that.note != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (cardBodyId ^ (cardBodyId >>> 32));
result = 31 * result + (saveDate != null ? saveDate.hashCode() : 0);
result = 31 * result + (int) (cardType ^ (cardType >>> 32));
result = 31 * result + (int) (totalCount ^ (totalCount >>> 32));
result = 31 * result + (note != null ? note.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "CARD_DETAILED_LIST", schema = "AUXILIARY", catalog = "")
public class CardDetailedListEntity {
private long cardDetailedListId;
private String polistListId;
private String uploadNo;
private String note;
private String fileName;
private String policeCode;
@Id
@Column(name = "CARD_DETAILED_LIST_ID")
public long getCardDetailedListId() {
return cardDetailedListId;
}
public void setCardDetailedListId(long cardDetailedListId) {
this.cardDetailedListId = cardDetailedListId;
}
@Basic
@Column(name = "POLIST_LIST_ID")
public String getPolistListId() {
return polistListId;
}
public void setPolistListId(String polistListId) {
this.polistListId = polistListId;
}
@Basic
@Column(name = "UPLOAD_NO")
public String getUploadNo() {
return uploadNo;
}
public void setUploadNo(String uploadNo) {
this.uploadNo = uploadNo;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Basic
@Column(name = "FILE_NAME")
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
@Basic
@Column(name = "POLICE_CODE")
public String getPoliceCode() {
return policeCode;
}
public void setPoliceCode(String policeCode) {
this.policeCode = policeCode;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CardDetailedListEntity that = (CardDetailedListEntity) o;
if (cardDetailedListId != that.cardDetailedListId) return false;
if (polistListId != null ? !polistListId.equals(that.polistListId) : that.polistListId != null) return false;
if (uploadNo != null ? !uploadNo.equals(that.uploadNo) : that.uploadNo != null) return false;
if (note != null ? !note.equals(that.note) : that.note != null) return false;
if (fileName != null ? !fileName.equals(that.fileName) : that.fileName != null) return false;
if (policeCode != null ? !policeCode.equals(that.policeCode) : that.policeCode != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (cardDetailedListId ^ (cardDetailedListId >>> 32));
result = 31 * result + (polistListId != null ? polistListId.hashCode() : 0);
result = 31 * result + (uploadNo != null ? uploadNo.hashCode() : 0);
result = 31 * result + (note != null ? note.hashCode() : 0);
result = 31 * result + (fileName != null ? fileName.hashCode() : 0);
result = 31 * result + (policeCode != null ? policeCode.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "CARD_TYPE_DIC", schema = "AUXILIARY", catalog = "")
public class CardTypeDicEntity {
private String cardType;
private long cardTypeId;
@Basic
@Column(name = "CARD_TYPE")
public String getCardType() {
return cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
@Id
@Column(name = "CARD_TYPE_ID")
public long getCardTypeId() {
return cardTypeId;
}
public void setCardTypeId(long cardTypeId) {
this.cardTypeId = cardTypeId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CardTypeDicEntity that = (CardTypeDicEntity) o;
if (cardTypeId != that.cardTypeId) return false;
if (cardType != null ? !cardType.equals(that.cardType) : that.cardType != null) return false;
return true;
}
@Override
public int hashCode() {
int result = cardType != null ? cardType.hashCode() : 0;
result = 31 * result + (int) (cardTypeId ^ (cardTypeId >>> 32));
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "COUNTY_DIC", schema = "AUXILIARY", catalog = "")
public class CountyDicEntity {
private String countyCode;
private String countyname;
private String administrativeCode;
private String yingxin;
@Id
@Column(name = "COUNTY_CODE")
public String getCountyCode() {
return countyCode;
}
public void setCountyCode(String countyCode) {
this.countyCode = countyCode;
}
@Basic
@Column(name = "COUNTYNAME")
public String getCountyname() {
return countyname;
}
public void setCountyname(String countyname) {
this.countyname = countyname;
}
@Basic
@Column(name = "ADMINISTRATIVE_CODE")
public String getAdministrativeCode() {
return administrativeCode;
}
public void setAdministrativeCode(String administrativeCode) {
this.administrativeCode = administrativeCode;
}
@Basic
@Column(name = "YINGXIN")
public String getYingxin() {
return yingxin;
}
public void setYingxin(String yingxin) {
this.yingxin = yingxin;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CountyDicEntity that = (CountyDicEntity) o;
if (countyCode != null ? !countyCode.equals(that.countyCode) : that.countyCode != null) return false;
if (countyname != null ? !countyname.equals(that.countyname) : that.countyname != null) return false;
if (administrativeCode != null ? !administrativeCode.equals(that.administrativeCode) : that.administrativeCode != null)
return false;
if (yingxin != null ? !yingxin.equals(that.yingxin) : that.yingxin != null) return false;
return true;
}
@Override
public int hashCode() {
int result = countyCode != null ? countyCode.hashCode() : 0;
result = 31 * result + (countyname != null ? countyname.hashCode() : 0);
result = 31 * result + (administrativeCode != null ? administrativeCode.hashCode() : 0);
result = 31 * result + (yingxin != null ? yingxin.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
@Entity
@Table(name = "FAILED_CARD", schema = "AUXILIARY", catalog = "")
public class FailedCardEntity {
private long failedCardId;
private long failedCardReasonId;
private String acceptNo;
private long taskId;
private Time positionDate;
private Time finishDate;
private Time allotDate;
private Time printDate;
private Long state;
@Id
@Column(name = "FAILED_CARD_ID")
public long getFailedCardId() {
return failedCardId;
}
public void setFailedCardId(long failedCardId) {
this.failedCardId = failedCardId;
}
@Basic
@Column(name = "FAILED_CARD_REASON_ID")
public long getFailedCardReasonId() {
return failedCardReasonId;
}
public void setFailedCardReasonId(long failedCardReasonId) {
this.failedCardReasonId = failedCardReasonId;
}
@Basic
@Column(name = "ACCEPT_NO")
public String getAcceptNo() {
return acceptNo;
}
public void setAcceptNo(String acceptNo) {
this.acceptNo = acceptNo;
}
@Basic
@Column(name = "TASK_ID")
public long getTaskId() {
return taskId;
}
public void setTaskId(long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "POSITION_DATE")
public Time getPositionDate() {
return positionDate;
}
public void setPositionDate(Time positionDate) {
this.positionDate = positionDate;
}
@Basic
@Column(name = "FINISH_DATE")
public Time getFinishDate() {
return finishDate;
}
public void setFinishDate(Time finishDate) {
this.finishDate = finishDate;
}
@Basic
@Column(name = "ALLOT_DATE")
public Time getAllotDate() {
return allotDate;
}
public void setAllotDate(Time allotDate) {
this.allotDate = allotDate;
}
@Basic
@Column(name = "PRINT_DATE")
public Time getPrintDate() {
return printDate;
}
public void setPrintDate(Time printDate) {
this.printDate = printDate;
}
@Basic
@Column(name = "STATE")
public Long getState() {
return state;
}
public void setState(Long state) {
this.state = state;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FailedCardEntity that = (FailedCardEntity) o;
if (failedCardId != that.failedCardId) return false;
if (failedCardReasonId != that.failedCardReasonId) return false;
if (taskId != that.taskId) return false;
if (acceptNo != null ? !acceptNo.equals(that.acceptNo) : that.acceptNo != null) return false;
if (positionDate != null ? !positionDate.equals(that.positionDate) : that.positionDate != null) return false;
if (finishDate != null ? !finishDate.equals(that.finishDate) : that.finishDate != null) return false;
if (allotDate != null ? !allotDate.equals(that.allotDate) : that.allotDate != null) return false;
if (printDate != null ? !printDate.equals(that.printDate) : that.printDate != null) return false;
if (state != null ? !state.equals(that.state) : that.state != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (failedCardId ^ (failedCardId >>> 32));
result = 31 * result + (int) (failedCardReasonId ^ (failedCardReasonId >>> 32));
result = 31 * result + (acceptNo != null ? acceptNo.hashCode() : 0);
result = 31 * result + (int) (taskId ^ (taskId >>> 32));
result = 31 * result + (positionDate != null ? positionDate.hashCode() : 0);
result = 31 * result + (finishDate != null ? finishDate.hashCode() : 0);
result = 31 * result + (allotDate != null ? allotDate.hashCode() : 0);
result = 31 * result + (printDate != null ? printDate.hashCode() : 0);
result = 31 * result + (state != null ? state.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "FAILED_CARD_REASON_DIC", schema = "AUXILIARY", catalog = "")
public class FailedCardReasonDicEntity {
private long failedCardReasonId;
private String failedCardReason;
@Id
@Column(name = "FAILED_CARD_REASON_ID")
public long getFailedCardReasonId() {
return failedCardReasonId;
}
public void setFailedCardReasonId(long failedCardReasonId) {
this.failedCardReasonId = failedCardReasonId;
}
@Basic
@Column(name = "FAILED_CARD_REASON")
public String getFailedCardReason() {
return failedCardReason;
}
public void setFailedCardReason(String failedCardReason) {
this.failedCardReason = failedCardReason;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FailedCardReasonDicEntity that = (FailedCardReasonDicEntity) o;
if (failedCardReasonId != that.failedCardReasonId) return false;
if (failedCardReason != null ? !failedCardReason.equals(that.failedCardReason) : that.failedCardReason != null)
return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (failedCardReasonId ^ (failedCardReasonId >>> 32));
result = 31 * result + (failedCardReason != null ? failedCardReason.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "GAJG_DM", schema = "AUXILIARY", catalog = "")
public class GajgDmEntity {
private String gajgId;
private String gajgDm;
private String gajgMc;
private String gajgMcPyt;
private String gajgMcWbt;
private String gajgJc;
private String sjGajgDm;
private String xzqhDm;
private String yxws;
private String jcdm;
private String yxbz;
private String xzqhMc;
@Basic
@Column(name = "GAJG_ID")
public String getGajgId() {
return gajgId;
}
public void setGajgId(String gajgId) {
this.gajgId = gajgId;
}
@Id
@Column(name = "GAJG_DM")
public String getGajgDm() {
return gajgDm;
}
public void setGajgDm(String gajgDm) {
this.gajgDm = gajgDm;
}
@Basic
@Column(name = "GAJG_MC")
public String getGajgMc() {
return gajgMc;
}
public void setGajgMc(String gajgMc) {
this.gajgMc = gajgMc;
}
@Basic
@Column(name = "GAJG_MC_PYT")
public String getGajgMcPyt() {
return gajgMcPyt;
}
public void setGajgMcPyt(String gajgMcPyt) {
this.gajgMcPyt = gajgMcPyt;
}
@Basic
@Column(name = "GAJG_MC_WBT")
public String getGajgMcWbt() {
return gajgMcWbt;
}
public void setGajgMcWbt(String gajgMcWbt) {
this.gajgMcWbt = gajgMcWbt;
}
@Basic
@Column(name = "GAJG_JC")
public String getGajgJc() {
return gajgJc;
}
public void setGajgJc(String gajgJc) {
this.gajgJc = gajgJc;
}
@Basic
@Column(name = "SJ_GAJG_DM")
public String getSjGajgDm() {
return sjGajgDm;
}
public void setSjGajgDm(String sjGajgDm) {
this.sjGajgDm = sjGajgDm;
}
@Basic
@Column(name = "XZQH_DM")
public String getXzqhDm() {
return xzqhDm;
}
public void setXzqhDm(String xzqhDm) {
this.xzqhDm = xzqhDm;
}
@Basic
@Column(name = "YXWS")
public String getYxws() {
return yxws;
}
public void setYxws(String yxws) {
this.yxws = yxws;
}
@Basic
@Column(name = "JCDM")
public String getJcdm() {
return jcdm;
}
public void setJcdm(String jcdm) {
this.jcdm = jcdm;
}
@Basic
@Column(name = "YXBZ")
public String getYxbz() {
return yxbz;
}
public void setYxbz(String yxbz) {
this.yxbz = yxbz;
}
@Basic
@Column(name = "XZQH_MC")
public String getXzqhMc() {
return xzqhMc;
}
public void setXzqhMc(String xzqhMc) {
this.xzqhMc = xzqhMc;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GajgDmEntity that = (GajgDmEntity) o;
if (gajgId != null ? !gajgId.equals(that.gajgId) : that.gajgId != null) return false;
if (gajgDm != null ? !gajgDm.equals(that.gajgDm) : that.gajgDm != null) return false;
if (gajgMc != null ? !gajgMc.equals(that.gajgMc) : that.gajgMc != null) return false;
if (gajgMcPyt != null ? !gajgMcPyt.equals(that.gajgMcPyt) : that.gajgMcPyt != null) return false;
if (gajgMcWbt != null ? !gajgMcWbt.equals(that.gajgMcWbt) : that.gajgMcWbt != null) return false;
if (gajgJc != null ? !gajgJc.equals(that.gajgJc) : that.gajgJc != null) return false;
if (sjGajgDm != null ? !sjGajgDm.equals(that.sjGajgDm) : that.sjGajgDm != null) return false;
if (xzqhDm != null ? !xzqhDm.equals(that.xzqhDm) : that.xzqhDm != null) return false;
if (yxws != null ? !yxws.equals(that.yxws) : that.yxws != null) return false;
if (jcdm != null ? !jcdm.equals(that.jcdm) : that.jcdm != null) return false;
if (yxbz != null ? !yxbz.equals(that.yxbz) : that.yxbz != null) return false;
if (xzqhMc != null ? !xzqhMc.equals(that.xzqhMc) : that.xzqhMc != null) return false;
return true;
}
@Override
public int hashCode() {
int result = gajgId != null ? gajgId.hashCode() : 0;
result = 31 * result + (gajgDm != null ? gajgDm.hashCode() : 0);
result = 31 * result + (gajgMc != null ? gajgMc.hashCode() : 0);
result = 31 * result + (gajgMcPyt != null ? gajgMcPyt.hashCode() : 0);
result = 31 * result + (gajgMcWbt != null ? gajgMcWbt.hashCode() : 0);
result = 31 * result + (gajgJc != null ? gajgJc.hashCode() : 0);
result = 31 * result + (sjGajgDm != null ? sjGajgDm.hashCode() : 0);
result = 31 * result + (xzqhDm != null ? xzqhDm.hashCode() : 0);
result = 31 * result + (yxws != null ? yxws.hashCode() : 0);
result = 31 * result + (jcdm != null ? jcdm.hashCode() : 0);
result = 31 * result + (yxbz != null ? yxbz.hashCode() : 0);
result = 31 * result + (xzqhMc != null ? xzqhMc.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "GROUP_NO", schema = "AUXILIARY", catalog = "")
public class GroupNoEntity {
private String groupNo;
private long taskId;
private long validCount;
private long invalidCount;
private long specialCardCount;
@Id
@Column(name = "GROUP_NO")
public String getGroupNo() {
return groupNo;
}
public void setGroupNo(String groupNo) {
this.groupNo = groupNo;
}
@Basic
@Column(name = "TASK_ID")
public long getTaskId() {
return taskId;
}
public void setTaskId(long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "VALID_COUNT")
public long getValidCount() {
return validCount;
}
public void setValidCount(long validCount) {
this.validCount = validCount;
}
@Basic
@Column(name = "INVALID_COUNT")
public long getInvalidCount() {
return invalidCount;
}
public void setInvalidCount(long invalidCount) {
this.invalidCount = invalidCount;
}
@Basic
@Column(name = "SPECIAL_CARD_COUNT")
public long getSpecialCardCount() {
return specialCardCount;
}
public void setSpecialCardCount(long specialCardCount) {
this.specialCardCount = specialCardCount;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GroupNoEntity that = (GroupNoEntity) o;
if (taskId != that.taskId) return false;
if (validCount != that.validCount) return false;
if (invalidCount != that.invalidCount) return false;
if (specialCardCount != that.specialCardCount) return false;
if (groupNo != null ? !groupNo.equals(that.groupNo) : that.groupNo != null) return false;
return true;
}
@Override
public int hashCode() {
int result = groupNo != null ? groupNo.hashCode() : 0;
result = 31 * result + (int) (taskId ^ (taskId >>> 32));
result = 31 * result + (int) (validCount ^ (validCount >>> 32));
result = 31 * result + (int) (invalidCount ^ (invalidCount >>> 32));
result = 31 * result + (int) (specialCardCount ^ (specialCardCount >>> 32));
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "JOB_LOG", schema = "AUXILIARY", catalog = "")
public class JobLogEntity {
private long jobLogId;
private Long taskId;
private Long startPageNo;
private Long endPageNo;
@Id
@Column(name = "JOB_LOG_ID")
public long getJobLogId() {
return jobLogId;
}
public void setJobLogId(long jobLogId) {
this.jobLogId = jobLogId;
}
@Basic
@Column(name = "TASK_ID")
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "START_PAGE_NO")
public Long getStartPageNo() {
return startPageNo;
}
public void setStartPageNo(Long startPageNo) {
this.startPageNo = startPageNo;
}
@Basic
@Column(name = "END_PAGE_NO")
public Long getEndPageNo() {
return endPageNo;
}
public void setEndPageNo(Long endPageNo) {
this.endPageNo = endPageNo;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
JobLogEntity that = (JobLogEntity) o;
if (jobLogId != that.jobLogId) return false;
if (taskId != null ? !taskId.equals(that.taskId) : that.taskId != null) return false;
if (startPageNo != null ? !startPageNo.equals(that.startPageNo) : that.startPageNo != null) return false;
if (endPageNo != null ? !endPageNo.equals(that.endPageNo) : that.endPageNo != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (jobLogId ^ (jobLogId >>> 32));
result = 31 * result + (taskId != null ? taskId.hashCode() : 0);
result = 31 * result + (startPageNo != null ? startPageNo.hashCode() : 0);
result = 31 * result + (endPageNo != null ? endPageNo.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
@Entity
@Table(name = "PLASTIC_FILM", schema = "AUXILIARY", catalog = "")
public class PlasticFilmEntity {
private long plasticFilmId;
private Time saveDate;
private Long totalCount;
private Long plasticFilmType;
private String note;
@Id
@Column(name = "PLASTIC_FILM_ID")
public long getPlasticFilmId() {
return plasticFilmId;
}
public void setPlasticFilmId(long plasticFilmId) {
this.plasticFilmId = plasticFilmId;
}
@Basic
@Column(name = "SAVE_DATE")
public Time getSaveDate() {
return saveDate;
}
public void setSaveDate(Time saveDate) {
this.saveDate = saveDate;
}
@Basic
@Column(name = "TOTAL_COUNT")
public Long getTotalCount() {
return totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
@Basic
@Column(name = "PLASTIC_FILM_TYPE")
public Long getPlasticFilmType() {
return plasticFilmType;
}
public void setPlasticFilmType(Long plasticFilmType) {
this.plasticFilmType = plasticFilmType;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PlasticFilmEntity that = (PlasticFilmEntity) o;
if (plasticFilmId != that.plasticFilmId) return false;
if (saveDate != null ? !saveDate.equals(that.saveDate) : that.saveDate != null) return false;
if (totalCount != null ? !totalCount.equals(that.totalCount) : that.totalCount != null) return false;
if (plasticFilmType != null ? !plasticFilmType.equals(that.plasticFilmType) : that.plasticFilmType != null)
return false;
if (note != null ? !note.equals(that.note) : that.note != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (plasticFilmId ^ (plasticFilmId >>> 32));
result = 31 * result + (saveDate != null ? saveDate.hashCode() : 0);
result = 31 * result + (totalCount != null ? totalCount.hashCode() : 0);
result = 31 * result + (plasticFilmType != null ? plasticFilmType.hashCode() : 0);
result = 31 * result + (note != null ? note.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
@Entity
@Table(name = "POLICE_LIST", schema = "AUXILIARY", catalog = "")
public class PoliceListEntity {
private long policeListId;
private long taskId;
private Time saveDate;
private String policeCode;
private Long finishCount;
private Long inStorageCount;
private Long outStorageCount;
private String note;
@Id
@Column(name = "POLICE_LIST_ID")
public long getPoliceListId() {
return policeListId;
}
public void setPoliceListId(long policeListId) {
this.policeListId = policeListId;
}
@Basic
@Column(name = "TASK_ID")
public long getTaskId() {
return taskId;
}
public void setTaskId(long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "SAVE_DATE")
public Time getSaveDate() {
return saveDate;
}
public void setSaveDate(Time saveDate) {
this.saveDate = saveDate;
}
@Basic
@Column(name = "POLICE_CODE")
public String getPoliceCode() {
return policeCode;
}
public void setPoliceCode(String policeCode) {
this.policeCode = policeCode;
}
@Basic
@Column(name = "FINISH_COUNT")
public Long getFinishCount() {
return finishCount;
}
public void setFinishCount(Long finishCount) {
this.finishCount = finishCount;
}
@Basic
@Column(name = "IN_STORAGE_COUNT")
public Long getInStorageCount() {
return inStorageCount;
}
public void setInStorageCount(Long inStorageCount) {
this.inStorageCount = inStorageCount;
}
@Basic
@Column(name = "OUT_STORAGE_COUNT")
public Long getOutStorageCount() {
return outStorageCount;
}
public void setOutStorageCount(Long outStorageCount) {
this.outStorageCount = outStorageCount;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PoliceListEntity that = (PoliceListEntity) o;
if (policeListId != that.policeListId) return false;
if (taskId != that.taskId) return false;
if (saveDate != null ? !saveDate.equals(that.saveDate) : that.saveDate != null) return false;
if (policeCode != null ? !policeCode.equals(that.policeCode) : that.policeCode != null) return false;
if (finishCount != null ? !finishCount.equals(that.finishCount) : that.finishCount != null) return false;
if (inStorageCount != null ? !inStorageCount.equals(that.inStorageCount) : that.inStorageCount != null)
return false;
if (outStorageCount != null ? !outStorageCount.equals(that.outStorageCount) : that.outStorageCount != null)
return false;
if (note != null ? !note.equals(that.note) : that.note != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (policeListId ^ (policeListId >>> 32));
result = 31 * result + (int) (taskId ^ (taskId >>> 32));
result = 31 * result + (saveDate != null ? saveDate.hashCode() : 0);
result = 31 * result + (policeCode != null ? policeCode.hashCode() : 0);
result = 31 * result + (finishCount != null ? finishCount.hashCode() : 0);
result = 31 * result + (inStorageCount != null ? inStorageCount.hashCode() : 0);
result = 31 * result + (outStorageCount != null ? outStorageCount.hashCode() : 0);
result = 31 * result + (note != null ? note.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
@Entity
@Table(name = "POLICE_STATION_APPLY_REASON", schema = "AUXILIARY", catalog = "")
public class PoliceStationApplyReasonEntity {
private long policeStationApplyReasonId;
private Time saveDate;
private long taskId;
private String policeStationCode;
private long applyCode;
private long applyCount;
@Id
@Column(name = "POLICE_STATION_APPLY_REASON_ID")
public long getPoliceStationApplyReasonId() {
return policeStationApplyReasonId;
}
public void setPoliceStationApplyReasonId(long policeStationApplyReasonId) {
this.policeStationApplyReasonId = policeStationApplyReasonId;
}
@Basic
@Column(name = "SAVE_DATE")
public Time getSaveDate() {
return saveDate;
}
public void setSaveDate(Time saveDate) {
this.saveDate = saveDate;
}
@Basic
@Column(name = "TASK_ID")
public long getTaskId() {
return taskId;
}
public void setTaskId(long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "POLICE_STATION_CODE")
public String getPoliceStationCode() {
return policeStationCode;
}
public void setPoliceStationCode(String policeStationCode) {
this.policeStationCode = policeStationCode;
}
@Basic
@Column(name = "APPLY_CODE")
public long getApplyCode() {
return applyCode;
}
public void setApplyCode(long applyCode) {
this.applyCode = applyCode;
}
@Basic
@Column(name = "APPLY_COUNT")
public long getApplyCount() {
return applyCount;
}
public void setApplyCount(long applyCount) {
this.applyCount = applyCount;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PoliceStationApplyReasonEntity that = (PoliceStationApplyReasonEntity) o;
if (policeStationApplyReasonId != that.policeStationApplyReasonId) return false;
if (taskId != that.taskId) return false;
if (applyCode != that.applyCode) return false;
if (applyCount != that.applyCount) return false;
if (saveDate != null ? !saveDate.equals(that.saveDate) : that.saveDate != null) return false;
if (policeStationCode != null ? !policeStationCode.equals(that.policeStationCode) : that.policeStationCode != null)
return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (policeStationApplyReasonId ^ (policeStationApplyReasonId >>> 32));
result = 31 * result + (saveDate != null ? saveDate.hashCode() : 0);
result = 31 * result + (int) (taskId ^ (taskId >>> 32));
result = 31 * result + (policeStationCode != null ? policeStationCode.hashCode() : 0);
result = 31 * result + (int) (applyCode ^ (applyCode >>> 32));
result = 31 * result + (int) (applyCount ^ (applyCount >>> 32));
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
@Entity
@Table(name = "POLICE_STATION_VAILED", schema = "AUXILIARY", catalog = "")
public class PoliceStationVailedEntity {
private long policeStationVailedId;
private long taskId;
private String policeStationCode;
private long vailedCount;
private long invalidCount;
private Time savaDate;
@Id
@Column(name = "POLICE_STATION_VAILED_ID")
public long getPoliceStationVailedId() {
return policeStationVailedId;
}
public void setPoliceStationVailedId(long policeStationVailedId) {
this.policeStationVailedId = policeStationVailedId;
}
@Basic
@Column(name = "TASK_ID")
public long getTaskId() {
return taskId;
}
public void setTaskId(long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "POLICE_STATION_CODE")
public String getPoliceStationCode() {
return policeStationCode;
}
public void setPoliceStationCode(String policeStationCode) {
this.policeStationCode = policeStationCode;
}
@Basic
@Column(name = "VAILED_COUNT")
public long getVailedCount() {
return vailedCount;
}
public void setVailedCount(long vailedCount) {
this.vailedCount = vailedCount;
}
@Basic
@Column(name = "INVALID_COUNT")
public long getInvalidCount() {
return invalidCount;
}
public void setInvalidCount(long invalidCount) {
this.invalidCount = invalidCount;
}
@Basic
@Column(name = "SAVA_DATE")
public Time getSavaDate() {
return savaDate;
}
public void setSavaDate(Time savaDate) {
this.savaDate = savaDate;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PoliceStationVailedEntity that = (PoliceStationVailedEntity) o;
if (policeStationVailedId != that.policeStationVailedId) return false;
if (taskId != that.taskId) return false;
if (vailedCount != that.vailedCount) return false;
if (invalidCount != that.invalidCount) return false;
if (policeStationCode != null ? !policeStationCode.equals(that.policeStationCode) : that.policeStationCode != null)
return false;
if (savaDate != null ? !savaDate.equals(that.savaDate) : that.savaDate != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (policeStationVailedId ^ (policeStationVailedId >>> 32));
result = 31 * result + (int) (taskId ^ (taskId >>> 32));
result = 31 * result + (policeStationCode != null ? policeStationCode.hashCode() : 0);
result = 31 * result + (int) (vailedCount ^ (vailedCount >>> 32));
result = 31 * result + (int) (invalidCount ^ (invalidCount >>> 32));
result = 31 * result + (savaDate != null ? savaDate.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity.Preprocess;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "FILES", schema = "PREPROCESS", catalog = "")
public class FilesEntity {
private String bbh;
private String dwdm;
private String dwmc;
private Long jls;
private String scsj;
private String sjbbh;
@Basic
@Column(name = "BBH")
public String getBbh() {
return bbh;
}
public void setBbh(String bbh) {
this.bbh = bbh;
}
@Basic
@Column(name = "DWDM")
public String getDwdm() {
return dwdm;
}
public void setDwdm(String dwdm) {
this.dwdm = dwdm;
}
@Basic
@Column(name = "DWMC")
public String getDwmc() {
return dwmc;
}
public void setDwmc(String dwmc) {
this.dwmc = dwmc;
}
@Basic
@Column(name = "JLS")
public Long getJls() {
return jls;
}
public void setJls(Long jls) {
this.jls = jls;
}
@Basic
@Column(name = "SCSJ")
public String getScsj() {
return scsj;
}
public void setScsj(String scsj) {
this.scsj = scsj;
}
@Id
@Column(name = "SJBBH")
public String getSjbbh() {
return sjbbh;
}
public void setSjbbh(String sjbbh) {
this.sjbbh = sjbbh;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
FilesEntity that = (FilesEntity) o;
return Objects.equals(bbh, that.bbh) &&
Objects.equals(dwdm, that.dwdm) &&
Objects.equals(dwmc, that.dwmc) &&
Objects.equals(jls, that.jls) &&
Objects.equals(scsj, that.scsj) &&
Objects.equals(sjbbh, that.sjbbh);
}
@Override
public int hashCode() {
return Objects.hash(bbh, dwdm, dwmc, jls, scsj, sjbbh);
}
}
package com.yxproject.start.entity.Preprocess;
import javax.persistence.*;
import java.sql.Time;
import java.util.Objects;
@Entity
@Table(name = "PERSON_POST_ABNORMAL", schema = "PREPROCESS")
public class PersonPostAbnormalEntity {
private String waybillNumber;
private String backWaybillNumber;
private String orderNumber;
private Time createDate;
private String openid;
private String wcPlayOrderNumber;
private String playState;
private String orderState;
private String applicantName;
private String senderName;
private String senderPhone;
private String senderAddress;
private String recipientName;
private String recipientPhone;
private String recipientAddress;
private String orderBlankNumber;
private String getToProvince;
private String getToCity;
private String getToCounty;
private String businessType;
private String latticeMouthInformation;
private String natureOfTheInternal;
private String natureOfTheInformation;
private String firstWhite;
private String errCode;
private String checkDate;
@Id
@Column(name = "WAYBILL_NUMBER")
public String getWaybillNumber() {
return waybillNumber;
}
public void setWaybillNumber(String waybillNumber) {
this.waybillNumber = waybillNumber;
}
@Basic
@Column(name = "BACK_WAYBILL_NUMBER")
public String getBackWaybillNumber() {
return backWaybillNumber;
}
public void setBackWaybillNumber(String backWaybillNumber) {
this.backWaybillNumber = backWaybillNumber;
}
@Basic
@Column(name = "ORDER_NUMBER")
public String getOrderNumber() {
return orderNumber;
}
public void setOrderNumber(String orderNumber) {
this.orderNumber = orderNumber;
}
@Basic
@Column(name = "CREATE_DATE")
public Time getCreateDate() {
return createDate;
}
public void setCreateDate(Time createDate) {
this.createDate = createDate;
}
@Basic
@Column(name = "WC_PLAY_ORDER_NUMBER")
public String getWcPlayOrderNumber() {
return wcPlayOrderNumber;
}
public void setWcPlayOrderNumber(String wcPlayOrderNumber) {
this.wcPlayOrderNumber = wcPlayOrderNumber;
}
@Basic
@Column(name = "PLAY_STATE")
public String getPlayState() {
return playState;
}
public void setPlayState(String playState) {
this.playState = playState;
}
@Basic
@Column(name = "ORDER_STATE")
public String getOrderState() {
return orderState;
}
public void setOrderState(String orderState) {
this.orderState = orderState;
}
@Basic
@Column(name = "APPLICANT_NAME")
public String getApplicantName() {
return applicantName;
}
public void setApplicantName(String applicantName) {
this.applicantName = applicantName;
}
@Basic
@Column(name = "SENDER_NAME")
public String getSenderName() {
return senderName;
}
public void setSenderName(String senderName) {
this.senderName = senderName;
}
@Basic
@Column(name = "SENDER_PHONE")
public String getSenderPhone() {
return senderPhone;
}
public void setSenderPhone(String senderPhone) {
this.senderPhone = senderPhone;
}
@Basic
@Column(name = "SENDER_ADDRESS")
public String getSenderAddress() {
return senderAddress;
}
public void setSenderAddress(String senderAddress) {
this.senderAddress = senderAddress;
}
@Basic
@Column(name = "RECIPIENT_NAME")
public String getRecipientName() {
return recipientName;
}
public void setRecipientName(String recipientName) {
this.recipientName = recipientName;
}
@Basic
@Column(name = "RECIPIENT_PHONE")
public String getRecipientPhone() {
return recipientPhone;
}
public void setRecipientPhone(String recipientPhone) {
this.recipientPhone = recipientPhone;
}
@Basic
@Column(name = "RECIPIENT_ADDRESS")
public String getRecipientAddress() {
return recipientAddress;
}
public void setRecipientAddress(String recipientAddress) {
this.recipientAddress = recipientAddress;
}
@Basic
@Column(name = "ORDER_BLANK_NUMBER")
public String getOrderBlankNumber() {
return orderBlankNumber;
}
public void setOrderBlankNumber(String orderBlankNumber) {
this.orderBlankNumber = orderBlankNumber;
}
@Basic
@Column(name = "GET_TO_PROVINCE")
public String getGetToProvince() {
return getToProvince;
}
public void setGetToProvince(String getToProvince) {
this.getToProvince = getToProvince;
}
@Basic
@Column(name = "GET_TO_CITY")
public String getGetToCity() {
return getToCity;
}
public void setGetToCity(String getToCity) {
this.getToCity = getToCity;
}
@Basic
@Column(name = "GET_TO_COUNTY")
public String getGetToCounty() {
return getToCounty;
}
public void setGetToCounty(String getToCounty) {
this.getToCounty = getToCounty;
}
@Basic
@Column(name = "BUSINESS_TYPE")
public String getBusinessType() {
return businessType;
}
public void setBusinessType(String businessType) {
this.businessType = businessType;
}
@Basic
@Column(name = "LATTICE_MOUTH_INFORMATION")
public String getLatticeMouthInformation() {
return latticeMouthInformation;
}
public void setLatticeMouthInformation(String lattice_Mouth_Information) {
this.latticeMouthInformation = lattice_Mouth_Information;
}
@Basic
@Column(name = "NATURE_OF_THE_INFORMATION")
public String getNatureOfTheInternal() {
return natureOfTheInternal;
}
public void setNatureOfTheInternal(String nature_Of_The_Internal) {
this.natureOfTheInternal = nature_Of_The_Internal;
}
@Basic
@Column(name = "NATURE_OF_THE_INTERNAL")
public String getNatureOfTheInformation() {
return natureOfTheInformation;
}
public void setNatureOfTheInformation(String nature_Of_The_Information) {
this.natureOfTheInformation = nature_Of_The_Information;
}
@Basic
@Column(name = "FIRST_WHITE")
public String getFirstWhite() {
return firstWhite;
}
public void setFirstWhite(String first_White) {
this.firstWhite = first_White;
}
@Basic
@Column(name = "ERR_CODE")
public String getErrCode() {
return errCode;
}
public void setErrCode(String err_Code) {
this.errCode = err_Code;
}
@Basic
@Column(name = "OPENID")
public String getOpenid() {
return openid;
}
public void setOpenid(String openid) {
this.openid = openid;
}
@Basic
@Column(name = "CHECK_DATE")
public String getCheckDate() {
return checkDate;
}
public void setCheckDate(String check_Date) {
this.checkDate = check_Date;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PersonPostAbnormalEntity that = (PersonPostAbnormalEntity) o;
return Objects.equals(waybillNumber, that.waybillNumber) &&
Objects.equals(backWaybillNumber, that.backWaybillNumber) &&
Objects.equals(orderNumber, that.orderNumber) &&
Objects.equals(createDate, that.createDate) &&
Objects.equals(openid, that.openid) &&
Objects.equals(wcPlayOrderNumber, that.wcPlayOrderNumber) &&
Objects.equals(playState, that.playState) &&
Objects.equals(orderState, that.orderState) &&
Objects.equals(applicantName, that.applicantName) &&
Objects.equals(senderName, that.senderName) &&
Objects.equals(senderPhone, that.senderPhone) &&
Objects.equals(senderAddress, that.senderAddress) &&
Objects.equals(recipientName, that.recipientName) &&
Objects.equals(recipientPhone, that.recipientPhone) &&
Objects.equals(recipientAddress, that.recipientAddress) &&
Objects.equals(orderBlankNumber, that.orderBlankNumber) &&
Objects.equals(getToProvince, that.getToProvince) &&
Objects.equals(getToCity, that.getToCity) &&
Objects.equals(getToCounty, that.getToCounty) &&
Objects.equals(businessType, that.businessType) &&
Objects.equals(latticeMouthInformation, that.latticeMouthInformation) &&
Objects.equals(natureOfTheInternal, that.natureOfTheInternal) &&
Objects.equals(natureOfTheInformation, that.natureOfTheInformation) &&
Objects.equals(firstWhite, that.firstWhite) &&
Objects.equals(errCode, that.errCode) &&
Objects.equals(checkDate, that.checkDate);
}
@Override
public int hashCode() {
return Objects.hash(waybillNumber, backWaybillNumber, orderNumber, createDate, openid, wcPlayOrderNumber, playState, orderState, applicantName, senderName, senderPhone, senderAddress, recipientName, recipientPhone, recipientAddress, orderBlankNumber, getToProvince, getToCity, getToCounty, businessType, latticeMouthInformation, natureOfTheInternal, natureOfTheInformation, firstWhite, errCode, checkDate);
}
}
package com.yxproject.start.entity.Preprocess;
import javax.persistence.*;
import java.sql.Time;
import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/2/18 15:16
*/
@Entity
@Table(name = "PERSON_POST", schema = "PREPROCESS")
public class PersonPostEntity {
private String waybillNumber;
private String backWaybillNumber;
private String orderNumber;
private Time createDate;
private String openid;
private String wcPlayOrderNumber;
private String playState;
private String orderState;
private String applicantName;
private String senderName;
private String senderPhone;
private String senderAddress;
private String recipientName;
private String recipientPhone;
private String recipientAddress;
private String orderBlankNumber;
private String getToProvince;
private String getToCity;
private String getToCounty;
private String businessType;
private String latticeMouthInformation;
private String natureOfTheInternal;
private String natureOfTheInformation;
private String firstWhite;
@Basic
@Column(name = "WAYBILL_NUMBER")
public String getWaybillNumber() {
return waybillNumber;
}
public void setWaybillNumber(String waybillNumber) {
this.waybillNumber = waybillNumber;
}
@Basic
@Column(name = "BACK_WAYBILL_NUMBER")
public String getBackWaybillNumber() {
return backWaybillNumber;
}
public void setBackWaybillNumber(String backWaybillNumber) {
this.backWaybillNumber = backWaybillNumber;
}
@Basic
@Column(name = "ORDER_NUMBER")
public String getOrderNumber() {
return orderNumber;
}
public void setOrderNumber(String orderNumber) {
this.orderNumber = orderNumber;
}
@Basic
@Column(name = "CREATE_DATE")
public Time getCreateDate() {
return createDate;
}
public void setCreateDate(Time createDate) {
this.createDate = createDate;
}
@Basic
@Column(name = "OPENID")
public String getOpenid() {
return openid;
}
public void setOpenid(String openid) {
this.openid = openid;
}
@Basic
@Column(name = "WC_PLAY_ORDER_NUMBER")
public String getWcPlayOrderNumber() {
return wcPlayOrderNumber;
}
public void setWcPlayOrderNumber(String wcPlayOrderNumber) {
this.wcPlayOrderNumber = wcPlayOrderNumber;
}
@Basic
@Column(name = "PLAY_STATE")
public String getPlayState() {
return playState;
}
public void setPlayState(String playState) {
this.playState = playState;
}
@Basic
@Column(name = "ORDER_STATE")
public String getOrderState() {
return orderState;
}
public void setOrderState(String orderState) {
this.orderState = orderState;
}
@Basic
@Column(name = "APPLICANT_NAME")
public String getApplicantName() {
return applicantName;
}
public void setApplicantName(String applicantName) {
this.applicantName = applicantName;
}
@Basic
@Column(name = "SENDER_NAME")
public String getSenderName() {
return senderName;
}
public void setSenderName(String senderName) {
this.senderName = senderName;
}
@Basic
@Column(name = "SENDER_PHONE")
public String getSenderPhone() {
return senderPhone;
}
public void setSenderPhone(String senderPhone) {
this.senderPhone = senderPhone;
}
@Basic
@Column(name = "SENDER_ADDRESS")
public String getSenderAddress() {
return senderAddress;
}
public void setSenderAddress(String senderAddress) {
this.senderAddress = senderAddress;
}
@Basic
@Column(name = "RECIPIENT_NAME")
public String getRecipientName() {
return recipientName;
}
public void setRecipientName(String recipientName) {
this.recipientName = recipientName;
}
@Basic
@Column(name = "RECIPIENT_PHONE")
public String getRecipientPhone() {
return recipientPhone;
}
public void setRecipientPhone(String recipientPhone) {
this.recipientPhone = recipientPhone;
}
@Basic
@Column(name = "RECIPIENT_ADDRESS")
public String getRecipientAddress() {
return recipientAddress;
}
public void setRecipientAddress(String recipientAddress) {
this.recipientAddress = recipientAddress;
}
@Basic
@Column(name = "ORDER_BLANK_NUMBER")
public String getOrderBlankNumber() {
return orderBlankNumber;
}
public void setOrderBlankNumber(String orderBlankNumber) {
this.orderBlankNumber = orderBlankNumber;
}
@Basic
@Column(name = "GET_TO_PROVINCE")
public String getGetToProvince() {
return getToProvince;
}
public void setGetToProvince(String getToProvince) {
this.getToProvince = getToProvince;
}
@Basic
@Column(name = "GET_TO_CITY")
public String getGetToCity() {
return getToCity;
}
public void setGetToCity(String getToCity) {
this.getToCity = getToCity;
}
@Basic
@Column(name = "GET_TO_COUNTY")
public String getGetToCounty() {
return getToCounty;
}
public void setGetToCounty(String getToCounty) {
this.getToCounty = getToCounty;
}
@Basic
@Column(name = "BUSINESS_TYPE")
public String getBusinessType() {
return businessType;
}
public void setBusinessType(String businessType) {
this.businessType = businessType;
}
@Basic
@Column(name = "LATTICE_MOUTH_INFORMATION")
public String getLatticeMouthInformation() {
return latticeMouthInformation;
}
public void setLatticeMouthInformation(String latticeMouthInformation) {
this.latticeMouthInformation = latticeMouthInformation;
}
@Basic
@Column(name = "NATURE_OF_THE_INTERNAL")
public String getNatureOfTheInternal() {
return natureOfTheInternal;
}
public void setNatureOfTheInternal(String natureOfTheInternal) {
this.natureOfTheInternal = natureOfTheInternal;
}
@Basic
@Column(name = "NATURE_OF_THE_INFORMATION")
public String getNatureOfTheInformation() {
return natureOfTheInformation;
}
public void setNatureOfTheInformation(String natureOfTheInformation) {
this.natureOfTheInformation = natureOfTheInformation;
}
@Basic
@Column(name = "FIRST_WHITE")
public String getFirstWhite() {
return firstWhite;
}
public void setFirstWhite(String firstWhite) {
this.firstWhite = firstWhite;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PersonPostEntity that = (PersonPostEntity) o;
return Objects.equals(waybillNumber, that.waybillNumber) &&
Objects.equals(backWaybillNumber, that.backWaybillNumber) &&
Objects.equals(orderNumber, that.orderNumber) &&
Objects.equals(createDate, that.createDate) &&
Objects.equals(openid, that.openid) &&
Objects.equals(wcPlayOrderNumber, that.wcPlayOrderNumber) &&
Objects.equals(playState, that.playState) &&
Objects.equals(orderState, that.orderState) &&
Objects.equals(applicantName, that.applicantName) &&
Objects.equals(senderName, that.senderName) &&
Objects.equals(senderPhone, that.senderPhone) &&
Objects.equals(senderAddress, that.senderAddress) &&
Objects.equals(recipientName, that.recipientName) &&
Objects.equals(recipientPhone, that.recipientPhone) &&
Objects.equals(recipientAddress, that.recipientAddress) &&
Objects.equals(orderBlankNumber, that.orderBlankNumber) &&
Objects.equals(getToProvince, that.getToProvince) &&
Objects.equals(getToCity, that.getToCity) &&
Objects.equals(getToCounty, that.getToCounty) &&
Objects.equals(businessType, that.businessType) &&
Objects.equals(latticeMouthInformation, that.latticeMouthInformation) &&
Objects.equals(natureOfTheInternal, that.natureOfTheInternal) &&
Objects.equals(natureOfTheInformation, that.natureOfTheInformation) &&
Objects.equals(firstWhite, that.firstWhite);
}
@Override
public int hashCode() {
return Objects.hash(waybillNumber, backWaybillNumber, orderNumber, createDate, openid, wcPlayOrderNumber, playState, orderState, applicantName, senderName, senderPhone, senderAddress, recipientName, recipientPhone, recipientAddress, orderBlankNumber, getToProvince, getToCity, getToCounty, businessType, latticeMouthInformation, natureOfTheInternal, natureOfTheInformation, firstWhite);
}
private String id;
@Id
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
}
package com.yxproject.start.entity.Preprocess;
import javax.persistence.*;
import java.sql.Time;
import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/2/18 15:16
*/
@Entity
@Table(name = "PERSONAL_PROGRESS_STATUS", schema = "PREPROCESS", catalog = "")
public class PersonalProgressStatusEntity {
private String uploadNo;
private Long progressStatus;
private String note;
private String importDate;
private Time createTaskDate;
private Time dataCheckDate;
private Time filmPrintDate;
private Time positionDate;
private Time sortDate;
private Time qualityTestDate;
private Time outStorageDate;
private Time handOutDate;
private Time signInDate;
@Id
@Column(name = "UPLOAD_NO")
public String getUploadNo() {
return uploadNo;
}
public void setUploadNo(String uploadNo) {
this.uploadNo = uploadNo;
}
@Basic
@Column(name = "PROGRESS_STATUS")
public Long getProgressStatus() {
return progressStatus;
}
public void setProgressStatus(Long progressStatus) {
this.progressStatus = progressStatus;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Basic
@Column(name = "IMPORT_DATE")
public String getImportDate() {
return importDate;
}
public void setImportDate(String importDate) {
this.importDate = importDate;
}
@Basic
@Column(name = "CREATE_TASK_DATE")
public Time getCreateTaskDate() {
return createTaskDate;
}
public void setCreateTaskDate(Time createTaskDate) {
this.createTaskDate = createTaskDate;
}
@Basic
@Column(name = "DATA_CHECK_DATE")
public Time getDataCheckDate() {
return dataCheckDate;
}
public void setDataCheckDate(Time dataCheckDate) {
this.dataCheckDate = dataCheckDate;
}
@Basic
@Column(name = "FILM_PRINT_DATE")
public Time getFilmPrintDate() {
return filmPrintDate;
}
public void setFilmPrintDate(Time filmPrintDate) {
this.filmPrintDate = filmPrintDate;
}
@Basic
@Column(name = "POSITION_DATE")
public Time getPositionDate() {
return positionDate;
}
public void setPositionDate(Time positionDate) {
this.positionDate = positionDate;
}
@Basic
@Column(name = "SORT_DATE")
public Time getSortDate() {
return sortDate;
}
public void setSortDate(Time sortDate) {
this.sortDate = sortDate;
}
@Basic
@Column(name = "QUALITY_TEST_DATE")
public Time getQualityTestDate() {
return qualityTestDate;
}
public void setQualityTestDate(Time qualityTestDate) {
this.qualityTestDate = qualityTestDate;
}
@Basic
@Column(name = "OUT_STORAGE_DATE")
public Time getOutStorageDate() {
return outStorageDate;
}
public void setOutStorageDate(Time outStorageDate) {
this.outStorageDate = outStorageDate;
}
@Basic
@Column(name = "HAND_OUT_DATE")
public Time getHandOutDate() {
return handOutDate;
}
public void setHandOutDate(Time handOutDate) {
this.handOutDate = handOutDate;
}
@Basic
@Column(name = "SIGN_IN_DATE")
public Time getSignInDate() {
return signInDate;
}
public void setSignInDate(Time signInDate) {
this.signInDate = signInDate;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PersonalProgressStatusEntity that = (PersonalProgressStatusEntity) o;
return Objects.equals(uploadNo, that.uploadNo) &&
Objects.equals(progressStatus, that.progressStatus) &&
Objects.equals(note, that.note) &&
Objects.equals(importDate, that.importDate) &&
Objects.equals(createTaskDate, that.createTaskDate) &&
Objects.equals(dataCheckDate, that.dataCheckDate) &&
Objects.equals(filmPrintDate, that.filmPrintDate) &&
Objects.equals(positionDate, that.positionDate) &&
Objects.equals(sortDate, that.sortDate) &&
Objects.equals(qualityTestDate, that.qualityTestDate) &&
Objects.equals(outStorageDate, that.outStorageDate) &&
Objects.equals(handOutDate, that.handOutDate) &&
Objects.equals(signInDate, that.signInDate);
}
@Override
public int hashCode() {
return Objects.hash(uploadNo, progressStatus, note, importDate, createTaskDate, dataCheckDate, filmPrintDate, positionDate, sortDate, qualityTestDate, outStorageDate, handOutDate, signInDate);
}
}
package com.yxproject.start.entity.Preprocess;
import javax.persistence.*;
import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/2/25 11:00
*/
@Entity
@Table(name = "PREPRO_PERSON", schema = "PREPROCESS", catalog = "")
public class PreproPersonEntity {
private String jmsfzslh;
private String gmsfhm;
private String xm;
private String xbdm;
private String mzdm;
private String csrq;
private String ssxqdm;
private String dzmc;
private String sdxp;
private String zwyZwtxsj;
private String zwyZwtzsj;
private String zweZwtxsj;
private String zweZwtzsj;
private String qfjgGajgmc;
private String yxqqsrq;
private String yxqjzrq;
private String jmsfzslyydm;
private String jmsfzzzlxdm;
private String jmsfzlzfsdm;
private String sjrXm;
private String sjrLxdh;
private String sjrYzbm;
private String sjrTxdz;
private String sid;
private String file_name;
private Long isPost;
@Id
@Column(name = "JMSFZSLH")
public String getJmsfzslh() {
return jmsfzslh;
}
public void setJmsfzslh(String jmsfzslh) {
this.jmsfzslh = jmsfzslh;
}
@Basic
@Column(name = "GMSFHM")
public String getGmsfhm() {
return gmsfhm;
}
public void setGmsfhm(String gmsfhm) {
this.gmsfhm = gmsfhm;
}
@Basic
@Column(name = "XM")
public String getXm() {
return xm;
}
public void setXm(String xm) {
this.xm = xm;
}
@Basic
@Column(name = "XBDM")
public String getXbdm() {
return xbdm;
}
public void setXbdm(String xbdm) {
this.xbdm = xbdm;
}
@Basic
@Column(name = "MZDM")
public String getMzdm() {
return mzdm;
}
public void setMzdm(String mzdm) {
this.mzdm = mzdm;
}
@Basic
@Column(name = "CSRQ")
public String getCsrq() {
return csrq;
}
public void setCsrq(String csrq) {
this.csrq = csrq;
}
@Basic
@Column(name = "SSXQDM")
public String getSsxqdm() {
return ssxqdm;
}
public void setSsxqdm(String ssxqdm) {
this.ssxqdm = ssxqdm;
}
@Basic
@Column(name = "DZMC")
public String getDzmc() {
return dzmc;
}
public void setDzmc(String dzmc) {
this.dzmc = dzmc;
}
@Basic
@Column(name = "SDXP")
public String getSdxp() {
return sdxp;
}
public void setSdxp(String sdxp) {
this.sdxp = sdxp;
}
@Basic
@Column(name = "ZWY_ZWTXSJ")
public String getZwyZwtxsj() {
return zwyZwtxsj;
}
public void setZwyZwtxsj(String zwyZwtxsj) {
this.zwyZwtxsj = zwyZwtxsj;
}
@Basic
@Column(name = "ZWY_ZWTZSJ")
public String getZwyZwtzsj() {
return zwyZwtzsj;
}
public void setZwyZwtzsj(String zwyZwtzsj) {
this.zwyZwtzsj = zwyZwtzsj;
}
@Basic
@Column(name = "ZWE_ZWTXSJ")
public String getZweZwtxsj() {
return zweZwtxsj;
}
public void setZweZwtxsj(String zweZwtxsj) {
this.zweZwtxsj = zweZwtxsj;
}
@Basic
@Column(name = "ZWE_ZWTZSJ")
public String getZweZwtzsj() {
return zweZwtzsj;
}
public void setZweZwtzsj(String zweZwtzsj) {
this.zweZwtzsj = zweZwtzsj;
}
@Basic
@Column(name = "QFJG_GAJGMC")
public String getQfjgGajgmc() {
return qfjgGajgmc;
}
public void setQfjgGajgmc(String qfjgGajgmc) {
this.qfjgGajgmc = qfjgGajgmc;
}
@Basic
@Column(name = "YXQQSRQ")
public String getYxqqsrq() {
return yxqqsrq;
}
public void setYxqqsrq(String yxqqsrq) {
this.yxqqsrq = yxqqsrq;
}
@Basic
@Column(name = "YXQJZRQ")
public String getYxqjzrq() {
return yxqjzrq;
}
public void setYxqjzrq(String yxqjzrq) {
this.yxqjzrq = yxqjzrq;
}
@Basic
@Column(name = "JMSFZSLYYDM")
public String getJmsfzslyydm() {
return jmsfzslyydm;
}
public void setJmsfzslyydm(String jmsfzslyydm) {
this.jmsfzslyydm = jmsfzslyydm;
}
@Basic
@Column(name = "JMSFZZZLXDM")
public String getJmsfzzzlxdm() {
return jmsfzzzlxdm;
}
public void setJmsfzzzlxdm(String jmsfzzzlxdm) {
this.jmsfzzzlxdm = jmsfzzzlxdm;
}
@Basic
@Column(name = "JMSFZLZFSDM")
public String getJmsfzlzfsdm() {
return jmsfzlzfsdm;
}
public void setJmsfzlzfsdm(String jmsfzlzfsdm) {
this.jmsfzlzfsdm = jmsfzlzfsdm;
}
@Basic
@Column(name = "SJR_XM")
public String getSjrXm() {
return sjrXm;
}
public void setSjrXm(String sjrXm) {
this.sjrXm = sjrXm;
}
@Basic
@Column(name = "SJR_LXDH")
public String getSjrLxdh() {
return sjrLxdh;
}
public void setSjrLxdh(String sjrLxdh) {
this.sjrLxdh = sjrLxdh;
}
@Basic
@Column(name = "SJR_YZBM")
public String getSjrYzbm() {
return sjrYzbm;
}
public void setSjrYzbm(String sjrYzbm) {
this.sjrYzbm = sjrYzbm;
}
@Basic
@Column(name = "SJR_TXDZ")
public String getSjrTxdz() {
return sjrTxdz;
}
public void setSjrTxdz(String sjrTxdz) {
this.sjrTxdz = sjrTxdz;
}
@Basic
@Column(name = "SID")
public String getSid() {
return sid;
}
public void setSid(String sid) {
this.sid = sid;
}
@Basic
@Column(name = "FILE_NAME")
public String getFile_name() {
return file_name;
}
public void setFile_name(String file_name) {
this.file_name = file_name;
}
@Basic
@Column(name = "IS_POST")
public Long getIsPost() {
return isPost;
}
public void setIsPost(Long isPost) {
this.isPost = isPost;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PreproPersonEntity that = (PreproPersonEntity) o;
return Objects.equals(jmsfzslh, that.jmsfzslh) &&
Objects.equals(gmsfhm, that.gmsfhm) &&
Objects.equals(xm, that.xm) &&
Objects.equals(xbdm, that.xbdm) &&
Objects.equals(mzdm, that.mzdm) &&
Objects.equals(csrq, that.csrq) &&
Objects.equals(ssxqdm, that.ssxqdm) &&
Objects.equals(dzmc, that.dzmc) &&
Objects.equals(sdxp, that.sdxp) &&
Objects.equals(zwyZwtxsj, that.zwyZwtxsj) &&
Objects.equals(zwyZwtzsj, that.zwyZwtzsj) &&
Objects.equals(zweZwtxsj, that.zweZwtxsj) &&
Objects.equals(zweZwtzsj, that.zweZwtzsj) &&
Objects.equals(qfjgGajgmc, that.qfjgGajgmc) &&
Objects.equals(yxqqsrq, that.yxqqsrq) &&
Objects.equals(yxqjzrq, that.yxqjzrq) &&
Objects.equals(jmsfzslyydm, that.jmsfzslyydm) &&
Objects.equals(jmsfzzzlxdm, that.jmsfzzzlxdm) &&
Objects.equals(jmsfzlzfsdm, that.jmsfzlzfsdm) &&
Objects.equals(sjrXm, that.sjrXm) &&
Objects.equals(sjrLxdh, that.sjrLxdh) &&
Objects.equals(sjrYzbm, that.sjrYzbm) &&
Objects.equals(sjrTxdz, that.sjrTxdz) &&
Objects.equals(sid, that.sid) &&
Objects.equals(file_name, that.file_name) &&
Objects.equals(isPost, that.isPost);
}
@Override
public int hashCode() {
return Objects.hash(jmsfzslh, gmsfhm, xm, xbdm, mzdm, csrq, ssxqdm, dzmc, sdxp, zwyZwtxsj, zwyZwtzsj, zweZwtxsj, zweZwtzsj, qfjgGajgmc, yxqqsrq, yxqjzrq, jmsfzslyydm, jmsfzzzlxdm, jmsfzlzfsdm, sjrXm, sjrLxdh, sjrYzbm, sjrTxdz, sid,file_name, isPost);
}
}
package com.yxproject.start.entity.Preprocess;
import javax.persistence.*;
import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/2/18 15:17
*/
@Entity
@Table(name = "REDO_REGISTRATION", schema = "PREPROCESS", catalog = "")
public class RedoRegistrationEntity {
private String redoRegistrationId;
private String submitDate;
private String countyCode;
private String policeCode;
private String name;
private String cardId;
private String redoReason;
private String callDate;
private String backDate;
private String note;
@Id
@Column(name = "REDO_REGISTRATION_ID")
public String getRedoRegistrationId() {
return redoRegistrationId;
}
public void setRedoRegistrationId(String redoRegistrationId) {
this.redoRegistrationId = redoRegistrationId;
}
@Basic
@Column(name = "SUBMIT_DATE")
public String getSubmitDate() {
return submitDate;
}
public void setSubmitDate(String submitDate) {
this.submitDate = submitDate;
}
@Basic
@Column(name = "NAME")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "CARD_ID")
public String getCardId() {
return cardId;
}
public void setCardId(String cardId) {
this.cardId = cardId;
}
@Basic
@Column(name = "REDO_REASON")
public String getRedoReason() {
return redoReason;
}
public void setRedoReason(String redoReason) {
this.redoReason = redoReason;
}
@Basic
@Column(name = "CALL_DATE")
public String getCallDate() {
return callDate;
}
public void setCallDate(String callDate) {
this.callDate = callDate;
}
@Basic
@Column(name = "BACK_DATE")
public String getBackDate() {
return backDate;
}
public void setBackDate(String backDate) {
this.backDate = backDate;
}
@Basic
@Column(name = "COUNTY_CODE")
public String getCountyCode() {
return countyCode;
}
public void setCountyCode(String countyCode) {
this.countyCode = countyCode;
}
@Basic
@Column(name = "POLICE_CODE")
public String getPoliceCode() {
return policeCode;
}
public void setPoliceCode(String policeCode) {
this.policeCode = policeCode;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
RedoRegistrationEntity that = (RedoRegistrationEntity) o;
return Objects.equals(redoRegistrationId, that.redoRegistrationId) &&
Objects.equals(submitDate, that.submitDate) &&
Objects.equals(name, that.name) &&
Objects.equals(cardId, that.cardId) &&
Objects.equals(redoReason, that.redoReason) &&
Objects.equals(callDate, that.callDate) &&
Objects.equals(backDate, that.backDate) &&
Objects.equals(countyCode, that.countyCode) &&
Objects.equals(policeCode, that.policeCode) &&
Objects.equals(note, that.note);
}
@Override
public int hashCode() {
return Objects.hash(redoRegistrationId,countyCode,policeCode, submitDate, name, cardId, redoReason, callDate, backDate, note);
}
}
package com.yxproject.start.entity.Preprocess;
import javax.persistence.*;
import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/2/18 15:17
*/
@Entity
@Table(name = "TEMPORARY_CERTIFICATE", schema = "PREPROCESS", catalog = "")
public class TemporaryCertificateEntity {
private String temporaryCertificateId;
private String name;
private String cardId;
private String phone;
private String lastDurationOfStatus;
private String receiptDate;
private String dateOfHandOverToTreat;
private String backWorkshopDate;
private String deliverToParty;
private String note;
@Id
@Column(name = "TEMPORARY_CERTIFICATE_ID")
public String getTemporaryCertificateId() {
return temporaryCertificateId;
}
public void setTemporaryCertificateId(String temporaryCertificateId) {
this.temporaryCertificateId = temporaryCertificateId;
}
@Basic
@Column(name = "NAME")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "CARD_ID")
public String getCardId() {
return cardId;
}
public void setCardId(String cardId) {
this.cardId = cardId;
}
@Basic
@Column(name = "PHONE")
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
@Basic
@Column(name = "LAST_DURATION_OF_STATUS")
public String getLastDurationOfStatus() {
return lastDurationOfStatus;
}
public void setLastDurationOfStatus(String lastDurationOfStatus) {
this.lastDurationOfStatus = lastDurationOfStatus;
}
@Basic
@Column(name = "RECEIPT_DATE")
public String getReceiptDate() {
return receiptDate;
}
public void setReceiptDate(String receiptDate) {
this.receiptDate = receiptDate;
}
@Basic
@Column(name = "DATE_OF_HAND_OVER_TO_TREAT")
public String getDateOfHandOverToTreat() {
return dateOfHandOverToTreat;
}
public void setDateOfHandOverToTreat(String dateOfHandOverToTreat) {
this.dateOfHandOverToTreat = dateOfHandOverToTreat;
}
@Basic
@Column(name = "BACK_WORKSHOP_DATE")
public String getBackWorkshopDate() {
return backWorkshopDate;
}
public void setBackWorkshopDate(String backWorkshopDate) {
this.backWorkshopDate = backWorkshopDate;
}
@Basic
@Column(name = "DELIVER_TO_PARTY")
public String getDeliverToParty() {
return deliverToParty;
}
public void setDeliverToParty(String deliverToParty) {
this.deliverToParty = deliverToParty;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TemporaryCertificateEntity that = (TemporaryCertificateEntity) o;
return Objects.equals(temporaryCertificateId, that.temporaryCertificateId) &&
Objects.equals(name, that.name) &&
Objects.equals(cardId, that.cardId) &&
Objects.equals(phone, that.phone) &&
Objects.equals(lastDurationOfStatus, that.lastDurationOfStatus) &&
Objects.equals(receiptDate, that.receiptDate) &&
Objects.equals(dateOfHandOverToTreat, that.dateOfHandOverToTreat) &&
Objects.equals(backWorkshopDate, that.backWorkshopDate) &&
Objects.equals(deliverToParty, that.deliverToParty) &&
Objects.equals(note, that.note);
}
@Override
public int hashCode() {
return Objects.hash(temporaryCertificateId, name, cardId, phone, lastDurationOfStatus, receiptDate, dateOfHandOverToTreat, backWorkshopDate, deliverToParty, note);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "PRINTER_DIC", schema = "AUXILIARY", catalog = "")
public class PrinterDicEntity {
private long printerId;
private String printerName;
@Id
@Column(name = "PRINTER_ID")
public long getPrinterId() {
return printerId;
}
public void setPrinterId(long printerId) {
this.printerId = printerId;
}
@Basic
@Column(name = "PRINTER_NAME")
public String getPrinterName() {
return printerName;
}
public void setPrinterName(String printerName) {
this.printerName = printerName;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PrinterDicEntity that = (PrinterDicEntity) o;
if (printerId != that.printerId) return false;
if (printerName != null ? !printerName.equals(that.printerName) : that.printerName != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (printerId ^ (printerId >>> 32));
result = 31 * result + (printerName != null ? printerName.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
@Entity
@Table(name = "SPECIAL_CARD", schema = "AUXILIARY", catalog = "")
public class SpecialCardEntity {
private long specialCardId;
private String acceptNo;
private long taskId;
private long specialType;
private String groupNo;
@Id
@Column(name = "SPECIAL_CARD_ID")
public long getSpecialCardId() {
return specialCardId;
}
public void setSpecialCardId(long specialCardId) {
this.specialCardId = specialCardId;
}
@Basic
@Column(name = "ACCEPT_NO")
public String getAcceptNo() {
return acceptNo;
}
public void setAcceptNo(String acceptNo) {
this.acceptNo = acceptNo;
}
@Basic
@Column(name = "TASK_ID")
public long getTaskId() {
return taskId;
}
public void setTaskId(long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "SPECIAL_TYPE")
public long getSpecialType() {
return specialType;
}
public void setSpecialType(long specialType) {
this.specialType = specialType;
}
@Basic
@Column(name = "GROUP_NO")
public String getGroupNo() {
return groupNo;
}
public void setGroupNo(String groupNo) {
this.groupNo = groupNo;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SpecialCardEntity that = (SpecialCardEntity) o;
if (specialCardId != that.specialCardId) return false;
if (taskId != that.taskId) return false;
if (specialType != that.specialType) return false;
if (acceptNo != null ? !acceptNo.equals(that.acceptNo) : that.acceptNo != null) return false;
if (groupNo != null ? !groupNo.equals(that.groupNo) : that.groupNo != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (specialCardId ^ (specialCardId >>> 32));
result = 31 * result + (acceptNo != null ? acceptNo.hashCode() : 0);
result = 31 * result + (int) (taskId ^ (taskId >>> 32));
result = 31 * result + (int) (specialType ^ (specialType >>> 32));
result = 31 * result + (groupNo != null ? groupNo.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
/**
* @author liboyang
*/
@Entity
@Table(name="SYS_PERMISSION")
public class SysPermission implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
/**
* 主键.
*/
private Integer id;
/**
* 名称.
*/
private String name;
/**
* 资源类型
*/
private String resource_type;
/**
* 资源路径.
*/
private String url;
/**
* 权限字符串,menu例子:role:*,button例子:role:create,role:update,role:delete,role:view
*/
private String permission;
/**
* 父编号
*/
private Long parent_id;
/**
* 父编号列表
*/
private String parent_ids;
private byte available = 0;
@ManyToMany
@JoinTable(name="SysRolePermission",joinColumns={@JoinColumn(name="permissionId")},inverseJoinColumns={@JoinColumn(name="roleId")})
private List<SysRole> roles;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getResource_type() {
return resource_type;
}
public void setResource_type(String resource_type) {
this.resource_type = resource_type;
}
public String getParent_ids() {
return parent_ids;
}
public void setParent_ids(String parent_ids) {
this.parent_ids = parent_ids;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public String getPermission() {
return permission;
}
public void setPermission(String permission) {
this.permission = permission;
}
public Long getParent_id() {
return parent_id;
}
public void setParent_id(Long parent_id) {
this.parent_id = parent_id;
}
public byte getAvailable() {
return available;
}
public void setAvailable(byte available) {
this.available = available;
}
public List<SysRole> getRoles() {
return roles;
}
public void setRoles(List<SysRole> roles) {
this.roles = roles;
}
}
\ No newline at end of file
package com.yxproject.start.entity;
import javax.persistence.*;
import java.util.List;
/**
* @author liboyang
*/
@Entity
@Table(name="SYS_ROLE")
public class SysRole {
@Id
@GeneratedValue
/**
* 编号
*/
private Integer id;
/**
* 角色标识程序中判断使用,如"admin",这个是唯一的:
*/
private String role;
/**
* 角色描述,UI界面显示使用
*/
private String description;
/**
* 是否可用,如果不可用将不会添加给用户
*/
private byte available = 0;
/**
* 角色 -- 权限关系:多对多关系;
*/
@ManyToMany(fetch= FetchType.EAGER)
@JoinTable(name="SysRolePermission",joinColumns={@JoinColumn(name="roleId")},inverseJoinColumns={@JoinColumn(name="permissionId")})
private List<SysPermission> permissions;
/**
* 用户 - 角色关系定义;
*/
@ManyToMany
@JoinTable(name="SysUserRole",joinColumns={@JoinColumn(name="roleId")},inverseJoinColumns={@JoinColumn(name="userId")})
/**
* 一个角色对应多个用户
*/
private List<UserInfo> userInfos;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getRole() {
return role;
}
public void setRole(String role) {
this.role = role;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public byte getAvailable() {
return available;
}
public void setAvailable(byte available) {
this.available = available;
}
public List<SysPermission> getPermissions() {
return permissions;
}
public void setPermissions(List<SysPermission> permissions) {
this.permissions = permissions;
}
public List<UserInfo> getUserInfos() {
return userInfos;
}
public void setUserInfos(List<UserInfo> userInfos) {
this.userInfos = userInfos;
}
}
\ No newline at end of file
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
@Entity
@Table(name = "TASK", schema = "AUXILIARY", catalog = "")
public class TaskEntity {
private long taskId;
private long cardType;
private Long oldCardType;
private String countyCode;
private Time submitDate;
private Time issuedDate;
private Long printState;
private Time downloadDate;
private Time printOutDate;
private Time positionDate;
private Time outWorkshopDate;
private String qualityPeopleName;
private Time qualityTestDate;
private String exceptionInformation;
private Time outStorageDate;
private Time inStorageDate;
private Long taskStateId;
private Long isException;
private Long printerId;
@Id
@Column(name = "TASK_ID")
public long getTaskId() {
return taskId;
}
public void setTaskId(long taskId) {
this.taskId = taskId;
}
@Basic
@Column(name = "CARD_TYPE")
public long getCardType() {
return cardType;
}
public void setCardType(long cardType) {
this.cardType = cardType;
}
@Basic
@Column(name = "OLD_CARD_TYPE")
public Long getOldCardType() {
return oldCardType;
}
public void setOldCardType(Long oldCardType) {
this.oldCardType = oldCardType;
}
@Basic
@Column(name = "COUNTY_CODE")
public String getCountyCode() {
return countyCode;
}
public void setCountyCode(String countyCode) {
this.countyCode = countyCode;
}
@Basic
@Column(name = "SUBMIT_DATE")
public Time getSubmitDate() {
return submitDate;
}
public void setSubmitDate(Time submitDate) {
this.submitDate = submitDate;
}
@Basic
@Column(name = "ISSUED_DATE")
public Time getIssuedDate() {
return issuedDate;
}
public void setIssuedDate(Time issuedDate) {
this.issuedDate = issuedDate;
}
@Basic
@Column(name = "PRINT_STATE")
public Long getPrintState() {
return printState;
}
public void setPrintState(Long printState) {
this.printState = printState;
}
@Basic
@Column(name = "DOWNLOAD_DATE")
public Time getDownloadDate() {
return downloadDate;
}
public void setDownloadDate(Time downloadDate) {
this.downloadDate = downloadDate;
}
@Basic
@Column(name = "PRINT_OUT_DATE")
public Time getPrintOutDate() {
return printOutDate;
}
public void setPrintOutDate(Time printOutDate) {
this.printOutDate = printOutDate;
}
@Basic
@Column(name = "POSITION_DATE")
public Time getPositionDate() {
return positionDate;
}
public void setPositionDate(Time positionDate) {
this.positionDate = positionDate;
}
@Basic
@Column(name = "OUT_WORKSHOP_DATE")
public Time getOutWorkshopDate() {
return outWorkshopDate;
}
public void setOutWorkshopDate(Time outWorkshopDate) {
this.outWorkshopDate = outWorkshopDate;
}
@Basic
@Column(name = "QUALITY_PEOPLE_NAME")
public String getQualityPeopleName() {
return qualityPeopleName;
}
public void setQualityPeopleName(String qualityPeopleName) {
this.qualityPeopleName = qualityPeopleName;
}
@Basic
@Column(name = "QUALITY_TEST_DATE")
public Time getQualityTestDate() {
return qualityTestDate;
}
public void setQualityTestDate(Time qualityTestDate) {
this.qualityTestDate = qualityTestDate;
}
@Basic
@Column(name = "EXCEPTION_INFORMATION")
public String getExceptionInformation() {
return exceptionInformation;
}
public void setExceptionInformation(String exceptionInformation) {
this.exceptionInformation = exceptionInformation;
}
@Basic
@Column(name = "OUT_STORAGE_DATE")
public Time getOutStorageDate() {
return outStorageDate;
}
public void setOutStorageDate(Time outStorageDate) {
this.outStorageDate = outStorageDate;
}
@Basic
@Column(name = "IN_STORAGE_DATE")
public Time getInStorageDate() {
return inStorageDate;
}
public void setInStorageDate(Time inStorageDate) {
this.inStorageDate = inStorageDate;
}
@Basic
@Column(name = "TASK_STATE_ID")
public Long getTaskStateId() {
return taskStateId;
}
public void setTaskStateId(Long taskStateId) {
this.taskStateId = taskStateId;
}
@Basic
@Column(name = "IS_EXCEPTION")
public Long getIsException() {
return isException;
}
public void setIsException(Long isException) {
this.isException = isException;
}
@Basic
@Column(name = "PRINTER_ID")
public Long getPrinterId() {
return printerId;
}
public void setPrinterId(Long printerId) {
this.printerId = printerId;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TaskEntity that = (TaskEntity) o;
if (taskId != that.taskId) return false;
if (cardType != that.cardType) return false;
if (oldCardType != null ? !oldCardType.equals(that.oldCardType) : that.oldCardType != null) return false;
if (countyCode != null ? !countyCode.equals(that.countyCode) : that.countyCode != null) return false;
if (submitDate != null ? !submitDate.equals(that.submitDate) : that.submitDate != null) return false;
if (issuedDate != null ? !issuedDate.equals(that.issuedDate) : that.issuedDate != null) return false;
if (printState != null ? !printState.equals(that.printState) : that.printState != null) return false;
if (downloadDate != null ? !downloadDate.equals(that.downloadDate) : that.downloadDate != null) return false;
if (printOutDate != null ? !printOutDate.equals(that.printOutDate) : that.printOutDate != null) return false;
if (positionDate != null ? !positionDate.equals(that.positionDate) : that.positionDate != null) return false;
if (outWorkshopDate != null ? !outWorkshopDate.equals(that.outWorkshopDate) : that.outWorkshopDate != null)
return false;
if (qualityPeopleName != null ? !qualityPeopleName.equals(that.qualityPeopleName) : that.qualityPeopleName != null)
return false;
if (qualityTestDate != null ? !qualityTestDate.equals(that.qualityTestDate) : that.qualityTestDate != null)
return false;
if (exceptionInformation != null ? !exceptionInformation.equals(that.exceptionInformation) : that.exceptionInformation != null)
return false;
if (outStorageDate != null ? !outStorageDate.equals(that.outStorageDate) : that.outStorageDate != null)
return false;
if (inStorageDate != null ? !inStorageDate.equals(that.inStorageDate) : that.inStorageDate != null)
return false;
if (taskStateId != null ? !taskStateId.equals(that.taskStateId) : that.taskStateId != null) return false;
if (isException != null ? !isException.equals(that.isException) : that.isException != null) return false;
if (printerId != null ? !printerId.equals(that.printerId) : that.printerId != null) return false;
return true;
}
@Override
public int hashCode() {
int result = (int) (taskId ^ (taskId >>> 32));
result = 31 * result + (int) (cardType ^ (cardType >>> 32));
result = 31 * result + (oldCardType != null ? oldCardType.hashCode() : 0);
result = 31 * result + (countyCode != null ? countyCode.hashCode() : 0);
result = 31 * result + (submitDate != null ? submitDate.hashCode() : 0);
result = 31 * result + (issuedDate != null ? issuedDate.hashCode() : 0);
result = 31 * result + (printState != null ? printState.hashCode() : 0);
result = 31 * result + (downloadDate != null ? downloadDate.hashCode() : 0);
result = 31 * result + (printOutDate != null ? printOutDate.hashCode() : 0);
result = 31 * result + (positionDate != null ? positionDate.hashCode() : 0);
result = 31 * result + (outWorkshopDate != null ? outWorkshopDate.hashCode() : 0);
result = 31 * result + (qualityPeopleName != null ? qualityPeopleName.hashCode() : 0);
result = 31 * result + (qualityTestDate != null ? qualityTestDate.hashCode() : 0);
result = 31 * result + (exceptionInformation != null ? exceptionInformation.hashCode() : 0);
result = 31 * result + (outStorageDate != null ? outStorageDate.hashCode() : 0);
result = 31 * result + (inStorageDate != null ? inStorageDate.hashCode() : 0);
result = 31 * result + (taskStateId != null ? taskStateId.hashCode() : 0);
result = 31 * result + (isException != null ? isException.hashCode() : 0);
result = 31 * result + (printerId != null ? printerId.hashCode() : 0);
return result;
}
}
package com.yxproject.start.entity.TaskList;
public class CountCountyEntity {
private String countyName;
private Integer countyCount;
private String countyCode;
public String getCountyCode() {
return countyCode;
}
public void setCountyCode(String countyCode) {
this.countyCode = countyCode;
}
public String getCountyName() {
return countyName;
}
public void setCountyName(String countyName) {
this.countyName = countyName;
}
public Integer getCountyCount() {
return countyCount;
}
public void setCountyCount(Integer countyCount) {
this.countyCount = countyCount;
}
}
package com.yxproject.start.entity.TaskList;
public class CountGajgEntity {
private String gajgName;
private Integer gajgCount;
private String gajgDm;
public String getGajgDm() {
return gajgDm;
}
public void setGajgDm(String gajgDm) {
this.gajgDm = gajgDm;
}
public String getGajgName() {
return gajgName;
}
public void setGajgName(String gajgName) {
this.gajgName = gajgName;
}
public Integer getGajgCount() {
return gajgCount;
}
public void setGajgCount(Integer gajgCount) {
this.gajgCount = gajgCount;
}
}
......@@ -3,8 +3,6 @@ package com.yxproject.start.entity.TaskList;
public class TaskListEntity {
private String countyName;
private String gajgName;
private Integer countyCount;
private Integer gajgCount;
private String groupNo;
public String getGroupNo() {
......@@ -31,19 +29,5 @@ public class TaskListEntity {
this.gajgName = gajgName;
}
public Integer getCountyCount() {
return countyCount;
}
public void setCountyCount(Integer countyCount) {
this.countyCount = countyCount;
}
public Integer getGajgCount() {
return gajgCount;
}
public void setGajgCount(Integer gajgCount) {
this.gajgCount = gajgCount;
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.io.Serializable;
import java.util.List;
/**
* @author liboyang
*/
@Entity
@Table(name="USER_INFO")
public class UserInfo implements Serializable {
@Id
@GeneratedValue
private Integer id;
@Column(unique =true)
private String username;
private String name;
private String password;
private String salt;
private byte state;
@ManyToMany(fetch= FetchType.EAGER)
@JoinTable(name = "SysUserRole", joinColumns = { @JoinColumn(name = "userId") }, inverseJoinColumns ={@JoinColumn(name = "roleId") })
private List<SysRole> roleList;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getSalt() {
return salt;
}
public void setSalt(String salt) {
this.salt = salt;
}
public byte getState() {
return state;
}
public void setState(byte state) {
this.state = state;
}
public List<SysRole> getRoleList() {
return roleList;
}
public void setRoleList(List<SysRole> roleList) {
this.roleList = roleList;
}
}
\ No newline at end of file
package com.yxproject.start.mapper;
/**
* 废证
* @param
* @return
*/
public interface CrippledCardMapper {
}
package com.yxproject.start.mapper;
/**
* 退证
*/
public interface ExitCardMapper {
}
package com.yxproject.start.mapper;
/**
* 快证
*/
public interface FastCardMapper {
}
package com.yxproject.start.mapper;
/**
* 交接单
*/
public interface HandoverSheetMapper {
}
package com.yxproject.start.mapper;
/**
* 余证mapper
*/
public interface NeedlessCredMapper {
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.Preprocess.PersonPostAbnormalEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
* @auther zhangyusheng
* 2019/2/13 9:07
*/
@Mapper
public interface PersonPostAbnormalMapper {
/**
* 查询某天的邮寄信息错误
* @return
*/
@Select("select * from PERSON_POST_ABNORMAL where CHECK_DATE = #{date} ")
public List<PersonPostAbnormalEntity> selectAllPersonPostAbnormalEntity(String date);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.Preprocess.PersonPostEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
/**
* @auther zhangyusheng
* 2019/2/19 15:00
*/
@Mapper
public interface PersonPostMapper {
@Update("update PERSON_POST set WAYBILL_NUMBER=#{waybillNumber},BACK_WAYBILL_NUMBER=#{backWaybillNumber},ORDER_NUMBER=#{orderNumber},CREATE_DATE=#{createDate},OPENID=#{openid},WC_PLAY_ORDER_NUMBER=#{wcPlayOrderNumber},PLAY_STATE=#{playState},ORDER_STATE=#{orderState},,APPLICANT_NAME=#{applicantName},SENDER_NAME=#{senderName},SENDER_PHONE=#{senderPhone},SENDER_ADDRESS=#{senderAddress},RECIPIENT_NAME=#{recipientName},RECIPIENT_PHONE=#{recipientPhone},RECIPIENT_ADDRESS=#{recipientAddress},ORDER_BLANK_NUMBER=#{orderBlankNumber},GET_TO_PROVINCE=#{getToProvince},GET_TO_CITY=#{getToCity},GET_TO_COUNTY=#{getToCounty},BUSINESS_TYPE=#{businessType},LATTICE_MOUTH_INFORMATION=#{latticeMouthInformation},NATURE_OF_THE_INTERNAL=#{natureOfTheInternal},NATURE_OF_THE_INFORMATION=#{natureOfTheInformation},FIRST_WHITE=#{firstWhite}")
public boolean updatePersonPost(PersonPostEntity personPostEntity);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.Preprocess.PersonalProgressStatusEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
* @auther zhangyusheng
* 2019/2/14 10:33
*/
@Mapper
public interface PersonalProgressStatusMapper {
/**
* 查询某天的个人制证状态信息
* @return
*/
@Select("select * from PERSONAL_PROGRESS_STATUS where to_char(SIGN_IN_DATE,'yyyyMMdd') = #{date} or SIGN_IN_DATE is null ")
public List<PersonalProgressStatusEntity> selectAllPersonalProgressStatusEntity(String date);
}
package com.yxproject.start.mapper;
import com.yxproject.start.dto.PoliceApplyCountDto;
import com.yxproject.start.entity.PoliceStationApplyReasonEntity;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
......
package com.yxproject.start.mapper;
import com.yxproject.start.entity.Preprocess.PreproPersonEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
/**
* Created by Administrator on 2019/2/15.
*/
@Mapper
public interface PreproPersonMapper {
/*导入XMl*/
@Update("UPDATE PREPRO_PERSON SET JMSFZSLH=#{jmsfzslh},GMSFHM=#{gmsfhm},XM=#{xm},XBDM=#{xbdm},MZDM=#{mzdm},CSRQ=#{csrq},SSXQDM=#{ssxqdm},DZMC=#{dzmc},SDXP=#{sdxp},ZWY_ZWTXSJ=#{zwyZwtxsj},ZWY_ZWTZSJ=#{zwyZwtzsj},ZWE_ZWTXSJ=#{zweZwtxsj},ZWE_ZWTZSJ=#{zweZwtzsj},QFJG_GAJGMC=#{qfjgGajgmc},YXQQSRQ=#{yxqqsrq},YXQJZRQ=#{yxqjzrq},JMSFZSLYYDM=#{jmsfzslyydm},JMSFZZZLXDM=#{jmsfzzzlxdm},JMSFZLZFSDM=#{jmsfzlzfsdm},SJR_XM=#{sjrXm},SJR_LXDH=#{sjrLxdh},SJR_YZBM=#{sjrYzbm},SJR_TXDZ=#{sjrTxdz},SID=#{sid},FILE_NAME=#{fileName} where JMSFZSLH=#{jmsfzslh}")
public boolean savePreproPersonEntity(PreproPersonEntity personEntity);
/*更新制证数据是否邮寄*/
@Update("UPDATE PREPRO_PERSON SET IS_POST=#{isPost} where JMSFZSLH=#{jmsfzslh}")
public boolean updatePreproPersonEntity(PreproPersonEntity personEntity);
}
package com.yxproject.start.mapper;
/**
* 查询证件信息
*/
public interface QueryCardMapper {
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.Preprocess.RedoRegistrationEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.List;
/**
* @auther zhangyusheng
* 2019/2/14 11:36
*/
@Mapper
public interface RedoRegistrationMapper {
/**
* 查询某天的重做登记信息
* @return
*/
@Select("select * from REDO_REGISTRATION where BACK_DATE = #{date} or BACK_DATE is null")
public List<RedoRegistrationEntity> selectAllRedoRegistrationEntity(String date);
@Update("update REDO_REGISTRATION set REDO_REGISTRATION_ID=#{redoRegistrationId},SUBMIT_DATE=#{submitDate},COUNTY_CODE=#{countyCode},POLICE_CODE=#{countyCode},POLICE_CODE=#{policeCode},NAME=#{name},CARD_ID=#{cardId},REDO_REASON=#{redoReason},CALL_DATE=#{callDate},BACK_DATE=#{backDate},NOTE=#{note}")
public boolean updateRedoRegistration(RedoRegistrationEntity redoRegistration);
}
package com.yxproject.start.mapper;
/**
* 身份证详单
*/
public interface SaveCardDetailListMapper {
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.SysPermission;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.Map;
/**
* @author Administrator
......
package com.yxproject.start.mapper;
import com.yxproject.start.entity.SysRole;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;
import java.util.List;
......
package com.yxproject.start.mapper;
import com.yxproject.start.entity.TaskEntity;
import com.yxproject.start.entity.TaskList.TaskListEntity;
import com.yxproject.start.entity.TaskList.CountCountyEntity;
import com.yxproject.start.entity.TaskList.CountGajgEntity;
import org.apache.ibatis.annotations.*;
import java.util.List;
import java.util.Map;
/**
......@@ -11,42 +13,76 @@ import java.util.Map;
*/
@Mapper
public interface TaskListMapper {
/**
* 按区县查询受理库
* @param
* 区县计数查询
* @param submitDate
* @return
*/
@Select("SELECT act.ACCEPT_NO, agt.deal_flag, gajg.gajg_mc, coun.COUNTYNAME\n" +
" FROM ACC_CARD_T@ACCU_DBLINK act \n"+
" LEFT JOIN ACC_GROUP_T@ACCU_DBLINK agt on substr(act.accept_no,0,8) = agt.group_no \n" +
" LEFT JOIN AUXILIARY.COUNTY_DIC coun on substr(act.upload_no,0,6) = AUXILIARY.coun.county_code\n" +
" WHERE agt.group_no not in (select AUXILIARY.GROUP_NO.group_no from AUXILIARY.GROUP_NO) and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate}")
public Map<Object,TaskListEntity> selectByCounty(@Param("submitDate") String submitDate);
@Select(" SELECT coun.COUNTYNAME,substr(act.upload_no,0,6),count(*) as count FROM ACC_CARD_T@ACCU_DBLINK act ,count()" +
" LEFT JOIN ACC_GROUP_T@ACCU_DBLINK agt on substr(act.accept_no,0,8) = agt.group_no " +
" LEFT JOIN AUXILIARY.COUNTY_DIC coun on substr(act.upload_no,0,6) = AUXILIARY.coun.county_code " +
" WHERE agt.group_no not in (select AUXILIARY.GROUP_NO.group_no from AUXILIARY.GROUP_NO) " +
" and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate} " +
" GROUP by coun.COUNTYNAME,substr(act.upload_no,0,6);")
public List<CountCountyEntity> selectByCounty(@Param("submitDate") String submitDate);
/**
* 派出所计数查询
* @param submitDate
* @param countyCount
* @return
*/
@Select("SELECT gajg.gajg_mc,substr(act.upload_no,0,9),count(*) as gajg\n" +
" FROM ACC_CARD_T@ACCU_DBLINK act \n" +
" LEFT JOIN ACC_GROUP_T@ACCU_DBLINK agt on substr(act.accept_no,0,8) = agt.group_no \n" +
" LEFT JOIN AUXILIARY.GAJG_DM gajg on substr(act.upload_no,0,9) = AUXILIARY.gajg.gajg_dm\n" +
" WHERE agt.group_no not in (select AUXILIARY.GROUP_NO.group_no from AUXILIARY.GROUP_NO) \n" +
" and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate} \n" +
" and substr(act.upload_no,0,6) = #{countyCode}\n" +
" GROUP by gajg.GAJG_MC,substr(act.upload_no,0,9);")
public List<CountGajgEntity> selectByGajg(@Param("submitDate") String submitDate,@Param("countyCode") String countyCount);
/**
* 按派出所查询受理库
*按时间、区、派出所查询受理库数据
* @param submitDate
* @param countyCode
* @param Gajg
* @return
*/
@Select("SELECT act.ACCEPT_NO, agt.deal_flag, gajg.gajg_mc, coun.COUNTYNAME\n" +
@Select("SELECT act.ACCEPT_NO, agt.deal_flag, gajg.gajg_mc, gajg.gajg_dm, coun.COUNTYNAME,agt.group_no\n" +
" FROM ACC_CARD_T@ACCU_DBLINK act \n"+
" LEFT JOIN AUXILIARY.COUNTY_DIC coun on substr(act.upload_no,0,6) = AUXILIARY.coun.county_code " +
" LEFT JOIN ACC_GROUP_T@ACCU_DBLINK agt on substr(act.accept_no,0,8) = agt.group_no \n" +
" LEFT JOIN AUXILIARY.GAJG_MC gajg on substr(act.upload_no,0,9) = AUXILIARY.gajg.gajg_dm\n"+
" WHERE agt.group_no not in (select AUXILIARY.GROUP_NO.group_no from AUXILIARY.GROUP_NO) and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate}")
public Map<Object,TaskListEntity> selectByGajg(@Param("submitDate") String submitDate);
" WHERE agt.group_no not in (select AUXILIARY.GROUP_NO.group_no from AUXILIARY.GROUP_NO) " +
" and to_char(IMPORT_TIME,'yyyymmdd') = #{submitDate} " +
" and gajg.gajg_dm = #{Gajg} " +
" and coun.county_code = #{countyCode}")
public List<TaskListEntity> selectACCU(@Param("submitDate") String submitDate,@Param("countyCode") String countyCode,@Param("Gajg_dm") String Gajg);
/**
* 生成任务单
* @param taskListEntityMap
* @return
*/
@Insert("INSERT INTO TASK (CARD_TYPE,OLD_CARD_TYPE,COUNTY_CODE,TASK_STATE_ID)VALUES(1,1,#{countyCode}),0")
public boolean createTaskList(TaskEntity taskEntity);
public boolean createTaskList(List<TaskListEntity> taskListEntityMap);
/**
*下发任务单
* @param taskId
* @return
*/
@Update("UPDATE TASK SET TASK_STATE_ID=1 WHERE TASK_ID = #{taskId}")
@Update("UPDATE TASK SET TASK_STATE_ID=1 WHERE TASK_ID = #{taskId} ")
public boolean updateState(@Param("taskId") String taskId);
@Update("UPDATE TASK SET TASK_")
public boolean updateDate (@Param("unload_date")String unloadDate);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.Preprocess.TemporaryCertificateEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import java.util.List;
/**
* @auther zhangyusheng
* 2019/2/14 11:39
*/
@Mapper
public interface TemporaryCertificateMapper {
/**
* 查询某天的临时证件信息
* @return
*/
@Select("select * from TEMPORARY_CERTIFICATE where DELIVER_TO_PARTY = #{date} or DELIVER_TO_PARTY is null")
public List<TemporaryCertificateEntity> selectAllTemporaryCertificateEntity(String date);
/**
* 导入临时证件信息
* @param TemporaryCertificate
*/
@Update("update TEMPORARY_CERTIFICATE set TEMPORARY_CERTIFICATE_ID=#{temporaryCertificateId},NAME=#{name},CARD_ID=#{cardId},PHONE=#{phone},LAST_DURATION_OF_STATUS=#{lastDurationOfStatus},RECEIPT_DATE=#{receiptDate},DATE_OF_HAND_OVER_TO_TREAT=#{dateOfHandOverToTreat},BACK_WORKSHOP_DATE=#{backWorkshopDate},DELIVER_TO_PARTY=#{deliverToParty},NOTE=#{note}")
public boolean updateTemporaryCertificate(TemporaryCertificateEntity TemporaryCertificate);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.UserInfo;
import org.apache.ibatis.annotations.*;
import java.util.List;
......
package com.yxproject.start.service;
import com.yxproject.start.entity.Preprocess.PreproPersonEntity;
import java.util.List;
/**
* Created by Administrator on 2019/2/15.
*/
public interface ImportXmlService {
public boolean importPersonXml(List<PreproPersonEntity> preproPersonEntities);
}
package com.yxproject.start.service;
import com.yxproject.start.entity.SysPermission;
import java.util.List;
import java.util.Map;
public interface SysPermissionService {
......
package com.yxproject.start.service;
import com.yxproject.start.entity.SysRole;
import net.sf.json.JSONArray;
import java.util.List;
......
package com.yxproject.start.service;
import com.yxproject.start.entity.TaskEntity;
import com.yxproject.start.entity.TaskList.CountCountyEntity;
import com.yxproject.start.entity.TaskList.CountGajgEntity;
import com.yxproject.start.entity.TaskList.TaskListEntity;
import java.util.List;
import java.util.Map;
public interface TaskListService {
public Map<Object, TaskListEntity> selectByCounty(String submitDate);
public List<CountCountyEntity> selectByCounty(String submitDate);
public Map<Object, TaskListEntity> selectByGajg(String submitDate);
public List<CountGajgEntity> selectByGajg(String submitDate,String countyCode);
public boolean createTaskList(TaskEntity taskEntity);
public List<TaskListEntity> selectACCU(String submitDate,String countyCode,String Gajg);
public boolean createTaskList(List<TaskListEntity> resultMap);
public boolean updateState(String taskId);
}
package com.yxproject.start.service;
import com.yxproject.start.entity.UserInfo;
import java.util.List;
/**
......
package com.yxproject.start.service.impl;
import com.yxproject.start.entity.Preprocess.PreproPersonEntity;
import com.yxproject.start.mapper.PreproPersonMapper;
import com.yxproject.start.service.ImportXmlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* Created by Administrator on 2019/2/15.
*/
@Service
public class ImportXmlServiceImpl implements ImportXmlService {
@Autowired
private PreproPersonMapper preproPersonMapper;
@Override
public boolean importPersonXml(List<PreproPersonEntity> preproPersonEntities) {
boolean b = true;
for (PreproPersonEntity preproPersonEntity:preproPersonEntities){
b = preproPersonMapper.savePreproPersonEntity(preproPersonEntity);
}
return b;
}
}
package com.yxproject.start.service.impl;
import com.yxproject.start.dto.PoliceApplyCountDto;
import com.yxproject.start.entity.PoliceStationApplyReasonEntity;
import com.yxproject.start.mapper.PoliceStationApplyReasonMapper;
import com.yxproject.start.service.PoliceStationApplyReasonService;
import net.sf.json.JSONArray;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
import com.yxproject.start.dto.PoliceApplyCountDto;
import com.yxproject.start.mapper.PoliceStationApplyReasonMapper;
import com.yxproject.start.service.PoliceStationApplyReasonService;
import net.sf.json.JSONArray;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@Service
public class PoliceStationApplyReasonServiceImpl implements PoliceStationApplyReasonService{
public class PoliceStationApplyReasonServiceImpl implements PoliceStationApplyReasonService {
@Autowired
private PoliceStationApplyReasonMapper policeStationApplyReasonMapper;
@Override
@Transactional(rollbackFor=Exception.class)
@Transactional(rollbackFor = Exception.class)
public int getAndSavePoliceStationApplyReason(JSONArray taskIdArray) {
int count = 0;
for (Object object:taskIdArray){
for (Object object : taskIdArray) {
List<PoliceApplyCountDto> list = policeStationApplyReasonMapper.getPoliceStationApplyReason(object.toString());
System.out.println(object.toString());
System.out.println(list);
for(int i=0;i<list.size();i++){
int saveCount = policeStationApplyReasonMapper.savePoliceStationApplyReason(object.toString(),list.get(i).getPoliceStationCode(),list.get(i).getDrawType(),list.get(i).getApplyCount());
count+=saveCount;
for (int i = 0; i < list.size(); i++) {
int saveCount = policeStationApplyReasonMapper.savePoliceStationApplyReason(object.toString(), list.get(i).getPoliceStationCode(), list.get(i).getDrawType(), list.get(i).getApplyCount());
count += saveCount;
}
}
return count;
......
package com.yxproject.start.service.impl;
import com.yxproject.start.entity.SysPermission;
import com.yxproject.start.mapper.SysPermissionMapper;
import com.yxproject.start.service.SysPermissionService;
import org.springframework.beans.factory.annotation.Autowired;
......
package com.yxproject.start.service.impl;
import com.yxproject.start.entity.SysRole;
import com.yxproject.start.mapper.SysRoleMapper;
import com.yxproject.start.service.SysRoleService;
import net.sf.json.JSONArray;
......
package com.yxproject.start.service.impl;
import com.yxproject.start.entity.TaskEntity;
import com.yxproject.start.entity.TaskList.CountCountyEntity;
import com.yxproject.start.entity.TaskList.CountGajgEntity;
import com.yxproject.start.entity.TaskList.TaskListEntity;
import com.yxproject.start.mapper.TaskListMapper;
import com.yxproject.start.service.TaskListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
@Service
......@@ -15,20 +17,26 @@ public class TaskListServiceImpl implements TaskListService {
private TaskListMapper taskListMapper;
@Override
public Map<Object, TaskListEntity> selectByCounty(String submitDate) {
Map <Object,TaskListEntity> resultMap= taskListMapper.selectByCounty(submitDate);
public List<CountCountyEntity> selectByCounty(String submitDate) {
List <CountCountyEntity> resultMap= taskListMapper.selectByCounty(submitDate);
return resultMap;
}
@Override
public Map<Object, TaskListEntity> selectByGajg(String submitDate) {
Map <Object,TaskListEntity> resultMap= taskListMapper.selectByCounty(submitDate);
public List<CountGajgEntity> selectByGajg(String submitDate, String countyCode) {
List <CountGajgEntity> resultMap= taskListMapper.selectByGajg(submitDate,countyCode);
return resultMap;
}
@Override
public boolean createTaskList(TaskEntity taskEntity) {
taskListMapper.createTaskList(taskEntity);
public List<TaskListEntity> selectACCU(String submitDate ,String countyCode,String Gajg ) {
List <TaskListEntity> resultMap= taskListMapper.selectACCU(submitDate,countyCode,Gajg);
return resultMap;
}
@Override
public boolean createTaskList(List<TaskListEntity> resuleMap) {
taskListMapper.createTaskList(resuleMap);
return true;
}
......
package com.yxproject.start.service.impl;
import com.yxproject.start.entity.UserInfo;
import com.yxproject.start.mapper.SysRoleMapper;
import com.yxproject.start.mapper.UserInfoMapper;
import com.yxproject.start.service.UserInfoService;
......
package com.yxproject.start.utils;
import com.yxproject.start.entity.Preprocess.FilesEntity;
import com.yxproject.start.entity.Preprocess.PreproPersonEntity;
import org.dom4j.Document;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import java.io.IOException;
import java.util.List;
/**
* @auther zhangyusheng
* 2019/2/13 16:05
*/
public class ExportXml {
/**
* 生成单个可制证数据XML
*
* @throws IOException 可能出现文件写入不成功
*/
public static void createToMakePackageXML(List<PreproPersonEntity> preproPersonEntities , FilesEntity filesEntity, String url) throws IOException {
Document document = DocumentHelper.createDocument();
Element PACKAGE = DocumentHelper.createElement("PACKAGE");
document.setRootElement(PACKAGE);
Element PACKAGEHEAD = PACKAGE.addElement("PACKAGEHEAD");
Element DATA = PACKAGE.addElement("DATA");
Element BBH = PACKAGEHEAD.addElement("BBH");
BBH.setText(filesEntity.getBbh());
Element DWDM = PACKAGEHEAD.addElement("DWDM");
DWDM.setText(filesEntity.getDwdm());
Element DWMC = PACKAGEHEAD.addElement("DWMC");
DWMC.setText(filesEntity.getDwmc());
Element JLS = PACKAGEHEAD.addElement("JLS");
JLS.setText(preproPersonEntities.size()+"");
Element SCSJ = PACKAGEHEAD.addElement("SCSJ");
SCSJ.setText(filesEntity.getScsj());
Element SJBBH = PACKAGEHEAD.addElement("SJBBH");
SJBBH.setText(filesEntity.getSjbbh());
int NO=1;
for (PreproPersonEntity preproPersonEntity : preproPersonEntities) {
Element RECORD = DATA.addElement("RECORD");
RECORD.addAttribute("no", NO+"");
RECORD.addAttribute("sid", preproPersonEntity.getSid());
Element JMSFZSLH = RECORD.addElement("JMSFZSLH");
JMSFZSLH.setText(preproPersonEntity.getJmsfzslh());
Element GMSFHM = RECORD.addElement("GMSFHM");
GMSFHM.setText(preproPersonEntity.getGmsfhm());
Element XM = RECORD.addElement("XM");
XM.setText(replaceNullString(preproPersonEntity.getXm()));
Element XBDM = RECORD.addElement("XBDM");
XBDM.setText(replaceNullString(preproPersonEntity.getXbdm()));
Element MZDM = RECORD.addElement("MZDM");
MZDM.setText(replaceNullString(preproPersonEntity.getMzdm()));
Element CSRQ = RECORD.addElement("CSRQ");
CSRQ.setText(replaceNullString(preproPersonEntity.getCsrq()));
Element SSXQDM = RECORD.addElement("SSXQDM");
SSXQDM.setText(replaceNullString(preproPersonEntity.getSsxqdm()));
Element DZMC = RECORD.addElement("DZMC");
DZMC.setText(replaceNullString(preproPersonEntity.getDzmc()));
Element SDXP = RECORD.addElement("SDXP");
SDXP.setText(replaceNullString(preproPersonEntity.getSdxp()));
Element ZWY_ZWTXSJ = RECORD.addElement("ZWY_ZWTXSJ");
ZWY_ZWTXSJ.setText(replaceNullString(preproPersonEntity.getZwyZwtxsj()));
Element ZWY_ZWTZSJ = RECORD.addElement("ZWY_ZWTZSJ");
ZWY_ZWTZSJ.setText(replaceNullString(preproPersonEntity.getZwyZwtzsj()));
Element ZWE_ZWTXSJ = RECORD.addElement("ZWE_ZWTXSJ");
ZWE_ZWTXSJ.setText(replaceNullString(preproPersonEntity.getZweZwtxsj()));
Element ZWE_ZWTZSJ = RECORD.addElement("ZWE_ZWTZSJ");
ZWE_ZWTZSJ.setText(replaceNullString(preproPersonEntity.getZweZwtzsj()));
Element QFJG_GAJGMC = RECORD.addElement("QFJG_GAJGMC");
QFJG_GAJGMC.setText(replaceNullString(preproPersonEntity.getQfjgGajgmc()));
Element YXQQSRQ = RECORD.addElement("YXQQSRQ");
YXQQSRQ.setText(preproPersonEntity.getYxqqsrq());
Element YXQJZRQ = RECORD.addElement("YXQJZRQ");
YXQJZRQ.setText(preproPersonEntity.getYxqjzrq());
Element JMSFZSLYYDM = RECORD.addElement("JMSFZSLYYDM");
JMSFZSLYYDM.setText(preproPersonEntity.getJmsfzslyydm());
Element JMSFZZZLXDM = RECORD.addElement("JMSFZZZLXDM");
JMSFZZZLXDM.setText(preproPersonEntity.getJmsfzzzlxdm());
Element JMSFZLZFSDM = RECORD.addElement("JMSFZLZFSDM");
JMSFZLZFSDM.setText(preproPersonEntity.getJmsfzlzfsdm());
Element SJR_XM = RECORD.addElement("SJR_XM");
SJR_XM.setText(replaceNullString(preproPersonEntity.getSjrXm()));
Element SJR_LXDH = RECORD.addElement("SJR_LXDH");
SJR_LXDH.setText(replaceNullString(preproPersonEntity.getSjrLxdh()));
Element SJR_YZBM = RECORD.addElement("SJR_YZBM");
SJR_YZBM.setText(replaceNullString(preproPersonEntity.getSjrYzbm()));
Element SJR_TXDZ = RECORD.addElement("SJR_TXDZ");
SJR_TXDZ.setText(replaceNullString(preproPersonEntity.getSjrTxdz()));
}
YXStringUtils.saveDom2File(document, url + "\\" + "ZAGL_ZZJH_" + filesEntity.getSjbbh() + ".xml");
}
/**
* 字符串去除空格
* @param str 原始字符串
* @return 返回新的字符串
*/
public static String replaceNullString(String str) {
if (str == null) return "";
else return str;
}
}
......@@ -26,7 +26,7 @@ public class ReadExcel {
System.out.println("第"+i+"行:"+excelList.get(i));
List list = (List) excelList.get(i);
for (int j = 0; j < list.size(); j++) {
// System.out.print(list.get(j));
// System.out.print(list.get(j));+
}
}
}
......
package com.yxproject.start.utils;
import org.dom4j.Document;
import org.dom4j.io.OutputFormat;
import org.dom4j.io.XMLWriter;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
import java.io.*;
/**
* Created by zhangdahui on 2017/8/23.
*/
public class YXStringUtils {
public static String inputStream2String(InputStream in, String encode) {
String str = "";
try {
if (encode == null || encode.equals("")) {
// 默认以utf-8形式
encode = "utf-8";
}
BufferedReader reader = new BufferedReader(new InputStreamReader(in, encode));
StringBuilder sb = new StringBuilder();
while ((str = reader.readLine()) != null) {
sb.append(str).append("\n");
}
return sb.toString();
} catch (UnsupportedEncodingException e1) {
e1.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
public static String inputStream2String(InputStream is) {
BufferedReader reader = new BufferedReader(new InputStreamReader(is));
StringBuilder sb = new StringBuilder();
String line = null;
try {
while ((line = reader.readLine()) != null) {
sb.append(line + "\n");
}
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
is.close();
} catch (IOException e) {
e.printStackTrace();
}
}
return sb.toString();
}
public static void inputStream2File(InputStream ins, File file) throws IOException {
OutputStream os = null;
os = new FileOutputStream(file);
int bytesRead;
byte[] buffer = new byte[8192];
while ((bytesRead = ins.read(buffer, 0, 8192)) != -1) {
os.write(buffer, 0, bytesRead);
}
os.close();
ins.close();
}
public static byte[] decodeImageAsBytes(String imgStr) throws IOException {
BASE64Decoder decoder = new BASE64Decoder();
// 解密
byte[] b = decoder.decodeBuffer(imgStr);
// 处理数据
for (int i = 0; i < b.length; ++i) {
if (b[i] < 0) {
b[i] += 256;
}
}
return b;
}
public static String Base64Encoding(byte[] data) {
BASE64Encoder encoder = new BASE64Encoder();
return encoder.encode(data);
}
public static byte[] inputStream2byte(InputStream inStream) throws IOException {
ByteArrayOutputStream swapStream = new ByteArrayOutputStream();
byte[] buff = new byte[100];
int rc;
while ((rc = inStream.read(buff, 0, 100)) > 0) {
swapStream.write(buff, 0, rc);
}
return swapStream.toByteArray();
}
public static void saveDom2File(Document document, String filepath) throws IOException {
FileOutputStream fos = new FileOutputStream(filepath);
OutputStreamWriter osw = new OutputStreamWriter(fos, "UTF-8");
OutputFormat of = new OutputFormat();
of.setEncoding("UTF-8");
of.setIndent(true);
of.setIndent(" ");
of.setNewlines(true);
of.setNewLineAfterDeclaration(false);
XMLWriter writer = new XMLWriter(osw, of);
writer.write(document);
writer.close();
}
}
......@@ -4,9 +4,9 @@ server:
spring:
datasource:
driver-class-name: oracle.jdbc.driver.OracleDriver
url: jdbc:oracle:thin:@192.168.10.234:1521:ACCU
username: auxiliary
password: auxiliary
url: jdbc:oracle:thin:@192.168.1.108:1521:yingxin
username: yingxin
password: yingxin
mybatis:
type-aliases-package: com.yxproject.start.entity
......
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