Commit e06b842d authored by dahai's avatar dahai

push

parent c4b0da7f
...@@ -450,6 +450,15 @@ public class TaskListApi { ...@@ -450,6 +450,15 @@ public class TaskListApi {
return list; return list;
} }
/**
* 查询已转出数量
*/
@RequestMapping("getPrintOutCount")
public List<Map<String, Object>> getPrintOutCount() {
List<Map<String, Object>> printOutCount = taskListService.getPrintOutCount();
return printOutCount;
}
// /** // /**
// * // *
......
...@@ -22,8 +22,6 @@ public class ReceiptListEntity { ...@@ -22,8 +22,6 @@ public class ReceiptListEntity {
private Long cardTypeId; private Long cardTypeId;
private Long oldCardTypeId; private Long oldCardTypeId;
private long isPrint; private long isPrint;
private String recheckName;
private Time recheckDate;
@Id @Id
@Column(name = "ID") @Column(name = "ID")
...@@ -135,25 +133,6 @@ public class ReceiptListEntity { ...@@ -135,25 +133,6 @@ public class ReceiptListEntity {
this.isPrint = isPrint; this.isPrint = isPrint;
} }
@Basic
@Column(name = "RECHECK_NAME")
public String getRecheckName() {
return recheckName;
}
public void setRecheckName(String recheckName) {
this.recheckName = recheckName;
}
@Basic
@Column(name = "RECHECK_DATE")
public Time getRecheckDate() {
return recheckDate;
}
public void setRecheckDate(Time recheckDate) {
this.recheckDate = recheckDate;
}
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
...@@ -170,13 +149,11 @@ public class ReceiptListEntity { ...@@ -170,13 +149,11 @@ public class ReceiptListEntity {
Objects.equals(checkDate, that.checkDate) && Objects.equals(checkDate, that.checkDate) &&
Objects.equals(checkName, that.checkName) && Objects.equals(checkName, that.checkName) &&
Objects.equals(cardTypeId, that.cardTypeId) && Objects.equals(cardTypeId, that.cardTypeId) &&
Objects.equals(oldCardTypeId, that.oldCardTypeId) && Objects.equals(oldCardTypeId, that.oldCardTypeId);
Objects.equals(recheckName, that.recheckName) &&
Objects.equals(recheckDate, that.recheckDate);
} }
@Override @Override
public int hashCode() { public int hashCode() {
return Objects.hash(id, qrCode, receiptDate, policeCode, finishCount, checkDate, checkName, state, cardTypeId, oldCardTypeId, isPrint, recheckName, recheckDate); return Objects.hash(id, qrCode, receiptDate, policeCode, finishCount, checkDate, checkName, state, cardTypeId, oldCardTypeId, isPrint);
} }
} }
...@@ -1473,7 +1473,12 @@ public interface TaskListMapper { ...@@ -1473,7 +1473,12 @@ public interface TaskListMapper {
"WHERE TO_CHAR(TASK.QUALITY_TEST_DATE,'yyyy-MM-dd')=#{date}") "WHERE TO_CHAR(TASK.QUALITY_TEST_DATE,'yyyy-MM-dd')=#{date}")
public String selectCountQuality2(@Param("date")String date); public String selectCountQuality2(@Param("date")String date);
@Select("select sum(asum),sum(bsum) from (select sum(decode(TASK.WORK_GROUP,1,0,valid_count)) asum,sum(decode(TASK.WORK_GROUP,2,0,valid_count)) bsum from TASK left join GROUP_NO on GROUP_NO.TASK_ID = TASK.TASK_ID\n" +
"where to_char(PRINT_OUT_DATE,'yyyyMMdd') = to_char(sysdate,'yyyyMMdd')\n" +
"UNION all\n" +
"select sum(decode(TASK.WORK_GROUP,1,0,1)) asum,sum(decode(TASK.WORK_GROUP,2,0,1)) bsum from SPECIAL_CARD left join TASK on SPECIAL_CARD.TASK_ID = TASK.TASK_ID\n" +
"where to_char(PRINT_OUT_DATE,'yyyyMMdd') = to_char(sysdate,'yyyyMMdd'))")
public List<Map<String,Object>> getPrintOutCount();
......
...@@ -100,4 +100,6 @@ public interface TaskListService { ...@@ -100,4 +100,6 @@ public interface TaskListService {
public String selectCountQuality2(@Param("date")String date); public String selectCountQuality2(@Param("date")String date);
public List<Map<String,Object>> getPrintOutCount();
} }
...@@ -819,6 +819,12 @@ public class TaskListServiceImpl implements TaskListService { ...@@ -819,6 +819,12 @@ public class TaskListServiceImpl implements TaskListService {
} }
@Override
public List<Map<String, Object>> getPrintOutCount() {
taskListMapper.getPrintOutCount();
return null;
}
private String createGroupNo(List<Integer> c, List<Integer> nsList) { private String createGroupNo(List<Integer> c, List<Integer> nsList) {
try { try {
String groupNo = ""; String groupNo = "";
......
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