Commit 4be9e2ac authored by dahai's avatar dahai

push

parent e91c975b
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
import java.util.Objects;
/**
* @auther zhangyusheng
* 2019/3/9 14:53
*/
@Entity
@Table(name = "DETAIL_RECEIPT_LIST", schema = "YINGXIN", catalog = "")
public class DetailReceiptListEntity {
private long id;
private String uploadNo;
private String acceptNo;
private String name;
private String policeCode;
private String cardId;
private Time printUninstallMark;
private Time eQualityMark;
private String note;
private String signGovt;
@Id
@Column(name = "ID")
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Basic
@Column(name = "UPLOAD_NO")
public String getUploadNo() {
return uploadNo;
}
public void setUploadNo(String uploadNo) {
this.uploadNo = uploadNo;
}
@Basic
@Column(name = "ACCEPT_NO")
public String getAcceptNo() {
return acceptNo;
}
public void setAcceptNo(String acceptNo) {
this.acceptNo = acceptNo;
}
@Basic
@Column(name = "NAME")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "POLICE_CODE")
public String getPoliceCode() {
return policeCode;
}
public void setPoliceCode(String policeCode) {
this.policeCode = policeCode;
}
@Basic
@Column(name = "CARD_ID")
public String getCardId() {
return cardId;
}
public void setCardId(String cardId) {
this.cardId = cardId;
}
@Basic
@Column(name = "PRINT_UNINSTALL_MARK")
public Time getPrintUninstallMark() {
return printUninstallMark;
}
public void setPrintUninstallMark(Time printUninstallMark) {
this.printUninstallMark = printUninstallMark;
}
@Basic
@Column(name = "E_QUALITY_MARK")
public Time geteQualityMark() {
return eQualityMark;
}
public void seteQualityMark(Time eQualityMark) {
this.eQualityMark = eQualityMark;
}
@Basic
@Column(name = "NOTE")
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
@Basic
@Column(name = "SIGN_GOVT")
public String getSignGovt() {
return signGovt;
}
public void setSignGovt(String signGovt) {
this.signGovt = signGovt;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
DetailReceiptListEntity that = (DetailReceiptListEntity) o;
return id == that.id &&
Objects.equals(uploadNo, that.uploadNo) &&
Objects.equals(acceptNo, that.acceptNo) &&
Objects.equals(name, that.name) &&
Objects.equals(policeCode, that.policeCode) &&
Objects.equals(cardId, that.cardId) &&
Objects.equals(printUninstallMark, that.printUninstallMark) &&
Objects.equals(eQualityMark, that.eQualityMark) &&
Objects.equals(note, that.note) &&
Objects.equals(signGovt, that.signGovt);
}
@Override
public int hashCode() {
return Objects.hash(id, uploadNo, acceptNo, name, policeCode, cardId, printUninstallMark, eQualityMark, note, signGovt);
}
}
package com.yxproject.start.mapper;
import org.apache.ibatis.annotations.Mapper;
/**
* @auther zhangyusheng
* 2019/3/9 14:54
*/
@Mapper
public interface DetailReceiptListMapper {
}
......@@ -128,14 +128,14 @@ public interface TaskListMapper {
@Insert("insert into task (CARD_TYPE,COUNTY_CODE,SUBMIT_NAME,TASK_STATE_ID,OLD_CARD_TYPE) values(#{cardType},#{countyCode},#{submitName},#{taskStateId},#{oldCardType})")
@Options(useGeneratedKeys=true, keyProperty="taskId", keyColumn="TASK_ID")
public boolean saveFastTask(TaskEntity taskEntity);
// /**
// * 生成任务单
// * @param taskEntity 任务单
// * @return
// */
// @Insert("insert into task (CARD_TYPE,COUNTY_CODE,SUBMIT_NAME,TASK_STATE_ID) values(#{cardType},#{countyCode},#{submitName},#{taskStateId})")
// @Options(useGeneratedKeys=true, keyProperty="taskId", keyColumn="TASK_ID")
// public boolean saveTask(TaskEntity taskEntity);
/**
* 生成任务单
* @param taskEntity 任务单
* @return
*/
@Insert("insert into task (CARD_TYPE,COUNTY_CODE,SUBMIT_NAME,TASK_STATE_ID) values(#{cardType},#{countyCode},#{submitName},#{taskStateId})")
@Options(useGeneratedKeys=true, keyProperty="taskId", keyColumn="TASK_ID")
public boolean saveTask(TaskEntity taskEntity);
......@@ -292,12 +292,12 @@ public interface TaskListMapper {
@Select("select * from task where task_ID = #{taskId}")
public List<TaskEntity> selectTaskEntityByTaskId(long taskId);
/**
* 保存快证任务单
* 辅助库
* @param taskEntity
* @return
*/
public boolean saveTask(TaskEntity taskEntity);
// /**
// * 保存快证任务单
// * 辅助库
// * @param taskEntity
// * @return
// */
//
// public boolean saveTask(TaskEntity taskEntity);
}
package com.yxproject.start.service;
/**
* @auther zhangyusheng
* 2019/3/9 14:55
*/
public interface DetailReceiptListService {
}
package com.yxproject.start.service.impl;
import com.yxproject.start.service.DetailReceiptListService;
import org.springframework.stereotype.Service;
/**
* @auther zhangyusheng
* 2019/3/9 14:55
*/
@Service
public class DetailReceiptListServiceImpl implements DetailReceiptListService {
}
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