Commit 5d871a1d authored by liboyang's avatar liboyang

整合完成

parents 972cc0e7 0806c189
...@@ -81,6 +81,11 @@ ...@@ -81,6 +81,11 @@
<version>2.4</version> <version>2.4</version>
<classifier>jdk15</classifier> <classifier>jdk15</classifier>
</dependency> </dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>3.13</version>
</dependency>
<!-- MyBatis分页插件 --> <!-- MyBatis分页插件 -->
<!--<dependency>--> <!--<dependency>-->
...@@ -97,7 +102,7 @@ ...@@ -97,7 +102,7 @@
<!--</dependency>--> <!--</dependency>-->
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
......
package com.yxproject.start.SqlProvider; package com.yxproject.start.SqlProvider;
import com.alibaba.druid.sql.ast.statement.SQLForeignKeyImpl;
import com.alibaba.druid.sql.visitor.functions.If;
import javafx.beans.binding.When;
import org.apache.ibatis.jdbc.SQL;
/** /**
* Created by zhangyusheng on 2018/10/23 13:52 * Created by zhangyusheng on 2018/10/23 13:52
*/ */
public class SqlProvider { public class SqlProvider {
public String findCardInfoByCardIDOrAcceptNoAtPRODSql(String card) { // public String findCardInfoByCardIDOrAcceptNoAtPRODSql(String card) {
return new SQL() { // return new SQL() {
{ // {
SELECT("*") ; // SELECT("*") ;
FROM("PROD_card_t@PROD_LINK"); // FROM("PROD_card_t@PROD_LINK");
if (card.length()==18){ // if (card.length()==18){
WHERE("id_No=#{idNo}"); // WHERE("id_No=#{idNo}");
} // }
if (card.length()==10){ // if (card.length()==10){
WHERE("PROD_card_t.accept_No=#{acceptNo}"); // WHERE("PROD_card_t.accept_No=#{acceptNo}");
} // }
//
// }
// }.toString();
// }
// public String saveFailedinfoEntity(FailedinfoEntity failedinfoEntity) {
// return new SQL() {
// {
// INSERT_INTO("FAILEDINFO");
// VALUES("failedinfoid","#{failedinfoid}");
// VALUES("failed_Reason","#{failed_Reason}");
// VALUES("groupno","#{groupno}");
// VALUES("cyclesheetid","#{cyclesheetid}");
// VALUES("state","#{state}");
// if (failedinfoEntity.getPosition_Date()!=null){
// VALUES("position_Date","#{position_Date}");
// }
// if (failedinfoEntity.getFinish_Date()!=null){
// VALUES("finish_Date","#{finish_Date}");
// }
// if (failedinfoEntity.getAllot_Date()!=null){
// VALUES("allot_Date","#{allot_Date}");
// }
// if (failedinfoEntity.getPrint_Date()!=null){
// VALUES("print_Date","#{print_Date}");
// }
// }
// }.toString();
// }
//
// public String updateFailedinfoEntity(FailedinfoEntity failedinfoEntity) {
// return new SQL() {
// {
// UPDATE("tb_employee");
// SET("failedinfoid=#{failedinfoid}");
// SET("failed_Reason=#{failed_Reason}");
// SET("groupno=#{groupno}");
// SET("cyclesheetid=#{cyclesheetid}");
// SET("state=#{state}");
// if (failedinfoEntity.getPosition_Date()!=null){
// SET("position_Date=#{position_Date}");
// }
// if (failedinfoEntity.getFinish_Date()!=null){
// SET("finish_Date=#{finish_Date}");
// }
// if (failedinfoEntity.getAllot_Date()!=null){
// SET("allot_Date=#{allot_Date}");
// }
// if (failedinfoEntity.getPrint_Date()!=null){
// SET("print_Date=#{print_Date}");
// }
// }
// }.toString();
// }
//
// public String selectFailedinfoBycolumnName(String columnName) {
// String failedinfo = new SQL() {
// {
// SELECT("*");
// FROM("failedinfo");
// WHERE("decode(#{columnName},null,0,1) =1");
//
// }
// }.toString();
// System.out.println(failedinfo+"---------------------");
// return failedinfo;
// }
}
}.toString();
}
} }
...@@ -4,7 +4,6 @@ import com.yxproject.start.entity.ProductionTaskListEntity; ...@@ -4,7 +4,6 @@ import com.yxproject.start.entity.ProductionTaskListEntity;
import com.yxproject.start.entity.SysPermission; import com.yxproject.start.entity.SysPermission;
import com.yxproject.start.entity.SysRole; import com.yxproject.start.entity.SysRole;
import com.yxproject.start.entity.UserInfo; import com.yxproject.start.entity.UserInfo;
import com.yxproject.start.service.ProductionTaskListService;
import com.yxproject.start.service.UserInfoService; import com.yxproject.start.service.UserInfoService;
import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo; import org.apache.shiro.authc.AuthenticationInfo;
...@@ -13,7 +12,6 @@ import org.apache.shiro.authc.SimpleAuthenticationInfo; ...@@ -13,7 +12,6 @@ import org.apache.shiro.authc.SimpleAuthenticationInfo;
import org.apache.shiro.authc.credential.HashedCredentialsMatcher; import org.apache.shiro.authc.credential.HashedCredentialsMatcher;
import org.apache.shiro.authz.AuthorizationInfo; import org.apache.shiro.authz.AuthorizationInfo;
import org.apache.shiro.authz.SimpleAuthorizationInfo; import org.apache.shiro.authz.SimpleAuthorizationInfo;
import org.apache.shiro.crypto.hash.Sha256Hash;
import org.apache.shiro.realm.AuthorizingRealm; import org.apache.shiro.realm.AuthorizingRealm;
import org.apache.shiro.subject.PrincipalCollection; import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.util.ByteSource; import org.apache.shiro.util.ByteSource;
......
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/16 10:51
*/
@Entity
@Table(name = "CARD_BODY", schema = "DAHAI", catalog = "")
public class CardBodyEntity {
private long cardBodyId;
private Time saveDate;
private long isActive;
private long totalCount;
@Id
@Column(name = "CARD_BODY_ID", nullable = false, precision = 0)
public long getCardBodyId() {
return cardBodyId;
}
public void setCardBodyId(long cardBodyId) {
this.cardBodyId = cardBodyId;
}
@Basic
@Column(name = "SAVE_DATE", nullable = false)
public Time getSaveDate() {
return saveDate;
}
public void setSaveDate(Time saveDate) {
this.saveDate = saveDate;
}
@Basic
@Column(name = "IS_ACTIVE", nullable = false, precision = 0)
public long getIsActive() {
return isActive;
}
public void setIsActive(long isActive) {
this.isActive = isActive;
}
@Basic
@Column(name = "TOTAL_COUNT", nullable = false, precision = 0)
public long getTotalCount() {
return totalCount;
}
public void setTotalCount(long totalCount) {
this.totalCount = totalCount;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CardBodyEntity that = (CardBodyEntity) o;
return cardBodyId == that.cardBodyId &&
isActive == that.isActive &&
totalCount == that.totalCount &&
Objects.equals(saveDate, that.saveDate);
}
@Override
public int hashCode() {
return Objects.hash(cardBodyId, saveDate, isActive, totalCount);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/16 10:51
*/
@Entity
@Table(name = "CITY_DIC", schema = "DAHAI", catalog = "")
public class CityDicEntity {
private String citycode;
private String cityname;
@Id
@Column(name = "CITYCODE", nullable = false, length = 6)
public String getCitycode() {
return citycode;
}
public void setCitycode(String citycode) {
this.citycode = citycode;
}
@Basic
@Column(name = "CITYNAME", nullable = false, length = 20)
public String getCityname() {
return cityname;
}
public void setCityname(String cityname) {
this.cityname = cityname;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CityDicEntity that = (CityDicEntity) o;
return Objects.equals(citycode, that.citycode) &&
Objects.equals(cityname, that.cityname);
}
@Override
public int hashCode() {
return Objects.hash(citycode, cityname);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/16 10:51
*/
@Entity
@Table(name = "COUNTY_LIST", schema = "DAHAI", catalog = "")
public class CountyListEntity {
private long countyListId;
private Time saveDate;
private Long finishCount;
private Long inStorageCount;
private Long outStorageCount;
@Id
@Column(name = "COUNTY_LIST_ID", nullable = false, precision = 0)
public long getCountyListId() {
return countyListId;
}
public void setCountyListId(long countyListId) {
this.countyListId = countyListId;
}
@Basic
@Column(name = "SAVE_DATE", nullable = false)
public Time getSaveDate() {
return saveDate;
}
public void setSaveDate(Time saveDate) {
this.saveDate = saveDate;
}
@Basic
@Column(name = "FINISH_COUNT", nullable = true, precision = 0)
public Long getFinishCount() {
return finishCount;
}
public void setFinishCount(Long finishCount) {
this.finishCount = finishCount;
}
@Basic
@Column(name = "IN_STORAGE_COUNT", nullable = true, precision = 0)
public Long getInStorageCount() {
return inStorageCount;
}
public void setInStorageCount(Long inStorageCount) {
this.inStorageCount = inStorageCount;
}
@Basic
@Column(name = "OUT_STORAGE_COUNT", nullable = true, precision = 0)
public Long getOutStorageCount() {
return outStorageCount;
}
public void setOutStorageCount(Long outStorageCount) {
this.outStorageCount = outStorageCount;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
CountyListEntity that = (CountyListEntity) o;
return countyListId == that.countyListId &&
Objects.equals(saveDate, that.saveDate) &&
Objects.equals(finishCount, that.finishCount) &&
Objects.equals(inStorageCount, that.inStorageCount) &&
Objects.equals(outStorageCount, that.outStorageCount);
}
@Override
public int hashCode() {
return Objects.hash(countyListId, saveDate, finishCount, inStorageCount, outStorageCount);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
import java.util.Date;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/16 10:51
*/
@Entity
@Table(name = "FAILED_CARD", schema = "DAHAI")
public class FailedCardEntity {
private long failed_Card_Id;
private long failed_Card_Reason_Id;
private String accept_No;
private long task_Id;
private Date position_Date;
private Date finish_Date;
private Date allot_Date;
private Date print_Date;
private long state;
@Id
@Column(name = "FAILED_CARD_ID", nullable = false, precision = 0)
public long getFailed_Card_Id() {
return failed_Card_Id;
}
public void setFailed_Card_Id(long failed_Card_Id) {
this.failed_Card_Id = failed_Card_Id;
}
@Basic
@Column(name = "FAILED_CARD_REASON_ID", nullable = true, precision = 0)
public long getFailed_Card_Reason_Id() {
return failed_Card_Reason_Id;
}
public void setFailed_Card_Reason_Id(long failed_Card_Reason_Id) {
this.failed_Card_Reason_Id = failed_Card_Reason_Id;
}
@Basic
@Column(name = "ACCEPT_NO", nullable = true, length = 20)
public String getAccept_No() {
return accept_No;
}
public void setAccept_No(String accept_No) {
this.accept_No = accept_No;
}
@Basic
@Column(name = "TASK_ID", nullable = false, precision = 0)
public long getTask_Id() {
return task_Id;
}
public void setTask_Id(long task_Id) {
this.task_Id = task_Id;
}
@Basic
@Column(name = "POSITION_DATE", nullable = true, length = 20)
public Date getPosition_Date() {
return position_Date;
}
public void setPosition_Date(Date position_Date) {
this.position_Date = position_Date;
}
@Basic
@Column(name = "FINISH_DATE", nullable = true, length = 20)
public Date getFinish_Date() {
return finish_Date;
}
public void setFinish_Date(Date finish_Date) {
this.finish_Date = finish_Date;
}
@Basic
@Column(name = "ALLOT_DATE", nullable = true, length = 20)
public Date getAllot_Date() {
return allot_Date;
}
public void setAllot_Date(Date allot_Date) {
this.allot_Date = allot_Date;
}
@Basic
@Column(name = "PRINT_DATE", nullable = true, length = 20)
public Date getPrint_Date() {
return print_Date;
}
public void setPrint_Date(Date print_Date) {
this.print_Date = print_Date;
}
@Basic
@Column(name = "STATE", nullable = false, precision = 0)
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;
return Objects.equals(failed_Card_Id, that.failed_Card_Id) &&
Objects.equals(failed_Card_Reason_Id, that.failed_Card_Reason_Id) &&
Objects.equals(accept_No, that.accept_No) &&
Objects.equals(task_Id, that.task_Id) &&
Objects.equals(position_Date, that.position_Date) &&
Objects.equals(allot_Date, that.allot_Date) &&
Objects.equals(print_Date, that.print_Date) &&
Objects.equals(state, that.state) &&
Objects.equals(finish_Date, that.finish_Date);
}
@Override
public int hashCode() {
return Objects.hash(failed_Card_Id, failed_Card_Reason_Id, accept_No, task_Id, position_Date, finish_Date, allot_Date, print_Date, state);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/16 10:51
*/
@Entity
@Table(name = "GROUP_NO", schema = "DAHAI", catalog = "")
public class GroupNoEntity {
private long group_Id;
private long task_Id;
private String group_No;
private long vaild_Count;
private long invalid_Count;
private long special_Card_Count;
@Basic
@Column(name = "GROUP_ID", nullable = false, precision = 0)
public long getGroup_Id() {
return group_Id;
}
public void setGroup_Id(long group_Id) {
this.group_Id = group_Id;
}
@Basic
@Column(name = "TASK_ID", nullable = false, precision = 0)
public long getTask_Id() {
return task_Id;
}
public void setTask_Id(long task_Id) {
this.task_Id = task_Id;
}
@Id
@Column(name = "GROUP_NO", nullable = false, length = 8)
public String getGroup_No() {
return group_No;
}
public void setGroup_No(String group_No) {
this.group_No = group_No;
}
@Basic
@Column(name = "VAILD_COUNT", nullable = false, precision = 0)
public long getVaild_Count() {
return vaild_Count;
}
public void setVaild_Count(long vaild_Count) {
this.vaild_Count = vaild_Count;
}
@Basic
@Column(name = "INVALID_COUNT", nullable = false, precision = 0)
public long getInvalid_Count() {
return invalid_Count;
}
public void setInvalid_Count(long invalid_Count) {
this.invalid_Count = invalid_Count;
}
@Basic
@Column(name = "SPECIAL_CARD_COUNT", nullable = false, precision = 0)
public long getSpecial_Card_Count() {
return special_Card_Count;
}
public void setSpecial_Card_Count(long special_Card_Count) {
this.special_Card_Count = special_Card_Count;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GroupNoEntity that = (GroupNoEntity) o;
return group_Id == that.group_Id &&
vaild_Count == that.vaild_Count &&
invalid_Count == that.invalid_Count &&
special_Card_Count == that.special_Card_Count &&
task_Id == that.task_Id &&
Objects.equals(group_No, that.group_No);
}
@Override
public int hashCode() {
return Objects.hash(group_Id, group_No, task_Id, vaild_Count, invalid_Count,special_Card_Count);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "GROUPINFO", schema = "DAHAI", catalog = "")
public class GroupinfoEntity {
private String groupid;
private String groupno;
private String cyclesheetid;
private Long grouptype;
private Long valid_Count;
private Long invalid_Count;
@Id
@Column(name = "GROUPID", nullable = false, length = 20)
public String getGroupid() {
return groupid;
}
public void setGroupid(String groupid) {
this.groupid = groupid;
}
@Basic
@Column(name = "GROUPNO", nullable = true, length = 20)
public String getGroupno() {
return groupno;
}
public void setGroupno(String groupno) {
this.groupno = groupno;
}
@Basic
@Column(name = "CYCLESHEETID", nullable = true, length = 20)
public String getCyclesheetid() {
return cyclesheetid;
}
public void setCyclesheetid(String cyclesheetid) {
this.cyclesheetid = cyclesheetid;
}
@Basic
@Column(name = "GROUPTYPE", nullable = true, precision = 0)
public Long getGrouptype() {
return grouptype;
}
public void setGrouptype(Long grouptype) {
this.grouptype = grouptype;
}
@Basic
@Column(name = "VAILD_COUNT", nullable = true, precision = 0)
public Long getValid_Count() {
return valid_Count;
}
public void setValid_Count(Long valid_Count) {
this.valid_Count = valid_Count;
}
@Basic
@Column(name = "INVALID_COUNT", nullable = true, precision = 0)
public Long getInvalid_Count() {
return invalid_Count;
}
public void setInvalid_Count(Long invalid_Count) {
this.invalid_Count = invalid_Count;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
GroupinfoEntity that = (GroupinfoEntity) o;
return Objects.equals(groupid, that.groupid) &&
Objects.equals(groupno, that.groupno) &&
Objects.equals(cyclesheetid, that.cyclesheetid) &&
Objects.equals(grouptype, that.grouptype) &&
Objects.equals(valid_Count, that.valid_Count) &&
Objects.equals(invalid_Count, that.invalid_Count);
}
@Override
public int hashCode() {
return Objects.hash(groupid, groupno,cyclesheetid, grouptype, valid_Count, invalid_Count);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.util.Date;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/12 14:12
*/
@Entity
@Table(name = "POLICE_STATION_APPLY_REASON", schema = "DAHAI", catalog = "")
public class PoliceStationApplyReasonEntity {
private Long police_Station_Apply_Reason_Id;
private Date save_Date;
private Long task_Id;
private String police_Station_Code;
private Long apply_Code;
private Long apply_Count;
@Id
@Column(name = "POLICE_STATION_APPLY_REASON_ID", nullable = false, precision = 0)
public Long getPolice_Station_Apply_Reason_Id() {
return police_Station_Apply_Reason_Id;
}
public void setPolice_Station_Apply_Reason_Id(Long police_Station_Apply_Reason_Id) {
this.police_Station_Apply_Reason_Id = police_Station_Apply_Reason_Id;
}
@Basic
@Column(name = "SAVE_DATE", nullable = true)
public Date getSave_Date() {
return save_Date;
}
public void setSave_Date(Date save_Date) {
this.save_Date = save_Date;
}
@Basic
@Column(name = "TASK_ID", nullable = false, precision = 0)
public Long getTask_Id() {
return task_Id;
}
public void setTask_Id(Long task_Id) {
this.task_Id = task_Id;
}
@Basic
@Column(name = "POLICE_STATION_CODE", nullable = true, length = 20)
public String getPolice_Station_Code() {
return police_Station_Code;
}
public void setPolice_Station_Code(String police_Station_Code) {
this.police_Station_Code = police_Station_Code;
}
@Basic
@Column(name = "APPLY_CODE", nullable = true, precision = 0)
public Long getApply_Code() {
return apply_Code;
}
public void setApply_Code(Long apply_Code) {
this.apply_Code = apply_Code;
}
@Basic
@Column(name = "APPLY_COUNT", nullable = true, precision = 0)
public Long getApply_Count() {
return apply_Count;
}
public void setApply_Count(Long apply_Count) {
this.apply_Count = apply_Count;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PoliceStationApplyReasonEntity that = (PoliceStationApplyReasonEntity) o;
return Objects.equals(police_Station_Apply_Reason_Id, that.police_Station_Apply_Reason_Id) &&
Objects.equals(save_Date, that.save_Date) &&
Objects.equals(task_Id, that.task_Id) &&
Objects.equals(police_Station_Code, that.police_Station_Code) &&
Objects.equals(apply_Code, that.apply_Code) &&
Objects.equals(apply_Count, that.apply_Count);
}
@Override
public int hashCode() {
return Objects.hash(police_Station_Apply_Reason_Id, save_Date, task_Id, police_Station_Code, apply_Code, apply_Count);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
import java.util.Date;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/16 10:51
*/
@Entity
@Table(name = "POLICE_STATION_VAILED", schema = "DAHAI", catalog = "")
public class PoliceStationVailedEntity {
private long police_Station_Vailed_Id;
private long task_Id;
private String police_Station_Code;
private long vailed_Count;
private long invalid_Count;
private Date sava_Date;
@Id
@Column(name = "POLICE_STATION_VAILED_ID", nullable = false, precision = 0)
public long getPolice_Station_Vailed_Id() {
return police_Station_Vailed_Id;
}
public void setPolice_Station_Vailed_Id(long police_Station_Vailed_Id) {
this.police_Station_Vailed_Id = police_Station_Vailed_Id;
}
@Basic
@Column(name = "TASK_ID", nullable = false, precision = 0)
public long getTask_Id() {
return task_Id;
}
public void setTask_Id(long task_Id) {
this.task_Id = task_Id;
}
@Basic
@Column(name = "POLICE_STATION_CODE", nullable = true, length = 20)
public String getPolice_Station_Code() {
return police_Station_Code;
}
public void setPolice_Station_Code(String police_Station_Code) {
this.police_Station_Code = police_Station_Code;
}
@Basic
@Column(name = "INVALID_COUNT", nullable = false, precision = 0)
public long getVailed_Count() {
return vailed_Count;
}
public void setVailed_Count(long vailed_Count) {
this.vailed_Count = vailed_Count;
}
@Basic
@Column(name = "VAILED_COUNT", nullable = false, precision = 0)
public long getInvalid_Count() {
return invalid_Count;
}
public void setInvalid_Count(long invalid_Count) {
this.invalid_Count = invalid_Count;
}
@Basic
@Column(name = "SAVA_DATE", nullable = false)
public Date getSava_Date() {
return sava_Date;
}
public void setSava_Date(Date sava_Date) {
this.sava_Date = sava_Date;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
PoliceStationVailedEntity that = (PoliceStationVailedEntity) o;
return police_Station_Vailed_Id == that.police_Station_Vailed_Id &&
task_Id == that.task_Id &&
vailed_Count == that.vailed_Count &&
invalid_Count == that.invalid_Count &&
Objects.equals(police_Station_Code, that.police_Station_Code)&&
Objects.equals(sava_Date, that.sava_Date);
}
@Override
public int hashCode() {
return Objects.hash(police_Station_Vailed_Id, task_Id, police_Station_Code, vailed_Count,invalid_Count,sava_Date);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "PRODUCTION_TASK_LIST", schema = "DAHAI", catalog = "")
public class ProductionTaskListEntity {
private String production_TaskList_Id;
private long make_Type;
private Long old_Make_Type;
private String workshop;
private String citycode;
private String submit_Date;
private String handout_Date;
private Long is_Print;
private String download_Date;
private String print_Out;
private String permanent_Position_Date;
private String roll_Out_Workshop_Date;
private String qualityinspection_Name;
private String qualityinspection_Date;
private String exception_Information;
private String outbound_Date;
private String putinstorage_Date;
@Id
@Column(name = "PRODUCTION_TASK_LIST_ID", nullable = false, length = 20)
public String getProduction_TaskList_Id() {
return production_TaskList_Id;
}
public void setProduction_TaskList_Id(String production_TaskList_Id) {
this.production_TaskList_Id = production_TaskList_Id;
}
@Basic
@Column(name = "MAKE_TYPE", nullable = false, precision = 0)
public long getMake_Type() {
return make_Type;
}
public void setMake_Type(long make_Type) {
this.make_Type = make_Type;
}
@Basic
@Column(name = "OLD_MAKE_TYPE", nullable = true, precision = 0)
public Long getOld_Make_Type() {
return old_Make_Type;
}
public void setOld_Make_Type(Long old_Make_Type) {
this.old_Make_Type = old_Make_Type;
}
@Basic
@Column(name = "CITYCODE",nullable = true, length = 8)
public String getCitycode() {
return citycode;
}
public void setCitycode(String citycode) {
this.citycode = citycode;
}
@Basic
@Column(name = "WORKSHOP", nullable = true, length = 2)
public String getWorkshop() {
return workshop;
}
public void setWorkshop(String workshop) {
this.workshop = workshop;
}
@Basic
@Column(name = "SUBMIT_DATE", nullable = true, length = 8)
public String getSubmit_Date() {
return submit_Date;
}
public void setSubmit_Date(String submit_Date) {
this.submit_Date = submit_Date;
}
@Basic
@Column(name = "HANDOUT_DATE", nullable = true, length = 8)
public String getHandout_Date() {
return handout_Date;
}
public void setHandout_Date(String handout_Date) {
this.handout_Date = handout_Date;
}
@Basic
@Column(name = "IS_PRINT", nullable = true, precision = 0)
public Long getIs_Print() {
return is_Print;
}
public void setIs_Print(Long is_Print) {
this.is_Print = is_Print;
}
@Basic
@Column(name = "DOWNLOAD_DATE", nullable = true, length = 8)
public String getDownload_Date() {
return download_Date;
}
public void setDownload_Date(String download_Date) {
this.download_Date = download_Date;
}
@Basic
@Column(name = "PRINT_OUT", nullable = true, length = 8)
public String getPrint_Out() {
return print_Out;
}
public void setPrint_Out(String print_Out) {
this.print_Out = print_Out;
}
@Basic
@Column(name = "PERMANENT_POSITION_DATE", nullable = true, length = 8)
public String getPermanent_Position_Date() {
return permanent_Position_Date;
}
public void setPermanent_Position_Date(String permanent_Position_Date) {
this.permanent_Position_Date = permanent_Position_Date;
}
@Basic
@Column(name = "ROLL_OUT_WORKSHOP_DATE", nullable = true, length = 8)
public String getRoll_Out_Workshop_Date() {
return roll_Out_Workshop_Date;
}
public void setRoll_Out_Workshop_Date(String roll_Out_Workshop_Date) {
this.roll_Out_Workshop_Date = roll_Out_Workshop_Date;
}
@Basic
@Column(name = "QUALITYINSPECTION_NAME", nullable = true, length = 20)
public String getQualityinspection_Name() {
return qualityinspection_Name;
}
public void setQualityinspection_Name(String qualityinspection_Name) {
this.qualityinspection_Name = qualityinspection_Name;
}
@Basic
@Column(name = "QUALITYINSPECTION_DATE", nullable = true, length = 8)
public String getQualityinspection_Date() {
return qualityinspection_Date;
}
public void setQualityinspection_Date(String qualityinspection_Date) {
this.qualityinspection_Date = qualityinspection_Date;
}
@Basic
@Column(name = "EXCEPTION_INFORMATION", nullable = true, length = 120)
public String getException_Information() {
return exception_Information;
}
public void setException_Information(String exception_Information) {
this.exception_Information = exception_Information;
}
@Basic
@Column(name = "OUTBOUND_DATE", nullable = true, length = 8)
public String getOutbound_Date() {
return outbound_Date;
}
public void setOutbound_Date(String outbound_Date) {
this.outbound_Date = outbound_Date;
}
@Basic
@Column(name = "PUTINSTORAGE_DATE", nullable = true, length = 8)
public String getPutinstorage_Date() {
return putinstorage_Date;
}
public void setPutinstorage_Date(String putinstorage_Date) {
this.putinstorage_Date = putinstorage_Date;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ProductionTaskListEntity that = (ProductionTaskListEntity) o;
return make_Type == that.make_Type &&
Objects.equals(production_TaskList_Id, that.production_TaskList_Id) &&
Objects.equals(old_Make_Type, that.old_Make_Type) &&
Objects.equals(citycode, that.citycode) &&
Objects.equals(workshop, that.workshop) &&
Objects.equals(submit_Date, that.submit_Date) &&
Objects.equals(handout_Date, that.handout_Date) &&
Objects.equals(is_Print, that.is_Print) &&
Objects.equals(download_Date, that.download_Date) &&
Objects.equals(print_Out, that.print_Out) &&
Objects.equals(permanent_Position_Date, that.permanent_Position_Date) &&
Objects.equals(roll_Out_Workshop_Date, that.roll_Out_Workshop_Date) &&
Objects.equals(qualityinspection_Name, that.qualityinspection_Name) &&
Objects.equals(qualityinspection_Date, that.qualityinspection_Date) &&
Objects.equals(exception_Information, that.exception_Information) &&
Objects.equals(outbound_Date, that.outbound_Date) &&
Objects.equals(putinstorage_Date, that.putinstorage_Date);
}
@Override
public int hashCode() {
return Objects.hash(production_TaskList_Id, make_Type, old_Make_Type, citycode,workshop, submit_Date, handout_Date, is_Print, download_Date, print_Out, permanent_Position_Date, roll_Out_Workshop_Date, qualityinspection_Name, qualityinspection_Date, exception_Information, outbound_Date, putinstorage_Date);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/19 10:43
*/
@Entity
@Table(name = "SPECIAL_CARD", schema = "DAHAI")
public class SpecialCardEntity {
private long special_Card_Id;
private String accept_No;
private long task_Id;
private long special_Type;
private String group_No;
@Id
@Column(name = "SPECIAL_CARD_ID", nullable = false, precision = 0)
public long getSpecial_Card_Id() {
return special_Card_Id;
}
public void setSpecial_Card_Id(long special_Card_Id) {
this.special_Card_Id = special_Card_Id;
}
@Basic
@Column(name = "ACCEPT_NO", nullable = false, length = 10)
public String getAccept_No() {
return accept_No;
}
public void setAccept_No(String accept_No) {
this.accept_No = accept_No;
}
@Basic
@Column(name = "TASK_ID", nullable = false, precision = 0)
public long getTask_Id() {
return task_Id;
}
public void setTask_Id(long task_Id) {
this.task_Id = task_Id;
}
@Basic
@Column(name = "SPECIAL_TYPE", nullable = false, precision = 0)
public long getSpecial_Type() {
return special_Type;
}
public void setSpecial_Type(long special_Type) {
this.special_Type = special_Type;
}
@Basic
@Column(name = "GROUP_NO", nullable = false, length = 10)
public String getGroup_No() {
return group_No;
}
public void setGroup_No(String group_No) {
this.group_No = group_No;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
SpecialCardEntity that = (SpecialCardEntity) o;
return special_Card_Id == that.special_Card_Id &&
special_Type == that.special_Type &&
task_Id == that.task_Id &&
Objects.equals(accept_No, that.accept_No)&&
Objects.equals(group_No, that.group_No);
}
@Override
public int hashCode() {
return Objects.hash(special_Card_Id, accept_No,task_Id,group_No, special_Type);
}
}
package com.yxproject.start.entity;
import javax.persistence.*;
import java.sql.Time;
import java.util.Date;
import java.util.Objects;
/**
* Created by zhangyusheng on 2018/11/16 10:51
*/
@Entity
@Table(name = "TASK", schema = "DAHAI")
public class TaskEntity {
private long task_Id;
private long card_Type;
private long old_Card_Type;
private String citycode;
private Date submit_Date;
private Date issued_Date;
private long print_State;
private Date download_Date;
private Date print_Out_Date;
private Date position_Date;
private Date out_Workshop_Date;
private String quality_People_Name;
private Date quality_Test_Date;
private String exception_Information;
private Date out_Storage_Date;
private Date in_Storage_Date;
private long task_State_Id;
private long is_Exception;
private long printer_Id;
@Id
@Column(name = "TASK_ID", nullable = false, precision = 0)
public long getTask_Id() {
return task_Id;
}
public void setTask_Id(long task_Id) {
this.task_Id = task_Id;
}
@Basic
@Column(name = "CARD_TYPE", nullable = false, precision = 0)
public long getCard_Type() {
return card_Type;
}
public void setCard_Type(long card_Type) {
this.card_Type = card_Type;
}
@Basic
@Column(name = "OLD_CARD_TYPE", nullable = false, precision = 0)
public long getOld_Card_Type() {
return old_Card_Type;
}
public void setOld_Card_Type(long old_Card_Type) {
this.old_Card_Type = old_Card_Type;
}
@Basic
@Column(name = "CITYCODE", nullable = true, length = 20)
public String getCitycode() {
return citycode;
}
public void setCitycode(String citycode) {
this.citycode = citycode;
}
@Basic
@Column(name = "SUBMIT_DATE", nullable = true)
public Date getSubmit_Date() {
return submit_Date;
}
public void setSubmit_Date(Date submit_Date) {
this.submit_Date = submit_Date;
}
@Basic
@Column(name = "ISSUED_DATE", nullable = true)
public Date getIssued_Date() {
return issued_Date;
}
public void setIssued_Date(Date issued_Date) {
this.issued_Date = issued_Date;
}
@Basic
@Column(name = "PRINT_STATE", nullable = true, precision = 0)
public long getPrint_State() {
return print_State;
}
public void setPrint_State(long print_State) {
this.print_State = print_State;
}
@Basic
@Column(name = "DOWNLOAD_DATE", nullable = true)
public Date getDownload_Date() {
return download_Date;
}
public void setDownload_Date(Date download_Date) {
this.download_Date = download_Date;
}
@Basic
@Column(name = "PRINT_OUT_DATE", nullable = true)
public Date getPrint_Out_Date() {
return print_Out_Date;
}
public void setPrint_Out_Date(Date print_Out_Date) {
this.print_Out_Date = print_Out_Date;
}
@Basic
@Column(name = "POSITION_DATE", nullable = true)
public Date getPosition_Date() {
return position_Date;
}
public void setPosition_Date(Date position_Date) {
this.position_Date = position_Date;
}
@Basic
@Column(name = "OUT_WORKSHOP_DATE", nullable = true)
public Date getOut_Workshop_Date() {
return out_Workshop_Date;
}
public void setOut_Workshop_Date(Date out_Workshop_Date) {
this.out_Workshop_Date = out_Workshop_Date;
}
@Basic
@Column(name = "QUALITY_PEOPLE_NAME", nullable = true, length = 20)
public String getQuality_People_Name() {
return quality_People_Name;
}
public void setQuality_People_Name(String quality_People_Name) {
this.quality_People_Name = quality_People_Name;
}
@Basic
@Column(name = "QUALITY_TEST_DATE", nullable = true)
public Date getQuality_Test_Date() {
return quality_Test_Date;
}
public void setQuality_Test_Date(Date quality_Test_Date) {
this.quality_Test_Date = quality_Test_Date;
}
@Basic
@Column(name = "EXCEPTION_INFORMATION", nullable = true, length = 120)
public String getException_Information() {
return exception_Information;
}
public void setException_Information(String exception_Information) {
this.exception_Information = exception_Information;
}
@Basic
@Column(name = "OUT_STORAGE_DATE", nullable = true)
public Date getOut_Storage_Date() {
return out_Storage_Date;
}
public void setOut_Storage_Date(Date out_Storage_Date) {
this.out_Storage_Date = out_Storage_Date;
}
@Basic
@Column(name = "IN_STORAGE_DATE", nullable = true)
public Date getIn_Storage_Date() {
return in_Storage_Date;
}
public void setIn_Storage_Date(Date in_Storage_Date) {
this.in_Storage_Date = in_Storage_Date;
}
@Basic
@Column(name = "TASK_STATE_ID", nullable = true, precision = 0)
public long getTask_State_Id() {
return task_State_Id;
}
public void setTask_State_Id(long task_State_Id) {
this.task_State_Id = task_State_Id;
}
@Basic
@Column(name = "IS_EXCEPTION", nullable = true, precision = 0)
public long getIs_Exception() {
return is_Exception;
}
public void setIs_Exception(long is_Exception) {
this.is_Exception = is_Exception;
}
@Basic
@Column(name = "PRINTER_ID", nullable = true, precision = 0)
public long getPrinter_Id() {
return printer_Id;
}
public void setPrinter_Id(long printer_Id) {
this.printer_Id = printer_Id;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
TaskEntity that = (TaskEntity) o;
return task_Id == that.task_Id &&
card_Type == that.card_Type &&
old_Card_Type == that.old_Card_Type &&
Objects.equals(citycode, that.citycode) &&
Objects.equals(submit_Date, that.submit_Date) &&
Objects.equals(issued_Date, that.issued_Date) &&
Objects.equals(print_State, that.print_State) &&
Objects.equals(download_Date, that.download_Date) &&
Objects.equals(print_Out_Date, that.print_Out_Date) &&
Objects.equals(position_Date, that.position_Date) &&
Objects.equals(out_Workshop_Date, that.out_Workshop_Date) &&
Objects.equals(quality_People_Name, that.quality_People_Name) &&
Objects.equals(quality_Test_Date, that.quality_Test_Date) &&
Objects.equals(exception_Information, that.exception_Information) &&
Objects.equals(out_Storage_Date, that.out_Storage_Date) &&
Objects.equals(in_Storage_Date, that.in_Storage_Date) &&
printer_Id == that.printer_Id &&
task_State_Id == that.task_State_Id &&
Objects.equals(is_Exception, that.is_Exception);
}
@Override
public int hashCode() {
return Objects.hash(task_Id, card_Type, old_Card_Type, citycode, submit_Date, issued_Date, print_State, download_Date, print_Out_Date, position_Date, out_Workshop_Date, quality_People_Name, quality_Test_Date, exception_Information,out_Storage_Date,in_Storage_Date,printer_Id,task_State_Id,is_Exception);
}
}
package com.yxproject.start.entity.accu;
/**
* Created by zhangyusheng on 2018/10/31 15:12
*/
public class AccCardInfoEntity {
}
...@@ -23,6 +23,7 @@ public class AccCardTEntity { ...@@ -23,6 +23,7 @@ public class AccCardTEntity {
private String begin_Date; private String begin_Date;
private String apply_Reason; private String apply_Reason;
private String status_No; private String status_No;
@Basic @Basic
@Column(name = "UPLOAD_NO", nullable = false, length = 22) @Column(name = "UPLOAD_NO", nullable = false, length = 22)
public String getUpload_No() { public String getUpload_No() {
...@@ -32,6 +33,7 @@ public class AccCardTEntity { ...@@ -32,6 +33,7 @@ public class AccCardTEntity {
public void setUpload_No(String upload_No) { public void setUpload_No(String upload_No) {
this.upload_No = upload_No; this.upload_No = upload_No;
} }
@Id @Id
@Column(name = "ACCEPT_NO", nullable = false, length = 12) @Column(name = "ACCEPT_NO", nullable = false, length = 12)
public String getAccept_No() { public String getAccept_No() {
...@@ -61,6 +63,7 @@ public class AccCardTEntity { ...@@ -61,6 +63,7 @@ public class AccCardTEntity {
public void setName(String name) { public void setName(String name) {
this.name = name; this.name = name;
} }
@Basic @Basic
@Column(name = "SEX_NO", nullable = false, length = 1) @Column(name = "SEX_NO", nullable = false, length = 1)
public String getSex_No() { public String getSex_No() {
...@@ -70,6 +73,7 @@ public class AccCardTEntity { ...@@ -70,6 +73,7 @@ public class AccCardTEntity {
public void setSex_No(String sex_No) { public void setSex_No(String sex_No) {
this.sex_No = sex_No; this.sex_No = sex_No;
} }
@Basic @Basic
@Column(name = "NATION_NO", nullable = false, length = 2) @Column(name = "NATION_NO", nullable = false, length = 2)
public String getNation_No() { public String getNation_No() {
...@@ -89,6 +93,7 @@ public class AccCardTEntity { ...@@ -89,6 +93,7 @@ public class AccCardTEntity {
public void setBirthday(String birthday) { public void setBirthday(String birthday) {
this.birthday = birthday; this.birthday = birthday;
} }
@Basic @Basic
@Column(name = "ID_NO", nullable = false, length = 18) @Column(name = "ID_NO", nullable = false, length = 18)
public String getId_No() { public String getId_No() {
...@@ -138,6 +143,7 @@ public class AccCardTEntity { ...@@ -138,6 +143,7 @@ public class AccCardTEntity {
public void setAddress1(String address1) { public void setAddress1(String address1) {
this.address1 = address1; this.address1 = address1;
} }
@Basic @Basic
@Column(name = "SIGN_GOVT", nullable = false, length = 45) @Column(name = "SIGN_GOVT", nullable = false, length = 45)
public String getSign_Govt() { public String getSign_Govt() {
...@@ -147,6 +153,7 @@ public class AccCardTEntity { ...@@ -147,6 +153,7 @@ public class AccCardTEntity {
public void setSign_Govt(String sign_Govt) { public void setSign_Govt(String sign_Govt) {
this.sign_Govt = sign_Govt; this.sign_Govt = sign_Govt;
} }
@Basic @Basic
@Column(name = "EXPIRE_DATE", nullable = false, length = 8) @Column(name = "EXPIRE_DATE", nullable = false, length = 8)
public String getExpire_Date() { public String getExpire_Date() {
...@@ -156,6 +163,7 @@ public class AccCardTEntity { ...@@ -156,6 +163,7 @@ public class AccCardTEntity {
public void setExpire_Date(String expire_Date) { public void setExpire_Date(String expire_Date) {
this.expire_Date = expire_Date; this.expire_Date = expire_Date;
} }
@Basic @Basic
@Column(name = "BEGIN_DATE", nullable = false, length = 8) @Column(name = "BEGIN_DATE", nullable = false, length = 8)
public String getBegin_Date() { public String getBegin_Date() {
...@@ -165,6 +173,7 @@ public class AccCardTEntity { ...@@ -165,6 +173,7 @@ public class AccCardTEntity {
public void setBegin_Date(String begin_Date) { public void setBegin_Date(String begin_Date) {
this.begin_Date = begin_Date; this.begin_Date = begin_Date;
} }
@Basic @Basic
@Column(name = "APPLY_REASON", nullable = false, length = 2) @Column(name = "APPLY_REASON", nullable = false, length = 2)
public String getApply_Reason() { public String getApply_Reason() {
...@@ -174,6 +183,7 @@ public class AccCardTEntity { ...@@ -174,6 +183,7 @@ public class AccCardTEntity {
public void setApply_Reason(String apply_Reason) { public void setApply_Reason(String apply_Reason) {
this.apply_Reason = apply_Reason; this.apply_Reason = apply_Reason;
} }
@Basic @Basic
@Column(name = "STATUS_NO", nullable = true, length = 1) @Column(name = "STATUS_NO", nullable = true, length = 1)
public String getStatus_No() { public String getStatus_No() {
......
...@@ -11,6 +11,7 @@ public class AccGroupRelationTEntity { ...@@ -11,6 +11,7 @@ public class AccGroupRelationTEntity {
private String deal_Status; private String deal_Status;
private String deal_Date; private String deal_Date;
private String upload_Unit_No; private String upload_Unit_No;
@Id @Id
@Column(name = "GROUP_NO", nullable = false, length = 10) @Column(name = "GROUP_NO", nullable = false, length = 10)
public String getGroup_No() { public String getGroup_No() {
...@@ -20,6 +21,7 @@ public class AccGroupRelationTEntity { ...@@ -20,6 +21,7 @@ public class AccGroupRelationTEntity {
public void setGroup_No(String group_No) { public void setGroup_No(String group_No) {
this.group_No = group_No; this.group_No = group_No;
} }
@Basic @Basic
@Column(name = "ORIGINAL_NO", nullable = false, length = 25) @Column(name = "ORIGINAL_NO", nullable = false, length = 25)
public String getOriginal_No() { public String getOriginal_No() {
...@@ -29,6 +31,7 @@ public class AccGroupRelationTEntity { ...@@ -29,6 +31,7 @@ public class AccGroupRelationTEntity {
public void setOriginal_No(String original_No) { public void setOriginal_No(String original_No) {
this.original_No = original_No; this.original_No = original_No;
} }
@Basic @Basic
@Column(name = "DEAL_STATUS", nullable = true, length = 1) @Column(name = "DEAL_STATUS", nullable = true, length = 1)
public String getDeal_Status() { public String getDeal_Status() {
...@@ -38,6 +41,7 @@ public class AccGroupRelationTEntity { ...@@ -38,6 +41,7 @@ public class AccGroupRelationTEntity {
public void setDeal_Status(String deal_Status) { public void setDeal_Status(String deal_Status) {
this.deal_Status = deal_Status; this.deal_Status = deal_Status;
} }
@Basic @Basic
@Column(name = "DEAL_DATE", nullable = false, length = 8) @Column(name = "DEAL_DATE", nullable = false, length = 8)
public String getDeal_Date() { public String getDeal_Date() {
...@@ -47,6 +51,7 @@ public class AccGroupRelationTEntity { ...@@ -47,6 +51,7 @@ public class AccGroupRelationTEntity {
public void setDeal_Date(String deal_Date) { public void setDeal_Date(String deal_Date) {
this.deal_Date = deal_Date; this.deal_Date = deal_Date;
} }
@Basic @Basic
@Column(name = "UPLOAD_UNIT_NO", nullable = false, length = 12) @Column(name = "UPLOAD_UNIT_NO", nullable = false, length = 12)
public String getUpload_Unit_No() { public String getUpload_Unit_No() {
......
...@@ -15,6 +15,7 @@ public class AccGroupTEntity { ...@@ -15,6 +15,7 @@ public class AccGroupTEntity {
private Byte invalid_Count; private Byte invalid_Count;
private Time submit_Date; private Time submit_Date;
private String submit_Code; private String submit_Code;
@Id @Id
@Column(name = "GROUP_NO", nullable = false, length = 10) @Column(name = "GROUP_NO", nullable = false, length = 10)
public String getGroup_No() { public String getGroup_No() {
...@@ -24,6 +25,7 @@ public class AccGroupTEntity { ...@@ -24,6 +25,7 @@ public class AccGroupTEntity {
public void setGroup_No(String group_No) { public void setGroup_No(String group_No) {
this.group_No = group_No; this.group_No = group_No;
} }
@Basic @Basic
@Column(name = "USER_CODE", nullable = true, length = 8) @Column(name = "USER_CODE", nullable = true, length = 8)
public String getUser_Code() { public String getUser_Code() {
...@@ -33,6 +35,7 @@ public class AccGroupTEntity { ...@@ -33,6 +35,7 @@ public class AccGroupTEntity {
public void setUser_Code(String user_Code) { public void setUser_Code(String user_Code) {
this.user_Code = user_Code; this.user_Code = user_Code;
} }
@Basic @Basic
@Column(name = "IMPORT_TIME", nullable = true) @Column(name = "IMPORT_TIME", nullable = true)
public Time getImport_Time() { public Time getImport_Time() {
...@@ -42,6 +45,7 @@ public class AccGroupTEntity { ...@@ -42,6 +45,7 @@ public class AccGroupTEntity {
public void setImport_Time(Time import_Time) { public void setImport_Time(Time import_Time) {
this.import_Time = import_Time; this.import_Time = import_Time;
} }
@Basic @Basic
@Column(name = "DEAL_FLAG", nullable = false, length = 1) @Column(name = "DEAL_FLAG", nullable = false, length = 1)
public String getDeal_Flag() { public String getDeal_Flag() {
...@@ -51,6 +55,7 @@ public class AccGroupTEntity { ...@@ -51,6 +55,7 @@ public class AccGroupTEntity {
public void setDeal_Flag(String deal_Flag) { public void setDeal_Flag(String deal_Flag) {
this.deal_Flag = deal_Flag; this.deal_Flag = deal_Flag;
} }
@Basic @Basic
@Column(name = "VALID_COUNT", nullable = true, precision = 0) @Column(name = "VALID_COUNT", nullable = true, precision = 0)
public Byte getValid_Count() { public Byte getValid_Count() {
...@@ -60,6 +65,7 @@ public class AccGroupTEntity { ...@@ -60,6 +65,7 @@ public class AccGroupTEntity {
public void setValid_Count(Byte valid_Count) { public void setValid_Count(Byte valid_Count) {
this.valid_Count = valid_Count; this.valid_Count = valid_Count;
} }
@Basic @Basic
@Column(name = "INVALID_COUNT", nullable = true, precision = 0) @Column(name = "INVALID_COUNT", nullable = true, precision = 0)
public Byte getInvalid_Count() { public Byte getInvalid_Count() {
...@@ -69,6 +75,7 @@ public class AccGroupTEntity { ...@@ -69,6 +75,7 @@ public class AccGroupTEntity {
public void setInvalid_Count(Byte invalid_Count) { public void setInvalid_Count(Byte invalid_Count) {
this.invalid_Count = invalid_Count; this.invalid_Count = invalid_Count;
} }
@Basic @Basic
@Column(name = "SUBMIT_DATE", nullable = true) @Column(name = "SUBMIT_DATE", nullable = true)
public Time getSubmit_Date() { public Time getSubmit_Date() {
...@@ -78,6 +85,7 @@ public class AccGroupTEntity { ...@@ -78,6 +85,7 @@ public class AccGroupTEntity {
public void setSubmit_Date(Time submit_Date) { public void setSubmit_Date(Time submit_Date) {
this.submit_Date = submit_Date; this.submit_Date = submit_Date;
} }
@Basic @Basic
@Column(name = "SUBMIT_CODE", nullable = true, length = 8) @Column(name = "SUBMIT_CODE", nullable = true, length = 8)
public String getSubmit_Code() { public String getSubmit_Code() {
......
...@@ -15,6 +15,7 @@ public class ProdApplyInfoTEntity { ...@@ -15,6 +15,7 @@ public class ProdApplyInfoTEntity {
private String apply_Address; private String apply_Address;
private String draw_Type; private String draw_Type;
private String province_No; private String province_No;
@Basic @Basic
@Column(name = "UPLOAD_NO", nullable = false, length = 22) @Column(name = "UPLOAD_NO", nullable = false, length = 22)
public String getUpload_No() { public String getUpload_No() {
...@@ -24,6 +25,7 @@ public class ProdApplyInfoTEntity { ...@@ -24,6 +25,7 @@ public class ProdApplyInfoTEntity {
public void setUpload_No(String upload_No) { public void setUpload_No(String upload_No) {
this.upload_No = upload_No; this.upload_No = upload_No;
} }
@Id @Id
@Column(name = "ACCEPT_NO", nullable = false, length = 12) @Column(name = "ACCEPT_NO", nullable = false, length = 12)
public String getAccept_No() { public String getAccept_No() {
...@@ -33,6 +35,7 @@ public class ProdApplyInfoTEntity { ...@@ -33,6 +35,7 @@ public class ProdApplyInfoTEntity {
public void setAccept_No(String accept_No) { public void setAccept_No(String accept_No) {
this.accept_No = accept_No; this.accept_No = accept_No;
} }
@Basic @Basic
@Column(name = "MAKE_TYPE", nullable = true, length = 1) @Column(name = "MAKE_TYPE", nullable = true, length = 1)
public String getMake_Type() { public String getMake_Type() {
...@@ -42,6 +45,7 @@ public class ProdApplyInfoTEntity { ...@@ -42,6 +45,7 @@ public class ProdApplyInfoTEntity {
public void setMake_Type(String make_Type) { public void setMake_Type(String make_Type) {
this.make_Type = make_Type; this.make_Type = make_Type;
} }
@Basic @Basic
@Column(name = "APPLY_NAME", nullable = true, length = 45) @Column(name = "APPLY_NAME", nullable = true, length = 45)
public String getApply_Name() { public String getApply_Name() {
...@@ -51,6 +55,7 @@ public class ProdApplyInfoTEntity { ...@@ -51,6 +55,7 @@ public class ProdApplyInfoTEntity {
public void setApply_Name(String apply_Name) { public void setApply_Name(String apply_Name) {
this.apply_Name = apply_Name; this.apply_Name = apply_Name;
} }
@Basic @Basic
@Column(name = "APPLY_PHONE", nullable = true, length = 20) @Column(name = "APPLY_PHONE", nullable = true, length = 20)
public String getApply_Phone() { public String getApply_Phone() {
...@@ -60,6 +65,7 @@ public class ProdApplyInfoTEntity { ...@@ -60,6 +65,7 @@ public class ProdApplyInfoTEntity {
public void setApply_Phone(String apply_Phone) { public void setApply_Phone(String apply_Phone) {
this.apply_Phone = apply_Phone; this.apply_Phone = apply_Phone;
} }
@Basic @Basic
@Column(name = "APPLY_POSTCODE", nullable = true, length = 6) @Column(name = "APPLY_POSTCODE", nullable = true, length = 6)
public String getApply_Postcode() { public String getApply_Postcode() {
...@@ -69,6 +75,7 @@ public class ProdApplyInfoTEntity { ...@@ -69,6 +75,7 @@ public class ProdApplyInfoTEntity {
public void setApply_Postcode(String apply_Postcode) { public void setApply_Postcode(String apply_Postcode) {
this.apply_Postcode = apply_Postcode; this.apply_Postcode = apply_Postcode;
} }
@Basic @Basic
@Column(name = "APPLY_ADDRESS", nullable = true, length = 105) @Column(name = "APPLY_ADDRESS", nullable = true, length = 105)
public String getApply_Address() { public String getApply_Address() {
...@@ -78,6 +85,7 @@ public class ProdApplyInfoTEntity { ...@@ -78,6 +85,7 @@ public class ProdApplyInfoTEntity {
public void setApply_Address(String apply_Address) { public void setApply_Address(String apply_Address) {
this.apply_Address = apply_Address; this.apply_Address = apply_Address;
} }
@Basic @Basic
@Column(name = "DRAW_TYPE", nullable = false, length = 2) @Column(name = "DRAW_TYPE", nullable = false, length = 2)
public String getDraw_Type() { public String getDraw_Type() {
...@@ -87,6 +95,7 @@ public class ProdApplyInfoTEntity { ...@@ -87,6 +95,7 @@ public class ProdApplyInfoTEntity {
public void setDraw_Type(String draw_Type) { public void setDraw_Type(String draw_Type) {
this.draw_Type = draw_Type; this.draw_Type = draw_Type;
} }
@Basic @Basic
@Column(name = "PROVINCE_NO", nullable = true, length = 6) @Column(name = "PROVINCE_NO", nullable = true, length = 6)
public String getProvince_No() { public String getProvince_No() {
...@@ -98,7 +107,6 @@ public class ProdApplyInfoTEntity { ...@@ -98,7 +107,6 @@ public class ProdApplyInfoTEntity {
} }
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (this == o) return true; if (this == o) return true;
......
...@@ -29,6 +29,7 @@ public class ProdGroupTEntity { ...@@ -29,6 +29,7 @@ public class ProdGroupTEntity {
private String move_Flag; private String move_Flag;
private Byte move_Count; private Byte move_Count;
private Time move_Date; private Time move_Date;
@Id @Id
@Column(name = "GROUP_NO", nullable = false, length = 10) @Column(name = "GROUP_NO", nullable = false, length = 10)
public String getGroup_No() { public String getGroup_No() {
...@@ -38,6 +39,7 @@ public class ProdGroupTEntity { ...@@ -38,6 +39,7 @@ public class ProdGroupTEntity {
public void setGroup_No(String group_No) { public void setGroup_No(String group_No) {
this.group_No = group_No; this.group_No = group_No;
} }
@Basic @Basic
@Column(name = "VALID_COUNT", nullable = true, precision = 0) @Column(name = "VALID_COUNT", nullable = true, precision = 0)
public Byte getValid_Count() { public Byte getValid_Count() {
...@@ -47,6 +49,7 @@ public class ProdGroupTEntity { ...@@ -47,6 +49,7 @@ public class ProdGroupTEntity {
public void setValid_Count(Byte valid_Count) { public void setValid_Count(Byte valid_Count) {
this.valid_Count = valid_Count; this.valid_Count = valid_Count;
} }
@Basic @Basic
@Column(name = "INVALID_COUNT", nullable = true, precision = 0) @Column(name = "INVALID_COUNT", nullable = true, precision = 0)
public Byte getInvalid_Count() { public Byte getInvalid_Count() {
...@@ -56,6 +59,7 @@ public class ProdGroupTEntity { ...@@ -56,6 +59,7 @@ public class ProdGroupTEntity {
public void setInvalid_Count(Byte invalid_Count) { public void setInvalid_Count(Byte invalid_Count) {
this.invalid_Count = invalid_Count; this.invalid_Count = invalid_Count;
} }
@Basic @Basic
@Column(name = "SUBMIT_DATE", nullable = true) @Column(name = "SUBMIT_DATE", nullable = true)
public Time getSubmit_Date() { public Time getSubmit_Date() {
...@@ -65,6 +69,7 @@ public class ProdGroupTEntity { ...@@ -65,6 +69,7 @@ public class ProdGroupTEntity {
public void setSubmit_Date(Time submit_Date) { public void setSubmit_Date(Time submit_Date) {
this.submit_Date = submit_Date; this.submit_Date = submit_Date;
} }
@Basic @Basic
@Column(name = "SUBMIT_CODE", nullable = true, length = 8) @Column(name = "SUBMIT_CODE", nullable = true, length = 8)
public String getSubmit_Code() { public String getSubmit_Code() {
...@@ -74,6 +79,7 @@ public class ProdGroupTEntity { ...@@ -74,6 +79,7 @@ public class ProdGroupTEntity {
public void setSubmit_Code(String submit_Code) { public void setSubmit_Code(String submit_Code) {
this.submit_Code = submit_Code; this.submit_Code = submit_Code;
} }
@Basic @Basic
@Column(name = "EXPORT_DATE", nullable = true) @Column(name = "EXPORT_DATE", nullable = true)
public Time getExport_Date() { public Time getExport_Date() {
...@@ -83,6 +89,7 @@ public class ProdGroupTEntity { ...@@ -83,6 +89,7 @@ public class ProdGroupTEntity {
public void setExport_Date(Time export_Date) { public void setExport_Date(Time export_Date) {
this.export_Date = export_Date; this.export_Date = export_Date;
} }
@Basic @Basic
@Column(name = "EXPORT_CODE", nullable = true, length = 8) @Column(name = "EXPORT_CODE", nullable = true, length = 8)
public String getExport_Code() { public String getExport_Code() {
...@@ -92,6 +99,7 @@ public class ProdGroupTEntity { ...@@ -92,6 +99,7 @@ public class ProdGroupTEntity {
public void setExport_Code(String export_Code) { public void setExport_Code(String export_Code) {
this.export_Code = export_Code; this.export_Code = export_Code;
} }
@Basic @Basic
@Column(name = "DOWNLOAD_FLAG", nullable = true, length = 1) @Column(name = "DOWNLOAD_FLAG", nullable = true, length = 1)
public String getDownload_Flag() { public String getDownload_Flag() {
...@@ -101,6 +109,7 @@ public class ProdGroupTEntity { ...@@ -101,6 +109,7 @@ public class ProdGroupTEntity {
public void setDownload_Flag(String download_Flag) { public void setDownload_Flag(String download_Flag) {
this.download_Flag = download_Flag; this.download_Flag = download_Flag;
} }
@Basic @Basic
@Column(name = "DOWNLOAD_COUNT", nullable = true, precision = 0) @Column(name = "DOWNLOAD_COUNT", nullable = true, precision = 0)
public Byte getDownload_Count() { public Byte getDownload_Count() {
...@@ -110,6 +119,7 @@ public class ProdGroupTEntity { ...@@ -110,6 +119,7 @@ public class ProdGroupTEntity {
public void setDownload_Count(Byte download_Count) { public void setDownload_Count(Byte download_Count) {
this.download_Count = download_Count; this.download_Count = download_Count;
} }
@Basic @Basic
@Column(name = "DOWNLOAD_DATE", nullable = true) @Column(name = "DOWNLOAD_DATE", nullable = true)
public Time getDownload_Date() { public Time getDownload_Date() {
...@@ -119,6 +129,7 @@ public class ProdGroupTEntity { ...@@ -119,6 +129,7 @@ public class ProdGroupTEntity {
public void setDownload_Date(Time download_Date) { public void setDownload_Date(Time download_Date) {
this.download_Date = download_Date; this.download_Date = download_Date;
} }
@Basic @Basic
@Column(name = "EWRITE_FLAG", nullable = true, length = 1) @Column(name = "EWRITE_FLAG", nullable = true, length = 1)
public String getEwrite_Flag() { public String getEwrite_Flag() {
...@@ -128,6 +139,7 @@ public class ProdGroupTEntity { ...@@ -128,6 +139,7 @@ public class ProdGroupTEntity {
public void setEwrite_Flag(String ewrite_Flag) { public void setEwrite_Flag(String ewrite_Flag) {
this.ewrite_Flag = ewrite_Flag; this.ewrite_Flag = ewrite_Flag;
} }
@Basic @Basic
@Column(name = "EWRITE_COUNT", nullable = true, precision = 0) @Column(name = "EWRITE_COUNT", nullable = true, precision = 0)
public Byte getEwrite_Count() { public Byte getEwrite_Count() {
...@@ -137,6 +149,7 @@ public class ProdGroupTEntity { ...@@ -137,6 +149,7 @@ public class ProdGroupTEntity {
public void setEwrite_Count(Byte ewrite_Count) { public void setEwrite_Count(Byte ewrite_Count) {
this.ewrite_Count = ewrite_Count; this.ewrite_Count = ewrite_Count;
} }
@Basic @Basic
@Column(name = "EWRITE_DATE", nullable = true) @Column(name = "EWRITE_DATE", nullable = true)
public Time getEwrite_Date() { public Time getEwrite_Date() {
...@@ -146,6 +159,7 @@ public class ProdGroupTEntity { ...@@ -146,6 +159,7 @@ public class ProdGroupTEntity {
public void setEwrite_Date(Time ewrite_Date) { public void setEwrite_Date(Time ewrite_Date) {
this.ewrite_Date = ewrite_Date; this.ewrite_Date = ewrite_Date;
} }
@Basic @Basic
@Column(name = "CHECK_FLAG", nullable = true, length = 1) @Column(name = "CHECK_FLAG", nullable = true, length = 1)
public String getCheck_Flag() { public String getCheck_Flag() {
...@@ -155,6 +169,7 @@ public class ProdGroupTEntity { ...@@ -155,6 +169,7 @@ public class ProdGroupTEntity {
public void setCheck_Flag(String check_Flag) { public void setCheck_Flag(String check_Flag) {
this.check_Flag = check_Flag; this.check_Flag = check_Flag;
} }
@Basic @Basic
@Column(name = "CHECK_COUNT", nullable = true, precision = 0) @Column(name = "CHECK_COUNT", nullable = true, precision = 0)
public Byte getCheck_Count() { public Byte getCheck_Count() {
...@@ -164,6 +179,7 @@ public class ProdGroupTEntity { ...@@ -164,6 +179,7 @@ public class ProdGroupTEntity {
public void setCheck_Count(Byte check_Count) { public void setCheck_Count(Byte check_Count) {
this.check_Count = check_Count; this.check_Count = check_Count;
} }
@Basic @Basic
@Column(name = "CHECK_DATE", nullable = true) @Column(name = "CHECK_DATE", nullable = true)
public Time getCheck_Date() { public Time getCheck_Date() {
...@@ -173,6 +189,7 @@ public class ProdGroupTEntity { ...@@ -173,6 +189,7 @@ public class ProdGroupTEntity {
public void setCheck_Date(Time check_Date) { public void setCheck_Date(Time check_Date) {
this.check_Date = check_Date; this.check_Date = check_Date;
} }
@Basic @Basic
@Column(name = "SEND_FLAG", nullable = true, length = 1) @Column(name = "SEND_FLAG", nullable = true, length = 1)
public String getSend_Flag() { public String getSend_Flag() {
...@@ -182,6 +199,7 @@ public class ProdGroupTEntity { ...@@ -182,6 +199,7 @@ public class ProdGroupTEntity {
public void setSend_Flag(String send_Flag) { public void setSend_Flag(String send_Flag) {
this.send_Flag = send_Flag; this.send_Flag = send_Flag;
} }
@Basic @Basic
@Column(name = "SEND_COUNT", nullable = true, precision = 0) @Column(name = "SEND_COUNT", nullable = true, precision = 0)
public Byte getSend_Count() { public Byte getSend_Count() {
...@@ -191,6 +209,7 @@ public class ProdGroupTEntity { ...@@ -191,6 +209,7 @@ public class ProdGroupTEntity {
public void setSend_Count(Byte send_Count) { public void setSend_Count(Byte send_Count) {
this.send_Count = send_Count; this.send_Count = send_Count;
} }
@Basic @Basic
@Column(name = "SEND_DATE", nullable = true) @Column(name = "SEND_DATE", nullable = true)
public Time getSend_Date() { public Time getSend_Date() {
...@@ -200,6 +219,7 @@ public class ProdGroupTEntity { ...@@ -200,6 +219,7 @@ public class ProdGroupTEntity {
public void setSend_Date(Time send_Date) { public void setSend_Date(Time send_Date) {
this.send_Date = send_Date; this.send_Date = send_Date;
} }
@Basic @Basic
@Column(name = "MOVE_FLAG", nullable = true, length = 1) @Column(name = "MOVE_FLAG", nullable = true, length = 1)
public String getMove_Flag() { public String getMove_Flag() {
...@@ -209,6 +229,7 @@ public class ProdGroupTEntity { ...@@ -209,6 +229,7 @@ public class ProdGroupTEntity {
public void setMove_Flag(String move_Flag) { public void setMove_Flag(String move_Flag) {
this.move_Flag = move_Flag; this.move_Flag = move_Flag;
} }
@Basic @Basic
@Column(name = "MOVE_COUNT", nullable = true, precision = 0) @Column(name = "MOVE_COUNT", nullable = true, precision = 0)
public Byte getMove_Count() { public Byte getMove_Count() {
...@@ -218,6 +239,7 @@ public class ProdGroupTEntity { ...@@ -218,6 +239,7 @@ public class ProdGroupTEntity {
public void setMove_Count(Byte move_Count) { public void setMove_Count(Byte move_Count) {
this.move_Count = move_Count; this.move_Count = move_Count;
} }
@Basic @Basic
@Column(name = "MOVE_DATE", nullable = true) @Column(name = "MOVE_DATE", nullable = true)
public Time getMove_Date() { public Time getMove_Date() {
......
...@@ -20,6 +20,7 @@ public class ProdTraceTEntity { ...@@ -20,6 +20,7 @@ public class ProdTraceTEntity {
private Time check_Date; private Time check_Date;
private String mover_No; private String mover_No;
private Time move_Date; private Time move_Date;
@Id @Id
@Column(name = "ACCEPT_NO", nullable = false, length = 12) @Column(name = "ACCEPT_NO", nullable = false, length = 12)
public String getAccept_No() { public String getAccept_No() {
...@@ -29,6 +30,7 @@ public class ProdTraceTEntity { ...@@ -29,6 +30,7 @@ public class ProdTraceTEntity {
public void setAccept_No(String accept_No) { public void setAccept_No(String accept_No) {
this.accept_No = accept_No; this.accept_No = accept_No;
} }
@Basic @Basic
@Column(name = "PHOTOER_NO", nullable = true, length = 8) @Column(name = "PHOTOER_NO", nullable = true, length = 8)
public String getPhotoer_No() { public String getPhotoer_No() {
...@@ -38,6 +40,7 @@ public class ProdTraceTEntity { ...@@ -38,6 +40,7 @@ public class ProdTraceTEntity {
public void setPhotoer_No(String photoer_No) { public void setPhotoer_No(String photoer_No) {
this.photoer_No = photoer_No; this.photoer_No = photoer_No;
} }
@Basic @Basic
@Column(name = "PHOTO_DATE", nullable = true) @Column(name = "PHOTO_DATE", nullable = true)
public Time getPhoto_Date() { public Time getPhoto_Date() {
...@@ -47,6 +50,7 @@ public class ProdTraceTEntity { ...@@ -47,6 +50,7 @@ public class ProdTraceTEntity {
public void setPhoto_Date(Time photo_Date) { public void setPhoto_Date(Time photo_Date) {
this.photo_Date = photo_Date; this.photo_Date = photo_Date;
} }
@Basic @Basic
@Column(name = "EXPORT_NO", nullable = true, length = 8) @Column(name = "EXPORT_NO", nullable = true, length = 8)
public String getExport_No() { public String getExport_No() {
...@@ -56,6 +60,7 @@ public class ProdTraceTEntity { ...@@ -56,6 +60,7 @@ public class ProdTraceTEntity {
public void setExport_No(String export_No) { public void setExport_No(String export_No) {
this.export_No = export_No; this.export_No = export_No;
} }
@Basic @Basic
@Column(name = "EXPORT_DATE", nullable = true) @Column(name = "EXPORT_DATE", nullable = true)
public Time getExport_Date() { public Time getExport_Date() {
...@@ -65,6 +70,7 @@ public class ProdTraceTEntity { ...@@ -65,6 +70,7 @@ public class ProdTraceTEntity {
public void setExport_Date(Time export_Date) { public void setExport_Date(Time export_Date) {
this.export_Date = export_Date; this.export_Date = export_Date;
} }
@Basic @Basic
@Column(name = "DOWNLOAD_NO", nullable = true, length = 8) @Column(name = "DOWNLOAD_NO", nullable = true, length = 8)
public String getDownload_No() { public String getDownload_No() {
...@@ -74,6 +80,7 @@ public class ProdTraceTEntity { ...@@ -74,6 +80,7 @@ public class ProdTraceTEntity {
public void setDownload_No(String download_No) { public void setDownload_No(String download_No) {
this.download_No = download_No; this.download_No = download_No;
} }
@Basic @Basic
@Column(name = "DOWNLOAD_DATE", nullable = true) @Column(name = "DOWNLOAD_DATE", nullable = true)
public Time getDownload_Date() { public Time getDownload_Date() {
...@@ -83,6 +90,7 @@ public class ProdTraceTEntity { ...@@ -83,6 +90,7 @@ public class ProdTraceTEntity {
public void setDownload_Date(Time download_Date) { public void setDownload_Date(Time download_Date) {
this.download_Date = download_Date; this.download_Date = download_Date;
} }
@Basic @Basic
@Column(name = "ELECTRIC_WRITER_NO", nullable = true, length = 8) @Column(name = "ELECTRIC_WRITER_NO", nullable = true, length = 8)
public String getElectric_Writer_No() { public String getElectric_Writer_No() {
...@@ -92,6 +100,7 @@ public class ProdTraceTEntity { ...@@ -92,6 +100,7 @@ public class ProdTraceTEntity {
public void setElectric_Writer_No(String electric_Writer_No) { public void setElectric_Writer_No(String electric_Writer_No) {
this.electric_Writer_No = electric_Writer_No; this.electric_Writer_No = electric_Writer_No;
} }
@Basic @Basic
@Column(name = "ELECTRIC_WRITE_DATE", nullable = true) @Column(name = "ELECTRIC_WRITE_DATE", nullable = true)
public Time getElectric_Write_Date() { public Time getElectric_Write_Date() {
...@@ -101,6 +110,7 @@ public class ProdTraceTEntity { ...@@ -101,6 +110,7 @@ public class ProdTraceTEntity {
public void setElectric_Write_Date(Time electric_Write_Date) { public void setElectric_Write_Date(Time electric_Write_Date) {
this.electric_Write_Date = electric_Write_Date; this.electric_Write_Date = electric_Write_Date;
} }
@Basic @Basic
@Column(name = "CHECKER_NO", nullable = true, length = 8) @Column(name = "CHECKER_NO", nullable = true, length = 8)
public String getChecker_No() { public String getChecker_No() {
...@@ -110,6 +120,7 @@ public class ProdTraceTEntity { ...@@ -110,6 +120,7 @@ public class ProdTraceTEntity {
public void setChecker_No(String checker_No) { public void setChecker_No(String checker_No) {
this.checker_No = checker_No; this.checker_No = checker_No;
} }
@Basic @Basic
@Column(name = "CHECK_DATE", nullable = true) @Column(name = "CHECK_DATE", nullable = true)
public Time getCheck_Date() { public Time getCheck_Date() {
...@@ -119,6 +130,7 @@ public class ProdTraceTEntity { ...@@ -119,6 +130,7 @@ public class ProdTraceTEntity {
public void setCheck_Date(Time check_Date) { public void setCheck_Date(Time check_Date) {
this.check_Date = check_Date; this.check_Date = check_Date;
} }
@Basic @Basic
@Column(name = "MOVER_NO", nullable = true, length = 8) @Column(name = "MOVER_NO", nullable = true, length = 8)
public String getMover_No() { public String getMover_No() {
...@@ -128,6 +140,7 @@ public class ProdTraceTEntity { ...@@ -128,6 +140,7 @@ public class ProdTraceTEntity {
public void setMover_No(String mover_No) { public void setMover_No(String mover_No) {
this.mover_No = mover_No; this.mover_No = mover_No;
} }
@Basic @Basic
@Column(name = "MOVE_DATE", nullable = true) @Column(name = "MOVE_DATE", nullable = true)
public Time getMove_Date() { public Time getMove_Date() {
...@@ -137,6 +150,7 @@ public class ProdTraceTEntity { ...@@ -137,6 +150,7 @@ public class ProdTraceTEntity {
public void setMove_Date(Time move_Date) { public void setMove_Date(Time move_Date) {
this.move_Date = move_Date; this.move_Date = move_Date;
} }
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (this == o) return true; if (this == o) return true;
......
package com.yxproject.start.mapper;
import com.yxproject.start.entity.FailedCardEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/10/30 9:42
*/
@Mapper
public interface FailedCardMapper {
/**
* 新增废证
* @param failedCardEntity
* @return
*/
// @InsertProvider(type=com.yxproject.start.SqlProvider.SqlProvider.class,method="saveFailedinfoEntity")
//// @Options(useGeneratedKeys=true,keyProperty="failedinfoid")
public void saveFailedCardEntity(FailedCardEntity failedCardEntity);
/**
* 更新废证
* @param failedCardEntity
*/
// @UpdateProvider(type=com.yxproject.start.SqlProvider.SqlProvider.class,method="updateFailedinfoEntity")
public void updateFailedCardEntity(FailedCardEntity failedCardEntity);
/**
* 查询废证详情
* @return
*/
// @SelectProvider(type=com.yxproject.start.SqlProvider.SqlProvider.class,method="selectFailedinfoBycolumnName")
public List<Map<String,Object>> selectFailedCardEntityByState(int state);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.GroupNoEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/10/13 9:36
*/
@Mapper
public interface GroupNoMapper {
public int insertGroupNoEntity(GroupNoEntity groupNoEntity);
public List<GroupNoEntity> findGroupNoEntityByAcceptNo(String acceptNo);
public int updateGroupinfoEntity(GroupNoEntity groupNoEntity);
public List<GroupNoEntity> findGroupNoEntityListByTaskId(long task_Id);
public int findGroupNoCountByTaskId(String task_Id);
public List<Map<String,Object>> findSpecialCountyList(String task_Id);
public List<Map<String,Object>> findNormalCountyList(String task_Id);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.PoliceStationApplyReasonEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/11/12 14:24
*/
@Mapper
public interface PoliceStationApplyReasonMapper {
public int savePoliceStationApplyReasonEntity(PoliceStationApplyReasonEntity policeStationApplyReasonEntity);
public int updatePoliceStationApplyReasonEntity(PoliceStationApplyReasonEntity policeStationApplyReasonEntity);
public List<Map<String,Object>> findNormalApplyReasonByCyclesheetID(String cyclesheetid);
public List<Map<String,Object>> findSpecialApplyReasonByCyclesheetID(String cyclesheetid);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.PoliceStationVailedEntity;
import org.apache.ibatis.annotations.*;
import java.util.List;
/**
* Created by zhangyusheng on 2018/10/25 13:45
*/
@Mapper
public interface PoliceStationVailedMapper {
/**
* 保存派出所照片质量报表
* @param policeStationVailedInfoEntity
* @return
*/
@Insert("INSERT INTO POLICE_STATION_VAILED_INFO (POLICE_STATION_VAILED_INFO_ID,CYCLESHEETID,POLICE_STATION_CODE,VAILED_COUNT,INVALID_COUNT,SAVA_DATE) " +
"values (#{police_Station_Vailed_Info_Id},#{cyclesheetid},#{police_Station_Code},#{vailed_Count},#{invalid_Count},#{sava_Date})")
@Options(useGeneratedKeys = true, keyProperty = "police_Station_Vailed_Info_Id",keyColumn = "police_Station_Vailed_Info_Id")
public void savePoliceStationVailedInfoEntity(PoliceStationVailedEntity policeStationVailedEntity);
@Select("select * from POLICE_STATION_VAILED_INFO WHERE POLICE_STATION_VAILED_INFO_ID=#{id}")
@Results({@Result(property = "police_Station_Vailed_Info_Id",column = "police_Station_Vailed_Info_Id"),
@Result(property = "cyclesheetid",column = "cyclesheetid"),
@Result(property = "police_Station_Code",column = "police_Station_Code"),
@Result(property = "vailed_Count",column = "vailed_Count"),
@Result(property = "invalid_Count",column = "invalid_Count"),
@Result(property = "sava_Date",column = "sava_Date")})
public List<PoliceStationVailedEntity> findPoliceStationVailedEntity(String id);
}
package com.yxproject.start.mapper; package com.yxproject.start.mapper;
import com.yxproject.start.entity.ProductionTaskListEntity;
import com.yxproject.start.entity.prod.ProdCardTEntity; import com.yxproject.start.entity.prod.ProdCardTEntity;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;
import java.util.List; import java.util.List;
...@@ -12,7 +10,7 @@ import java.util.List; ...@@ -12,7 +10,7 @@ import java.util.List;
*/ */
@Mapper @Mapper
public interface ProdCardTMapper { public interface ProdCardTMapper {
@SelectProvider(type=com.yxproject.start.SqlProvider.SqlProvider.class,method="findCardInfoByCardIDOrAcceptNoAtPRODSql") // @SelectProvider(type=com.yxproject.start.SqlProvider.SqlProvider.class,method="findCardInfoByCardIDOrAcceptNoAtPRODSql")
List<ProdCardTEntity> findCardInfo(String card); List<ProdCardTEntity> findCardInfo(String card);
} }
package com.yxproject.start.mapper;
import com.yxproject.start.entity.ProductionTaskListEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.UpdateProvider;
import java.util.List;
/**
* Created by zhangyusheng on 2018/10/13 9:36
*/
@Mapper
public interface ProductionTaskListMapper {
public List<ProductionTaskListEntity> findProductionTaskListEntity(String id);
public int insertProductionTaskListEntity(ProductionTaskListEntity productionTaskListEntity);
public int updateProductionTask(ProductionTaskListEntity productionTaskListEntity);
public List<ProductionTaskListEntity> findProductionTaskListEntityByAcceptNo(String acceptNo);
}
package com.yxproject.start.mapper;
import com.yxproject.start.entity.SpecialCardEntity;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* Created by zhangyusheng on 2018/11/7 15:06
*/
@Mapper
public interface SpecialCardMapper {
public List<SpecialCardEntity> findSpecialCardEntityByAcceptNo(String acceptNo);
public void saveSpecialCardEntity(SpecialCardEntity specialCardEntity);
public void updateSpecialCardEntity(SpecialCardEntity specialCardEntity);
public List<SpecialCardEntity> findSpecialCardEntityByGroupNo(String groupNo);
}
...@@ -15,7 +15,7 @@ public interface SysRoleMapper { ...@@ -15,7 +15,7 @@ public interface SysRoleMapper {
* 添加角色 * 添加角色
* @param sysRole * @param sysRole
*/ */
@Insert("INSERT INTO DAHAI.SYS_ROLE(ID,AVAILABLE,DESCRIPTION,ROLE)\n" + @Insert("INSERT INTO SYS_ROLE(ID,AVAILABLE,DESCRIPTION,ROLE)\n" +
"VALUES(PERMISSION_seq.nextval,0,#{description},#{role})") "VALUES(PERMISSION_seq.nextval,0,#{description},#{role})")
@Options(useGeneratedKeys = true, keyProperty = "id",keyColumn = "id") @Options(useGeneratedKeys = true, keyProperty = "id",keyColumn = "id")
public void addRoleByMap(SysRole sysRole); public void addRoleByMap(SysRole sysRole);
...@@ -25,7 +25,7 @@ public interface SysRoleMapper { ...@@ -25,7 +25,7 @@ public interface SysRoleMapper {
* @param roleId * @param roleId
* @param permissionId * @param permissionId
*/ */
@Insert("INSERT INTO DAHAI.SYS_ROLE_PERMISSION(ROLE_ID,PERMISSION_ID)VALUES(#{roleId},#{permissionId})") @Insert("INSERT INTO SYS_ROLE_PERMISSION(ROLE_ID,PERMISSION_ID)VALUES(#{roleId},#{permissionId})")
public void addRolePermission(@Param("roleId")Integer roleId,@Param("permissionId") Integer permissionId); public void addRolePermission(@Param("roleId")Integer roleId,@Param("permissionId") Integer permissionId);
/** /**
......
package com.yxproject.start.mapper; package com.yxproject.start.mapper;
import com.yxproject.start.entity.GroupinfoEntity; import com.yxproject.start.entity.TaskEntity;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import java.util.List; import java.util.List;
...@@ -9,10 +9,13 @@ import java.util.List; ...@@ -9,10 +9,13 @@ import java.util.List;
* Created by zhangyusheng on 2018/10/13 9:36 * Created by zhangyusheng on 2018/10/13 9:36
*/ */
@Mapper @Mapper
public interface GroupinfoMapper { public interface TaskMapper {
public int insertGroupinfoEntity(GroupinfoEntity groupinfoEntity);
public List<GroupinfoEntity> findGroupinfoEntityByAcceptNo(String acceptNo); public List<TaskEntity> findTaskEntity(long id);
public int updateGroupinfoEntity(GroupinfoEntity groupinfoEntity); public int insertTaskEntity(TaskEntity taskEntity);
public int updateTaskEntity(TaskEntity taskEntity);
public List<TaskEntity> findTaskEntityByAcceptNo(String acceptNo);
public List<TaskEntity> findTaskEntityByState(int state);
} }
...@@ -34,7 +34,7 @@ public interface UserInfoMapper { ...@@ -34,7 +34,7 @@ public interface UserInfoMapper {
* @param userinfo * @param userinfo
* @return * @return
*/ */
@Insert("INSERT INTO DAHAI.USER_INFO(ID, NAME, PASSWORD, STATE, USERNAME, SALT) " + @Insert("INSERT INTO USER_INFO(ID, NAME, PASSWORD, STATE, USERNAME, SALT) " +
"VALUES(USER_INFO_seq.nextval,#{name},#{password},0,#{username},#{salt})\n") "VALUES(USER_INFO_seq.nextval,#{name},#{password},0,#{username},#{salt})\n")
@Options(useGeneratedKeys = true, keyProperty = "id",keyColumn = "id") @Options(useGeneratedKeys = true, keyProperty = "id",keyColumn = "id")
public void saveUserInfo(UserInfo userinfo); public void saveUserInfo(UserInfo userinfo);
......
package com.yxproject.start.mapper; package com.yxproject.start.mapper;
import com.yxproject.start.entity.UserInfo;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select;
/** /**
* @author zhangyusheng * @author zhangyusheng
...@@ -17,4 +16,20 @@ public interface UtilMapper { ...@@ -17,4 +16,20 @@ public interface UtilMapper {
* 查询组号信息序列值 * 查询组号信息序列值
*/ */
public int findGroupInfoSequenceNextValue(); public int findGroupInfoSequenceNextValue();
/**
* 查询派出所照片质量表序列值
*/
public int findPoliceStationVailedSequenceNextValue();
/**
* 查询废证信息表序列值
*/
public int findFailedinfoSequenceNextValue();
/**
* 查询受理号表序列值
*/
public int findAcceptInfoSequenceNextValue();
/**
* 查询派出所证件申请表序列值
*/
public int findPoliceStationApplyReasonSequenceNextValue();
} }
package com.yxproject.start.service;
import com.yxproject.start.entity.FailedCardEntity;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/10/30 10:01
*/
public interface FailedCardService {
public int saveFailedinfo(List<FailedCardEntity> failedinfoEntityList);
public int updateFailedinfo(List<FailedCardEntity> failedinfoEntityList);
public List<Map<String,Object>> selectFailedinfo(int state);
}
package com.yxproject.start.service;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/11/1 14:22
*/
public interface GroupNoService {
public List<Map<String, Object>> findCountyInfoList(String taskID);
}
package com.yxproject.start.service;
/**
* Created by zhangyusheng on 2018/11/12 14:27
*/
public interface PoliceStationApplyReasonService {
public int savePoliceStationApplyReasonEntity(String cyclesheetID);
}
package com.yxproject.start.service;
import com.yxproject.start.entity.GroupinfoEntity;
import com.yxproject.start.entity.ProductionTaskListEntity;
import java.util.List;
public interface ProductionTaskListService {
public List<ProductionTaskListEntity> findProductionTaskListEntityByID(String id);
public int updateProductionTask(ProductionTaskListEntity map);
public int addProductionTaskListEntity(ProductionTaskListEntity productionTaskListEntity, List<GroupinfoEntity> groupinfoEntities);
public int addQuickCyclesheetInfo(String acceptNo);
public List<Object> findCardInfoByCardIDOrAcceptNo(String cardInfo);
public List<Object> findAccuProductionInfo(String importDate);
}
package com.yxproject.start.service;
import com.yxproject.start.entity.*;
import java.util.List;
import java.util.Map;
public interface TaskService {
public List<TaskEntity> findProductionTaskListEntityByID(long id);
public int updateProductionTask(TaskEntity map);
public int addProductionTaskListEntity(TaskEntity taskEntity, List<GroupNoEntity> groupNoEntities);
public int addQuickCyclesheetInfo(String acceptNo);
public List<Object> findCardInfoByCardIDOrAcceptNo(String cardInfo);
public List<Object> findAccuProductionInfo(String importDate);
public int savePoliceStationVailedEntity(List<PoliceStationVailedEntity> policeStationVailedInfoEntities);
public List<PoliceStationVailedEntity> find(String id);
public List<Map<String,Object>> findProductionTaskListEntityByState(int state);
}
package com.yxproject.start.service.impl;
import com.yxproject.start.entity.FailedCardEntity;
import com.yxproject.start.mapper.FailedCardMapper;
import com.yxproject.start.service.FailedCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/10/30 10:02
*/
@Service
public class FailedCardServiceImpl implements FailedCardService {
@Autowired
private FailedCardMapper failedCardMapper;
@Override
public int saveFailedinfo(List<FailedCardEntity> failedinfoEntityList) {
for (FailedCardEntity failedinfoEntity:failedinfoEntityList){
failedCardMapper.saveFailedCardEntity(failedinfoEntity);
}
return 1;
}
@Override
public int updateFailedinfo(List<FailedCardEntity> failedinfoEntityList) {
for (FailedCardEntity failedinfoEntity:failedinfoEntityList){
failedCardMapper.updateFailedCardEntity(failedinfoEntity);
}
return 1;
}
@Override
public List<Map<String,Object>> selectFailedinfo(int state) {
List<Map<String, Object>> maps = failedCardMapper.selectFailedCardEntityByState(state);
return maps;
}
}
package com.yxproject.start.service.impl;
import com.yxproject.start.mapper.GroupNoMapper;
import com.yxproject.start.service.GroupNoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/11/1 14:26
*/
@Service
public class GroupNoServiceImpl implements GroupNoService {
@Autowired
public GroupNoMapper groupNoMapper;
@Override
public List<Map<String, Object>> findCountyInfoList(String cyclesheetid) {
int count = groupNoMapper.findGroupNoCountByTaskId(cyclesheetid);
List<Map<String,Object>> list = new ArrayList<>();
if (count==0){
list = groupNoMapper.findSpecialCountyList(cyclesheetid);
}else{
list = groupNoMapper.findNormalCountyList(cyclesheetid);
}
return list;
}
}
package com.yxproject.start.service.impl;
import com.yxproject.start.entity.PoliceStationApplyReasonEntity;
import com.yxproject.start.mapper.GroupNoMapper;
import com.yxproject.start.mapper.PoliceStationApplyReasonMapper;
import com.yxproject.start.mapper.UtilMapper;
import com.yxproject.start.service.PoliceStationApplyReasonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
/**
* Created by zhangyusheng on 2018/11/12 14:28
*/
@Service
public class PoliceStationApplyReasonServiceImpl implements PoliceStationApplyReasonService {
@Autowired
private PoliceStationApplyReasonMapper policeStationApplyReasonMapper;
@Autowired
private GroupNoMapper groupinfoMapper;
@Autowired
private UtilMapper utilMapper;
@Override
@Transactional(rollbackFor=Exception.class)
public int savePoliceStationApplyReasonEntity(String cyclesheetid) {
int count = groupinfoMapper.findGroupNoCountByTaskId(cyclesheetid);
List<Map<String,Object>> list = new ArrayList<>();
if (count==0){
list = policeStationApplyReasonMapper.findSpecialApplyReasonByCyclesheetID(cyclesheetid);
}else{
list = policeStationApplyReasonMapper.findNormalApplyReasonByCyclesheetID(cyclesheetid);
}
for (Map<String,Object> map :list){
PoliceStationApplyReasonEntity policeStationApplyReasonEntity = new PoliceStationApplyReasonEntity();
policeStationApplyReasonEntity.setTask_Id(Long.valueOf(cyclesheetid));
policeStationApplyReasonEntity.setSave_Date(new Date());
policeStationApplyReasonEntity.setApply_Count(Long.valueOf(map.get("APPLY_COUNT").toString()));
policeStationApplyReasonEntity.setApply_Code(Long.valueOf(map.get("APPLY_CODE").toString()));
policeStationApplyReasonEntity.setPolice_Station_Code(map.get("POLICE_STATION_CODE").toString());
policeStationApplyReasonMapper.savePoliceStationApplyReasonEntity(policeStationApplyReasonEntity);
}
return 1;
}
}
...@@ -14,7 +14,6 @@ public class UtilServiceImpl implements UtilService { ...@@ -14,7 +14,6 @@ public class UtilServiceImpl implements UtilService {
public UtilMapper utilMapper; public UtilMapper utilMapper;
@Override @Override
public int findProductionTaskListSequenceNextValue() { public int findProductionTaskListSequenceNextValue() {
return utilMapper.findProductionTaskListSequenceNextValue(); return utilMapper.findProductionTaskListSequenceNextValue();
} }
......
...@@ -26,16 +26,15 @@ ...@@ -26,16 +26,15 @@
</select> </select>
<select id="findAccGroupTEntityByCardIdOrDealDate" resultType="java.util.HashMap" parameterType="String"> <select id="findAccGroupTEntityByCardIdOrDealDate" resultType="java.util.HashMap" parameterType="String">
SELECT ACC_GROUP_T.GROUP_NO,ACC_GROUP_RELATION_T.DEAL_DATE,ACC_GROUP_T.DEAL_FLAG,substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,0,6),CITYINFO.CITYNAME,decode(substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,0,6),'419900',6,substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,21,1)),MAKETYPE_DIC.CARDTYPE,ACC_GROUP_T.INVALID_COUNT,ACC_GROUP_T.VALID_COUNT select * from findAccGroupTEntityList_view where view_param.set_param(#{dealDate})=#{dealDate}
FROM ACC_GROUP_T@ACCU_DBLINK LEFT join ACC_GROUP_RELATION_T@ACCU_DBLINK on ACC_GROUP_T.GROUP_NO = ACC_GROUP_RELATION_T.GROUP_NO
left join CITYINFO on CITYINFO.CITYCODE = substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,0,6)
left join MAKETYPE_DIC on MAKETYPE_DIC.TYPENUM = decode(substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,0,6),'419900',6,substr(ACC_GROUP_RELATION_T.ORIGINAL_NO,21,1))
where ACC_GROUP_RELATION_T.DEAL_DATE =#(dealDate)
and ACC_GROUP_T.group_no not in (select groupinfo.groupno from groupinfo)
</select> </select>
<!--<select id="findAccGroupTEntityByCardIdOrAcceptNo" resultType="java.util.HashMap" parameterType="String">--> <select id="findAccGroupTEntityByCardIdOrAcceptNo" resultType="java.util.HashMap" parameterType="String">
<!--select * from GROUPINFO where GROUPNO =#{acceptNo} or GROUPNO =substr(#{acceptNo},0,8)--> select * from FINDACCGROUPT_VIEW where view_param.set_param(#{acceptNo})=#{acceptNo}
<!--</select>--> </select>
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.FailedCardMapper">
<resultMap id="FailedCardMapper" type="com.yxproject.start.entity.FailedCardEntity">
<id column="FAILED_CARD_ID" property="failed_Card_Id" jdbcType="NUMERIC"/>
<result column="FAILED_CARD_REASON_ID" property="failed_Card_Reason_Id" jdbcType="NUMERIC"/>
<result column="ACCEPT_NO" property="accept_No" jdbcType="VARCHAR"/>
<result column="TASK_ID" property="task_Id" jdbcType="NUMERIC"/>
<result column="POSITION_DATE" property="position_Date" jdbcType="DATE"/>
<result column="FINISH_DATE" property="finish_Date" jdbcType="DATE"/>
<result column="ALLOT_DATE" property="allot_Date" jdbcType="DATE"/>
<result column="PRINT_DATE" property="print_Date" jdbcType="DATE"/>
<result column="STATE" property="state" jdbcType="NUMERIC"/>
</resultMap>
<select id="selectFailedCardEntityByState" resultType="java.util.HashMap" parameterType="java.lang.Integer">
select * from FAILED_CARD where state = #{state}
</select>
<insert id="saveFailedCardEntity" parameterType="com.yxproject.start.entity.FailedCardEntity" >
insert into FAILED_CARD (FAILED_CARD_ID,FAILED_CARD_REASON_ID,ACCEPT_NO,TASK_ID,POSITION_DATE,FINISH_DATE,ALLOT_DATE,PRINT_DATE,STATE )
values (#{failed_Card_Id},#{failed_Card_Reason_Id},#{accept_No},#{task_Id},#{position_Date},#{finish_Date},#{allot_Date},#{print_Date},#{state})
</insert>
<update id="updateFailedCardEntity" parameterType="com.yxproject.start.entity.FailedCardEntity">
update FAILED_CARD
<set>
<if test="failed_Card_Reason_Id" >FAILED_CARD_REASON_ID=#{failed_Card_Reason_Id} </if>
<if test="accept_No" >accept_No=#{accept_No} </if>
<if test="task_Id" >task_Id=#{task_Id} </if>
<if test="position_Date" >position_Date=#{position_Date} </if>
<if test="finish_Date" >finish_Date=#{finish_Date} </if>
<if test="allot_Date" >allot_Date=#{allot_Date} </if>
<if test="print_Date" >print_Date=#{print_Date} </if>
<if test="state" >state=#{state} </if>
</set>
where failed_Card_Id =#{failed_Card_Id}
</update>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.GroupNoMapper">
<resultMap id="GroupNoMapper" type="com.yxproject.start.entity.GroupNoEntity">
<id column="GROUP_ID" property="group_Id" jdbcType="NUMERIC"/>
<result column="TASK_ID" property="task_Id" jdbcType="NUMERIC"/>
<result column="GROUP_NO" property="group_No" jdbcType="VARCHAR"/>
<result column="VAILD_COUNT" property="vaild_Count" jdbcType="NUMERIC"/>
<result column="INVALID_COUNT" property="invalid_Count" jdbcType="NUMERIC"/>
<result column="SPECIAL_CARD_COUNT" property="special_Card_Count" jdbcType="NUMERIC"/>
</resultMap>
<select id="findGroupNoEntityListByTaskId" resultType="com.yxproject.start.entity.GroupNoEntity" parameterType="String">
select * from GROUP_NO where task_Id like #{task_Id}
</select>
<insert id="insertGroupNoEntity" parameterType="com.yxproject.start.entity.GroupNoEntity">
Insert into GROUP_NO (GROUP_ID,GROUP_NO,task_Id,VAILD_COUNT,INVALID_COUNT,special_Card_Count) values
(#{group_Id},#{group_No},#{task_Id},#{vaild_Count},#{invalid_Count},#{special_Card_Count})
</insert>
<select id="findGroupNoEntityByAcceptNo" resultType="com.yxproject.start.entity.GroupNoEntity" parameterType="String">
select * from GROUP_NO where GROUP_NO =substr(#{acceptNo},0,8)
</select>
<update id="updateGroupinfoEntity" parameterType="com.yxproject.start.entity.GroupNoEntity">
update GROUP_NO set GROUP_ID=#{group_Id}
<if test="group_No">,group_No =#{group_No}</if>
<if test="task_Id">,task_Id =#{task_Id}</if>
<if test="vaild_Count">,vaild_Count =#{vaild_Count}</if>
<if test="invalid_Count">,invalid_Count =#{invalid_Count}</if>
<if test="special_Card_Count">,special_Card_Count =#{special_Card_Count}</if>
where GROUP_ID=#{group_Id}
</update>
<select id="findGroupNoCountByTaskId" parameterType="String" resultType="int">
select count(GROUP_NO) from GROUP_NO where task_Id =#{task_Id}
</select>
<select id="findSpecialCountyList" resultType="java.util.HashMap" parameterType="String">
SELECT * FROM TABLE(FIND_SPECIAL_COUNTY_LIST.GET_county_infos(#{task_Id}))
</select>
<select id="findNormalCountyList" resultType="java.util.HashMap" parameterType="String">
SELECT * FROM TABLE(find_normal_county_list.GET_county_infos(#{task_Id}))
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.GroupinfoMapper">
<resultMap id="GroupinfoMapper" type="com.yxproject.start.entity.GroupinfoEntity">
<id column="GROUPID" property="groupid" jdbcType="VARCHAR"/>
<result column="GROUPNO" property="groupno" jdbcType="VARCHAR"/>
<result column="CYCLESHEETID" property="cyclesheetid" jdbcType="VARCHAR"/>
<result column="GROUPTYPE" property="grouptype" jdbcType="NUMERIC"/>
<result column="VAILD_COUNT" property="vaildCount" jdbcType="NUMERIC"/>
<result column="INVALID_COUNT" property="invalidCount" jdbcType="NUMERIC"/>
</resultMap>
<select id="findGroupinfoEntityListByProductionTaskListId" resultType="com.yxproject.start.entity.GroupinfoEntity" parameterType="String">
select * from GROUPINFO where cyclesheetid like #{id}
</select>
<insert id="insertGroupinfoEntity" parameterType="com.yxproject.start.entity.GroupinfoEntity">
Insert into GROUPINFO (GROUPID,GROUPNO,CYCLESHEETID,GROUPTYPE,VAILD_COUNT,INVALID_COUNT) values
(#{groupid}
<if test=" groupno!= null">,#{groupno}</if>
<if test="groupno == null">,null </if>
<if test="grouptype != null">,#{grouptype}</if>
<if test="grouptype == null">,null </if>
<if test="cyclesheetid != null">,#{cyclesheetid}</if>
<if test="cyclesheetid == null">,null </if>
<if test="grouptype != null">,#{grouptype}</if>
<if test="grouptype == null">,null </if>
<if test="vaildCount != null">,#{vaildCount}</if>
<if test="vaildCount == null">,null </if>
<if test="invalidCount != null">,#{invalidCount}</if>
<if test="invalidCount == null">,null </if>)
</insert>
<select id="findGroupinfoEntityByAcceptNo" resultType="com.yxproject.start.entity.GroupinfoEntity" parameterType="String">
select * from GROUPINFO where GROUPNO =#{acceptNo} or GROUPNO =substr(#{acceptNo},0,8)
</select>
<update id="updateGroupinfoEntity" parameterType="com.yxproject.start.entity.GroupinfoEntity">
update GROUPINFO set GROUPID=#{groupid}
<if test="groupno != null">,groupno =#{groupno}</if>
<if test="makeType != null">,MAKE_TYPE =#{makeType}</if>
<if test="cyclesheetid != null">,cyclesheetid =#{cyclesheetid}</if>
<if test="grouptype != null">,grouptype =#{grouptype}</if>
<if test="valid_Count != null">,valid_Count =#{valid_Count}</if>
<if test="invalid_Count != null">,invalid_Count =#{invalid_Count}</if>
where GROUPID=#{groupid}
</update>
<!--<select id="findGroupinfoEntityByAcceptNo" resultType="java.util.HashMap" parameterType="String">-->
<!--select * from GROUPINFO where GROUPNO =#{acceptNo} or GROUPNO =substr(#{acceptNo},0,8)-->
<!--</select>-->
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.PoliceStationApplyReasonMapper">
<resultMap id="PoliceStationApplyReasonMapper" type="com.yxproject.start.entity.PoliceStationApplyReasonEntity">
<id column="POLICE_STATION_APPLY_REASON_ID" property="police_Station_Apply_Reason_Id" jdbcType="VARCHAR"/>
<result column="APPLY_REASON_SAVEDATE" property="apply_Reason_Savedate" jdbcType="VARCHAR"/>
<result column="CYCLESHEETID" property="cyclesheetid" jdbcType="VARCHAR"/>
<result column="POLICE_STATION_CODE" property="police_Station_Code" jdbcType="VARCHAR"/>
<result column="APPLY_REASON_CODE" property="apply_Reason_Code" jdbcType="NUMERIC"/>
<result column="APPLY_COUNT" property="apply_Count" jdbcType="NUMERIC"/>
</resultMap>
<insert id="savePoliceStationApplyReasonEntity" parameterType="com.yxproject.start.entity.PoliceStationApplyReasonEntity">
Insert into POLICE_STATION_APPLY_REASON (POLICE_STATION_APPLY_REASON_ID,APPLY_REASON_SAVEDATE,CYCLESHEETID,POLICE_STATION_CODE,APPLY_REASON_CODE,APPLY_COUNT)
values (#{police_Station_Apply_Reason_Id},#{apply_Reason_Savedate},#{cyclesheetid},#{police_Station_Code},#{apply_Reason_Code},#{apply_Count})
</insert>
<update id="updatePoliceStationApplyReasonEntity" parameterType="com.yxproject.start.entity.PoliceStationApplyReasonEntity">
update POLICE_STATION_APPLY_REASON set POLICE_STATION_APPLY_REASON_ID=#{police_Station_Apply_Reason_Id}
<if test="apply_Reason_Savedate">,APPLY_REASON_SAVEDATE =#{apply_Reason_Savedate}</if>
<if test="cyclesheetid">,cyclesheetid =#{cyclesheetid}</if>
<if test="police_Station_Code">,police_Station_Code =#{police_Station_Code}</if>
<if test="apply_Reason_Code">,apply_Reason_Code =#{apply_Reason_Code}</if>
<if test="apply_Count">,apply_Count =#{apply_Count}</if>
where POLICE_STATION_APPLY_REASON_ID=#{police_Station_Apply_Reason_Id}
</update>
<select id="findNormalApplyReasonByCyclesheetID" resultType="java.util.HashMap" parameterType="String">
SELECT * FROM TABLE(find_normal_apply_reason_list.get_apply_reason_list(#{cyclesheetid}))
</select>
<select id="findSpecialApplyReasonByCyclesheetID" resultType="java.util.HashMap" parameterType="String">
SELECT * FROM TABLE(find_special_apply_reason_list.get_apply_reason_list(#{cyclesheetid}))
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.ProdCardTMapper">
<resultMap id="ProdCardTMapper" type="com.yxproject.start.entity.prod.ProdCardTEntity">
<id column="ACCEPT_NO" property="accept_No" jdbcType="VARCHAR"/>
<result column="UPLOAD_NO" property="upload_No" jdbcType="NUMERIC"/>
<result column="PHOTO_NO" property="photoNo" jdbcType="CHAR"/>
<result column="NAME" property="name" jdbcType="VARCHAR"/>
<result column="SEX_NO" property="sexNo" jdbcType="CHAR"/>
<result column="NATION_NO" property="nationNo" jdbcType="CHAR"/>
<result column="BIRTHDAY" property="birthday" jdbcType="CHAR"/>
<result column="ID_NO" property="idNo" jdbcType="VARCHAR"/>
<result column="ADDR1" property="addr1" jdbcType="VARCHAR"/>
<result column="ADDR2" property="addr2" jdbcType="VARCHAR"/>
<result column="ADDR3" property="addr3" jdbcType="VARCHAR"/>
<result column="ADDRESS1" property="address1" jdbcType="VARCHAR"/>
<result column="SIGN_GOVT" property="signGovt" jdbcType="VARCHAR"/>
<result column="EXPIRE_DATE" property="expireDate" jdbcType="CHAR"/>
<result column="BEGIN_DATE" property="beginDate" jdbcType="CHAR"/>
<result column="APPLY_REASON" property="applyReason" jdbcType="CHAR"/>
<result column="STATUS_NO" property="statusNo" jdbcType="CHAR"/>
</resultMap>
<select id="findCardInfo" parameterType="String" resultType="com.yxproject.start.entity.prod.ProdCardTEntity">
select * from PROD_CARD_T@PROD_LINK where ACCEPT_NO=#{card} or ID_NO =#{card}
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.ProductionTaskListMapper">
<resultMap id="ProductionTaskListMap" type="com.yxproject.start.entity.ProductionTaskListEntity">
<id column="PRODUCTION_TASK_LIST_ID" property="productionTaskListId" jdbcType="VARCHAR"/>
<result column="MAKE_TYPE" property="makeType" jdbcType="NUMERIC"/>
<result column="OLD_MAKE_TYPE" property="oldMakeType" jdbcType="NUMERIC"/>
<result column="CITYCODE" property="citycode" jdbcType="VARCHAR"/>
<result column="WORKSHOP" property="workshop" jdbcType="VARCHAR"/>
<result column="SUBMIT_DATE" property="submitDate" jdbcType="VARCHAR"/>
<result column="HANDOUT_DATE" property="handoutDate" jdbcType="VARCHAR"/>
<result column="IS_PRINT" property="isPrint" jdbcType="NUMERIC"/>
<result column="DOWNLOAD_DATE" property="downloadDate" jdbcType="VARCHAR"/>
<result column="PRINT_OUT" property="printOut" jdbcType="VARCHAR"/>
<result column="PERMANENT_POSITION_DATE" property="permanentPositionDate" jdbcType="VARCHAR"/>
<result column="ROLL_OUT_WORKSHOP_DATE" property="rollOutWorkshopDate" jdbcType="VARCHAR"/>
<result column="QUALITYINSPECTION_NAME" property="qualityinspectionName" jdbcType="VARCHAR"/>
<result column="QUALITYINSPECTION_DATE" property="qualityinspectionDate" jdbcType="VARCHAR"/>
<result column="EXCEPTION_INFORMATION" property="exceptionInformation" jdbcType="VARCHAR"/>
<result column="OUTBOUND_DATE" property="outboundDate" jdbcType="VARCHAR"/>
<result column="PUTINSTORAGE_DATE" property="putinstorageDate" jdbcType="VARCHAR"/>
</resultMap>
<select id="findProductionTaskListEntity" resultType="com.yxproject.start.entity.ProductionTaskListEntity" parameterType="String">
select PRODUCTION_TASK_LIST_ID,MAKE_TYPE,OLD_MAKE_TYPE,CITYCODE,WORKSHOP,SUBMIT_DATE,HANDOUT_DATE,IS_PRINT,DOWNLOAD_DATE,PRINT_OUT,PERMANENT_POSITION_DATE,ROLL_OUT_WORKSHOP_DATE,QUALITYINSPECTION_NAME,QUALITYINSPECTION_DATE,EXCEPTION_INFORMATION,OUTBOUND_DATE,PUTINSTORAGE_DATE from PRODUCTION_TASK_LIST where PRODUCTION_TASK_LIST_ID like #{id}
</select>
<insert id="insertProductionTaskListEntity" parameterType="com.yxproject.start.entity.ProductionTaskListEntity">
Insert into PRODUCTION_TASK_LIST (PRODUCTION_TASK_LIST_ID,MAKE_TYPE,OLD_MAKE_TYPE,CITYCODE,WORKSHOP,SUBMIT_DATE,HANDOUT_DATE,IS_PRINT,DOWNLOAD_DATE,PRINT_OUT,PERMANENT_POSITION_DATE,ROLL_OUT_WORKSHOP_DATE,QUALITYINSPECTION_NAME,QUALITYINSPECTION_DATE,EXCEPTION_INFORMATION,OUTBOUND_DATE,PUTINSTORAGE_DATE)
values (#{productionTaskListId}
<if test="makeType != null">,#{makeType}</if>
<if test="makeType == null">,null </if>
<if test="oldMakeType != null">,#{oldMakeType}</if>
<if test="oldMakeType == null">,null </if>
<if test="citycode != null">,#{citycode}</if>
<if test="citycode == null">,null </if>
<if test="workshop != null">,#{workshop}</if>
<if test="workshop == null">,null </if>
<if test="submitDate != null">,#{submitDate}</if>
<if test="submitDate == null">,null </if>
<if test="handoutDate != null">,#{handoutDate}</if>
<if test="handoutDate == null">,null </if>
<if test="isPrint != null">,#{isPrint}</if>
<if test="isPrint == null">,null </if>
<if test="downloadDate != null">,#{downloadDate}</if>
<if test="downloadDate == null">,null </if>
<if test="printOut != null">,#{printOut}</if>
<if test="printOut == null">,null </if>
<if test="permanentPositionDate != null">,#{permanentPositionDate}</if>
<if test="permanentPositionDate == null">,null </if>
<if test="rollOutWorkshopDate != null">,#{rollOutWorkshopDate}</if>
<if test="rollOutWorkshopDate == null">,null </if>
<if test="qualityinspectionName != null">,#{qualityinspectionName}</if>
<if test="qualityinspectionName == null">,null </if>
<if test="qualityinspectionDate != null">,#{qualityinspectionDate}</if>
<if test="qualityinspectionDate == null">,null </if>
<if test="exceptionInformation != null">,#{exceptionInformation}</if>
<if test="exceptionInformation == null">,null </if>
<if test="outboundDate != null">,#{outboundDate}</if>
<if test="outboundDate == null">,null </if>
<if test="putinstorageDate != null">,#{putinstorageDate}</if>
<if test="putinstorageDate == null">,null </if>)
</insert>
<update id="updateProductionTask" parameterType="com.yxproject.start.entity.ProductionTaskListEntity">
update PRODUCTION_TASK_LIST set PRODUCTION_TASK_LIST_ID=#{productionTaskListId}
<if test="oldMakeType != null">,OLD_MAKE_TYPE =#{oldMakeType}</if>
<if test="makeType != null">,MAKE_TYPE =#{makeType}</if>
<if test="citycode != null">,CITYCODE =#{citycode}</if>
<if test="workshop != null">,WORKSHOP =#{workshop}</if>
<if test="submitDate != null">,SUBMIT_DATE =#{submitDate}</if>
<if test="handoutDate != null">,HANDOUT_DATE =#{handoutDate}</if>
<if test="isPrint != null">,IS_PRINT =#{isPrint}</if>
<if test="downloadDate != null">,DOWNLOAD_DATE =#{downloadDate}</if>
<if test="printOut != null">,PRINT_OUT =#{printOut}</if>
<if test="permanentPositionDate != null">,PERMANENT_POSITION_DATE =#{permanentPositionDate}</if>
<if test="rollOutWorkshopDate != null">,ROLL_OUT_WORKSHOP_DATE =#{rollOutWorkshopDate}</if>
<if test="qualityinspectionName != null">,QUALITYINSPECTION_NAME =#{qualityinspectionName}</if>
<if test="qualityinspectionDate != null">,QUALITYINSPECTION_DATE =#{qualityinspectionDate}</if>
<if test="exceptionInformation != null">,EXCEPTION_INFORMATION =#{exceptionInformation}</if>
<if test="outboundDate != null">,OUTBOUND_DATE =#{outboundDate}</if>
<if test="putinstorageDate != null">,PUTINSTORAGE_DATE =#{putinstorageDate}</if>
where PRODUCTION_TASK_LIST_ID=#{productionTaskListId}
</update>
<select id="findProductionTaskListEntityByAcceptNo" resultType="com.yxproject.start.entity.ProductionTaskListEntity" parameterType="String">
select PRODUCTION_TASK_LIST_ID,MAKE_TYPE,OLD_MAKE_TYPE,CITYCODE,WORKSHOP,SUBMIT_DATE,HANDOUT_DATE,IS_PRINT,DOWNLOAD_DATE,PRINT_OUT,PERMANENT_POSITION_DATE,ROLL_OUT_WORKSHOP_DATE,QUALITYINSPECTION_NAME,QUALITYINSPECTION_DATE,EXCEPTION_INFORMATION,OUTBOUND_DATE,PUTINSTORAGE_DATE from PRODUCTION_TASK_LIST left join GROUPINFO on GROUPINFO.CYCLESHEETID = PRODUCTION_TASK_LIST.PRODUCTION_TASK_LIST_ID where GROUPINFO.GROUPNO =#{acceptNo} or GROUPINFO.GROUPNO =substr (#{acceptNo},0,8)
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.SpecialCardMapper">
<resultMap id="SpecialCardMapper" type="com.yxproject.start.entity.SpecialCardEntity">
<id column="SPECIAL_CARD_ID" property="special_Card_Id" jdbcType="NUMERIC"/>
<result column="ACCEPT_NO" property="accept_No" jdbcType="VARCHAR"/>
<result column="TASK_ID" property="task_Id" jdbcType="NUMERIC"/>
<result column="SPECIAL_TYPE" property="special_Type" jdbcType="NUMERIC"/>
<result column="GROUP_NO" property="group_No" jdbcType="VARCHAR"/>
</resultMap>
<select id="findSpecialCardEntityByAcceptNo" resultType="com.yxproject.start.entity.SpecialCardEntity" parameterType="String">
select * from SPECIAL_CARD where ACCEPT_NO =#{accept_No}
</select>
<insert id="saveSpecialCardEntity" parameterType="com.yxproject.start.entity.SpecialCardEntity">
INSERT INTO SPECIAL_CARD (SPECIAL_CARD_ID, ACCEPT_NO, TASK_ID, SPECIAL_TYPE,GROUP_NO) VALUES (#{special_Card_Id}, #{accept_No}, #{task_Id}, #{special_Type},#{group_No})
</insert>
<update id="updateSpecialCardEntity" parameterType="com.yxproject.start.entity.SpecialCardEntity">
update SPECIAL_CARD
<set>
<if test="accept_No" >accept_No=#{accept_No} </if>
<if test="task_Id" >task_Id=#{task_Id} </if>
<if test="group_No" >group_No=#{group_No} </if>
<if test="special_Type" >special_Type=#{special_Type} </if>
</set>
where special_Card_Id =#{special_Card_Id}
</update>
<select id="findSpecialCardEntityByGroupNo" resultType="com.yxproject.start.entity.SpecialCardEntity" parameterType="String">
select * from SPECIAL_CARD where GROUP_NO =#{group_No}
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yxproject.start.mapper.TaskMapper">
<resultMap id="TaskMap" type="com.yxproject.start.entity.TaskEntity">
<id column="TASK_ID" property="task_Id" jdbcType="NUMERIC"/>
<result column="CARD_TYPE" property="card_Type" jdbcType="NUMERIC"/>
<result column="OLD_CARD_TYPE" property="old_Card_Type" jdbcType="NUMERIC"/>
<result column="CITYCODE" property="citycode" jdbcType="VARCHAR"/>
<result column="SUBMIT_DATE" property="submit_Date" jdbcType="DATE"/>
<result column="ISSUED_DATE" property="issued_Date" jdbcType="DATE"/>
<result column="PRINT_STATE" property="print_State" jdbcType="DATE"/>
<result column="DOWNLOAD_DATE" property="download_Date" jdbcType="DATE"/>
<result column="PRINT_OUT_DATE" property="print_Out_Date" jdbcType="DATE"/>
<result column="POSITION_DATE" property="position_Date" jdbcType="DATE"/>
<result column="OUT_WORKSHOP_DATE" property="out_Workshop_Date" jdbcType="DATE"/>
<result column="QUALITY_PEOPLE_NAME" property="quality_People_Name" jdbcType="VARCHAR"/>
<result column="QUALITY_TEST_DATE" property="quality_Test_Date" jdbcType="DATE"/>
<result column="EXCEPTION_INFORMATION" property="exception_Information" jdbcType="VARCHAR"/>
<result column="OUT_STORAGE_DATE" property="out_Storage_Date" jdbcType="DATE"/>
<result column="IN_STORAGE_DATE" property="in_Storage_Date" jdbcType="DATE"/>
<result column="TASK_STATE_ID" property="task_State_Id" jdbcType="NUMERIC"/>
<result column="IS_EXCEPTION" property="is_Exception" jdbcType="NUMERIC"/>
<result column="PRINTER_ID" property="printer_Id" jdbcType="NUMERIC"/>
</resultMap>
<select id="findTaskEntity" resultType="com.yxproject.start.entity.TaskEntity" parameterType="long">
select * from TASK where TASK_ID like #{id}
</select>
<insert id="insertProductionTaskListEntity" parameterType="com.yxproject.start.entity.TaskEntity">
Insert into TASK (TASK_ID,CARD_TYPE,OLD_CARD_TYPE,CITYCODE,SUBMIT_DATE,ISSUED_DATE,PRINT_STATE,DOWNLOAD_DATE,PRINT_OUT_DATE,POSITION_DATE,
OUT_WORKSHOP_DATE,QUALITY_PEOPLE_NAME,QUALITY_TEST_DATE,EXCEPTION_INFORMATION,OUT_STORAGE_DATE,IN_STORAGE_DATE,TASK_STATE_ID,IS_EXCEPTION,PRINTER_ID)
values (#{task_Id},#{card_Type},#{old_Card_Type},#{citycode},#{submit_Date},#{issued_Date},#{print_State},#{download_Date},#{print_Out_Date},#{position_Date},#{out_Workshop_Date},#{quality_People_Name},#{quality_Test_Date},#{exception_Information},#{out_Storage_Date},#{in_Storage_Date},#{task_State_Id},#{is_Exception},#{printer_Id})
</insert>
<update id="updateProductionTask" parameterType="com.yxproject.start.entity.TaskEntity">
update TASK
<set>
<if test="card_Type ">card_Type =#{card_Type},</if>
<if test="old_Card_Type ">old_Card_Type =#{old_Card_Type},</if>
<if test="citycode ">CITYCODE =#{citycode},</if>
<if test="submit_Date">submit_Date =#{submit_Date},</if>
<if test="issued_Date ">issued_Date =#{issued_Date},</if>
<if test="print_State ">print_State =#{print_State},</if>
<if test="download_Date">download_Date =#{download_Date},</if>
<if test="print_Out_Date">print_Out_Date =#{print_Out_Date},</if>
<if test="position_Date">position_Date =#{position_Date},</if>
<if test="out_Workshop_Date">out_Workshop_Date =#{out_Workshop_Date},</if>
<if test="quality_People_Name ">quality_People_Name =#{quality_People_Name},</if>
<if test="quality_Test_Date">quality_Test_Date =#{quality_Test_Date},</if>
<if test="exception_Information">exception_Information =#{exception_Information},</if>
<if test="out_Storage_Date">out_Storage_Date =#{out_Storage_Date},</if>
<if test="in_Storage_Date">in_Storage_Date =#{in_Storage_Date},</if>
<if test="task_State_Id">task_State_Id =#{task_State_Id},</if>
<if test="is_Exception">is_Exception =#{is_Exception},</if>
<if test="printer_Id">printer_Id =#{printer_Id},</if>
</set>
where TASK_ID =#{task_Id}
</update>
<select id="findProductionTaskListEntityByAcceptNo" resultType="com.yxproject.start.entity.TaskEntity" parameterType="String">
select * from TASK left join GROUP_NO on GROUP_NO.TASK_ID = TASK.TASK_ID where GROUP_NO.GROUP_NO =#{acceptNo} or GROUP_NO.GROUP_NO =substr (#{acceptNo},0,8)
</select>
<select id="findProductionTaskListEntityByState" resultType="com.yxproject.start.entity.TaskEntity" parameterType="Integer">
select * from TASK where TASK_STATE_ID =#{state }
</select>
</mapper>
\ No newline at end of file
...@@ -4,6 +4,21 @@ ...@@ -4,6 +4,21 @@
<select id="findProductionTaskListSequenceNextValue" resultType="int" > <select id="findProductionTaskListSequenceNextValue" resultType="int" >
select PRODUCTION_TASK_LIST_SEQ.nextval from dual select PRODUCTION_TASK_LIST_SEQ.nextval from dual
</select> </select>
<select id="findGroupInfoSequenceNextValue" resultType="int" >
select GROUPINFO_SEQ.nextval from dual
</select>
<select id="findPoliceStationVailedSequenceNextValue" resultType="int" >
select POLICE_STATION_VAILED_SEQ.nextval from dual
</select>
<select id="findFailedinfoSequenceNextValue" resultType="int">
select FAILEDINFO_SEQ.nextval from dual
</select>
<select id="findAcceptInfoSequenceNextValue" resultType="int">
select ACCEPTINFO_SEQ.nextval from dual
</select>
<select id="findPoliceStationApplyReasonSequenceNextValue" resultType="int">
select APPLY_REASON_SEQ.nextval from dual
</select>
</mapper> </mapper>
\ No newline at end of file
<ehcache>
<diskStore path="java.io.tmpdir"/>
<!-- name 缓存名称 -->
<!-- maxElementsInMemory 内存中最大缓存对象数,看着自己的heap大小来搞 -->
<!-- eternal:true表示对象永不过期,此时会忽略timeToIdleSeconds和timeToLiveSeconds属性,默认为false -->
<!-- maxElementsOnDisk:硬盘中最大缓存对象数,若是0表示无穷大 -->
<!-- overflowToDisk:true表示当内存缓存的对象数目达到了maxElementsInMemory界限后,
会把溢出的对象写到硬盘缓存中。注意:如果缓存的对象要写入到硬盘中的话,则该对象必须实现了Serializable接口才行。-->
<!-- diskSpoolBufferSizeMB:磁盘缓存区大小,默认为30MB。每个Cache都应该有自己的一个缓存区。-->
<!-- diskPersistent:是否缓存虚拟机重启期数据 -->
<!-- diskExpiryThreadIntervalSeconds:磁盘失效线程运行时间间隔,默认为120秒 -->
<!--timeToIdleSeconds:设置对象在失效前的允许闲置时间(单位:秒)。当对象自从最近一次被访问后,
如果处于空闲状态的时间超过了timeToIdleSeconds属性值,这个对象就会过期,
EHCache将把它从缓存中清空。仅当eternal=false对象不是永久有效时使用,可选属性,默认值是0,也就是可闲置时间无穷大。-->
<!--timeToLiveSeconds:设置对象在失效前允许存活时间(单位:秒)。最大时间介于创建时间和失效时间之间。
如果处于缓存中的时间超过了 timeToLiveSeconds属性值,这个对象就会过期,
EHCache将把它从缓存中清除。仅当eternal=false对象不是永久有效时使用,默认是0.,也就是对象存活时间无穷大。-->
<!-- clearOnFlush:内存数量最大时是否清除 -->
<!-- memoryStoreEvictionPolicy:当达到maxElementsInMemory限制时,
Ehcache将会根据指定的策略去清理内存。可选策略有:LRU(最近最少使用,默认策略)、
FIFO(先进先出)、LFU(最少访问次数)。-->
<defaultCache
maxElementsInMemory="10000"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
maxElementsOnDisk="10000000"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU">
<!--<persistence strategy="localTempSwap"/>-->
</defaultCache>
<!-- 设定缓存的默认数据过期策略 -->
<cache name="shiro"
maxElementsInMemory="10000"
timeToIdleSeconds="120"
timeToLiveSeconds="120"
maxElementsOnDisk="10000000"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU">
<!-- <persistence strategy="localTempSwap"/>-->
</cache>
<!-- shiro-activeSessionCache活跃用户session缓存策略 -->
<cache name="shiro-activeSessionCache"
maxElementsInMemory="10000"
timeToIdleSeconds="86400"
timeToLiveSeconds="86400"
maxElementsOnDisk="10000000"
diskExpiryThreadIntervalSeconds="120"
memoryStoreEvictionPolicy="LRU">
<!-- <persistence strategy="localTempSwap"/>-->
</cache>
<!-- 登录记录缓存 锁定2分钟 -->
<cache name="passwordRetryCache"
maxEntriesLocalHeap="10000"
eternal="false"
timeToIdleSeconds="120"
timeToLiveSeconds="0"
overflowToDisk="false"
statistics="false">
</cache>
</ehcache>
<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<title>Login</title>
<link rel="stylesheet" type="text/css" th:href="@{/css/bootstrap.theme.min.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{/css/bootstrap.min.css}"/>
<script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/js/bootstrap.min.js}"></script>
<script type="text/javascript">
$(function () {
var dheight = $(document).height();
var lheight = $('#login').height();
$('#login').css('marginTop', (dheight - lheight) / 2 + 'px');
})
</script>
</head>
<body background="images\body_bg5.jpg">
<div class="container">
<div id="login" class="row">
<div class="col-xs-6 col-xs-offset-3">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">用户登录</h3>
</div>
<div class="panel-body" style="background: rgba(0, 0, 0, 0.1); box-shadow: 10px 10px 5px #888888">
<form class="form-horizontal" action="userLogin" method="POST">
<div class="form-group">
<label class="col-xs-3 control-label"></label>
<label style="color: red;" class="col-xs-9" th:text="${msg}"></label>
</div>
<div class="form-group">
<label class="col-xs-3 control-label">用户名</label>
<div class="col-xs-9">
<input type="text" class="form-control" id="yhid"
name="username" value="admin" placeholder="请输入用户名称">
</div>
</div>
<div class="form-group">
<label class="col-xs-3 control-label">密码</label>
<div class="col-xs-9">
<input type="password" class="form-control" id="passid"
name="password" value="123456" placeholder="请输入密码">
</div>
</div>
<div class="form-group">
<div class="col-xs-offset-5 col-xs-2">
<button type="submit" class="btn btn-warning btn-block"> 登 录</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
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