|
@@ -437,7 +437,7 @@ public class TaskLogicServiceImpl implements TaskLogicService {
|
|
|
|
|
|
|
|
|
device.setDeviceCode(e.getDeviceCode());
|
|
|
- InOutTypeEnum bound = InOutTypeEnum.IN.getTitle().equals(e.getBound()) ? InOutTypeEnum.IN : InOutTypeEnum.OUT;
|
|
|
+ InOutTypeEnum bound = InOutTypeEnum.IN.getTitle().contains(e.getBound()) ? InOutTypeEnum.IN : InOutTypeEnum.OUT;
|
|
|
device.setBound(bound);
|
|
|
device.setLocation(e.getLocation());
|
|
|
device.setEnable(true);
|