Commit a9725f42 authored by hezhen's avatar hezhen

修改接单

parent 852a4c31
...@@ -50,6 +50,7 @@ public class VehiclePublishFindDTO extends PageParam implements DataInter { ...@@ -50,6 +50,7 @@ public class VehiclePublishFindDTO extends PageParam implements DataInter {
@ApiModelProperty("当前时间") @ApiModelProperty("当前时间")
private Long nowTime; private Long nowTime;
private String orderNo; private String orderNo;
...@@ -58,4 +59,7 @@ public class VehiclePublishFindDTO extends PageParam implements DataInter { ...@@ -58,4 +59,7 @@ public class VehiclePublishFindDTO extends PageParam implements DataInter {
List<Integer> dataCompanyIds; List<Integer> dataCompanyIds;
Integer bizType; Integer bizType;
@ApiModelProperty("0-进行中;1-已取消;2-待处理,3-已处理")
Integer status;
} }
...@@ -28,7 +28,7 @@ public class VehiclePublishVo extends VehiclePublish { ...@@ -28,7 +28,7 @@ public class VehiclePublishVo extends VehiclePublish {
if (status.equals(1) || status.equals(3)){ if (status.equals(1) || status.equals(3)){
statusStr = "已结束"; statusStr = "已结束";
}else if (status.equals(2)){ }else if (status.equals(2)){
statusStr = "待收"; statusStr = "待收";
}else if (status.equals(0)){ }else if (status.equals(0)){
if (getConfirmNumber() != null && getConfirmNumber() > 0){ if (getConfirmNumber() != null && getConfirmNumber() > 0){
statusStr = "已接"+getConfirmNumber()+"辆"; statusStr = "已接"+getConfirmNumber()+"辆";
......
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
<if test="goodsType != null "> <if test="goodsType != null ">
AND p.`goods_type`= #{goodsType} AND p.`goods_type`= #{goodsType}
</if> </if>
<if test="status != null ">
AND p.`status`= #{status}
</if>
<if test="nowTime != null and nowTime > 0"> <if test="nowTime != null and nowTime > 0">
AND p.`publish_end_time` >= #{nowTime} AND p.`publish_end_time` >= #{nowTime}
</if> </if>
......
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