Commit 01dc90ed authored by Administrator's avatar Administrator

更新组号列表的实体

parent 85e0aabd
...@@ -11,7 +11,7 @@ import java.util.Objects; ...@@ -11,7 +11,7 @@ import java.util.Objects;
public class GroupNoEntity { public class GroupNoEntity {
private long task_Id; private long task_Id;
private String group_No; private String group_No;
private long vaild_Count; private long valid_Count;
private long invalid_Count; private long invalid_Count;
private long special_Card_Count; private long special_Card_Count;
...@@ -34,13 +34,13 @@ public class GroupNoEntity { ...@@ -34,13 +34,13 @@ public class GroupNoEntity {
this.group_No = group_No; this.group_No = group_No;
} }
@Basic @Basic
@Column(name = "VAILD_COUNT", nullable = false, precision = 0) @Column(name = "VALID_COUNT", nullable = false, precision = 0)
public long getVaild_Count() { public long getValid_Count() {
return vaild_Count; return valid_Count;
} }
public void setVaild_Count(long vaild_Count) { public void setValid_Count(long valid_Count) {
this.vaild_Count = vaild_Count; this.valid_Count = valid_Count;
} }
@Basic @Basic
@Column(name = "INVALID_COUNT", nullable = false, precision = 0) @Column(name = "INVALID_COUNT", nullable = false, precision = 0)
...@@ -65,7 +65,7 @@ public class GroupNoEntity { ...@@ -65,7 +65,7 @@ public class GroupNoEntity {
if (this == o) { return true;} if (this == o) { return true;}
if (o == null || getClass() != o.getClass()){ return false;} if (o == null || getClass() != o.getClass()){ return false;}
GroupNoEntity that = (GroupNoEntity) o; GroupNoEntity that = (GroupNoEntity) o;
return vaild_Count == that.vaild_Count && return valid_Count == that.valid_Count &&
invalid_Count == that.invalid_Count && invalid_Count == that.invalid_Count &&
special_Card_Count == that.special_Card_Count && special_Card_Count == that.special_Card_Count &&
task_Id == that.task_Id && task_Id == that.task_Id &&
...@@ -74,6 +74,6 @@ public class GroupNoEntity { ...@@ -74,6 +74,6 @@ public class GroupNoEntity {
@Override @Override
public int hashCode() { public int hashCode() {
return Objects.hash( group_No, task_Id, vaild_Count, invalid_Count,special_Card_Count); return Objects.hash( group_No, task_Id, valid_Count, invalid_Count,special_Card_Count);
} }
} }
...@@ -209,7 +209,7 @@ public class TaskServiceImpl implements TaskService { ...@@ -209,7 +209,7 @@ public class TaskServiceImpl implements TaskService {
groupNoEntity1.setTask_Id(taskEntity.getTask_Id()); groupNoEntity1.setTask_Id(taskEntity.getTask_Id());
groupNoEntity1.setGroup_No(group_no.toString()); groupNoEntity1.setGroup_No(group_no.toString());
groupNoEntity1.setInvalid_Count(Long.valueOf(invalid_count.toString())); groupNoEntity1.setInvalid_Count(Long.valueOf(invalid_count.toString()));
groupNoEntity1.setVaild_Count(Long.valueOf(valid_count.toString())); groupNoEntity1.setValid_Count(Long.valueOf(valid_count.toString()));
groupNoEntity1.setSpecial_Card_Count((long) 1); groupNoEntity1.setSpecial_Card_Count((long) 1);
groupNoMapper.insertGroupNoEntity(groupNoEntity1); groupNoMapper.insertGroupNoEntity(groupNoEntity1);
......
...@@ -122,7 +122,7 @@ app.controller('cycleSheetCtrl', ['$scope', '$rootScope', '$http', '$state', '$f ...@@ -122,7 +122,7 @@ app.controller('cycleSheetCtrl', ['$scope', '$rootScope', '$http', '$state', '$f
{typeCode: 0, typeCount: 5000, typeName: '普通证'}, {typeCode: 0, typeCount: 5000, typeName: '普通证'},
{typeCode: 1, typeCount: 5000, typeName: '邮寄证'}, {typeCode: 1, typeCount: 5000, typeName: '邮寄证'},
{typeCode: 2, typeCount: 5000, typeName: '特殊证'}, {typeCode: 2, typeCount: 5000, typeName: '特殊证'},
{typeCode: 9, typeCount: 5000, typeName: '异地证'}, {typeCode: 9, typeCount: 5000, typeName: '异地证'}
] ]
$scope.cityList = [ $scope.cityList = [
{ {
...@@ -324,6 +324,8 @@ app.controller('cycleSheetCtrl', ['$scope', '$rootScope', '$http', '$state', '$f ...@@ -324,6 +324,8 @@ app.controller('cycleSheetCtrl', ['$scope', '$rootScope', '$http', '$state', '$f
} }
] ]
$scope.receiptList = [[358, 0, 0, 0, 82, 0, 0, 1, 0, 205, 646, 3, "郑州 辖区", "410101"], [721, 0, 0, 0, 20, 0, 0, 7, 1, 91, 840, 4, "郑州 中原", "410102"],]
$scope.showtable = -1; $scope.showtable = -1;
$scope.showTable = function (taskID) { $scope.showTable = function (taskID) {
if ($scope.showtable != taskID) { if ($scope.showtable != taskID) {
......
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