Commit 12e481a2 by zhengxj

finish 技工-对账单详情 20200116 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25861 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 0e943ec8
...@@ -123,7 +123,8 @@ public class ReconciliationDetailController { ...@@ -123,7 +123,8 @@ public class ReconciliationDetailController {
*/ */
@AuthCheck @AuthCheck
@PostMapping("/add") @PostMapping("/add")
public ResultObject add(Integer userId, Byte userType, Integer reconciliationId, List<Integer> ids, public ResultObject add(@RequestParam(required = true) Integer userId, @RequestParam(required = true) Byte userType,
@RequestParam(required = true) Integer reconciliationId, @RequestParam(required = true) List<Integer> ids,
HttpServletRequest request) { HttpServletRequest request) {
Integer createBy = UserUtils.getUserId(request); Integer createBy = UserUtils.getUserId(request);
reconciliationService.add(userId, userType, reconciliationId, ids, createBy); reconciliationService.add(userId, userType, reconciliationId, ids, createBy);
......
...@@ -136,6 +136,19 @@ public class OrderForReconciliationDto { ...@@ -136,6 +136,19 @@ public class OrderForReconciliationDto {
*/ */
private String address; private String address;
/**
* 完成时间
*/
private Date completeTime;
public Date getCompleteTime() {
return completeTime;
}
public void setCompleteTime(Date completeTime) {
this.completeTime = completeTime;
}
public Integer getUserId() { public Integer getUserId() {
return userId; return userId;
} }
......
...@@ -73,7 +73,7 @@ public class QueryOrderReq implements Serializable { ...@@ -73,7 +73,7 @@ public class QueryOrderReq implements Serializable {
private boolean needMoreInfo; private boolean needMoreInfo;
private String subsidy; private Integer subsidy;
private List<Integer> ids; private List<Integer> ids;
...@@ -85,11 +85,11 @@ public class QueryOrderReq implements Serializable { ...@@ -85,11 +85,11 @@ public class QueryOrderReq implements Serializable {
this.ids = ids; this.ids = ids;
} }
public String getSubsidy() { public Integer getSubsidy() {
return subsidy; return subsidy;
} }
public void setSubsidy(String subsidy) { public void setSubsidy(Integer subsidy) {
this.subsidy = subsidy; this.subsidy = subsidy;
} }
......
...@@ -1358,13 +1358,13 @@ ...@@ -1358,13 +1358,13 @@
or so.work_order_no like "%"#{keyWord}"%") or so.work_order_no like "%"#{keyWord}"%")
</if> </if>
<choose> <choose>
<when test="subsidy == y"> <when test="subsidy == 1">
and sos.id IS NOT NULL and sos.id IS NOT NULL
</when> </when>
<when test="subsidy == n"> <when test="subsidy == 0">
and sos.id IS NULL and sos.id IS NULL
</when> </when>
</choose> </choose>
and so.order_type != 4 and so.order_type != 4
GROUP BY so.id GROUP BY so.id
order by so.create_time desc order by so.create_time desc
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!