|
|
@@ -113,14 +113,23 @@ class ForeignHaiRoboticsService
|
|
|
$robotId,
|
|
|
$description
|
|
|
):bool{
|
|
|
- if($status==1){
|
|
|
+ if(($failed
|
|
|
+ =$status)==1){
|
|
|
return $this->excepted();
|
|
|
}
|
|
|
+ if(($isPut
|
|
|
+ =$updateEventType)==0){
|
|
|
+ return $this->markHasPut();
|
|
|
+ }
|
|
|
+ if(($isGet
|
|
|
+ =$updateEventType)==1){
|
|
|
+ return $this->markHasGot();
|
|
|
+ }
|
|
|
switch ($updateEventType){
|
|
|
case 0:
|
|
|
case 1:
|
|
|
}
|
|
|
- $this->markHasGet();
|
|
|
+ $this->markHasGot();
|
|
|
|
|
|
}
|
|
|
public function markHasPut(
|
|
|
@@ -135,7 +144,7 @@ class ForeignHaiRoboticsService
|
|
|
|
|
|
|
|
|
}
|
|
|
- public function markHasGet(
|
|
|
+ public function markHasGot(
|
|
|
$groupCode,
|
|
|
$taskCode,
|
|
|
$updateEventType, //0:task_begin(取货)1:task_end(放货)
|