|
@@ -713,7 +713,7 @@ public class OrderBaseLogic {
|
|
|
final AdminWebsit adminWebsit = adminWebsitService.getById(pgOrderBase.getWebsitId());
|
|
|
|
|
|
if (adminWebsit.getAttr().equals(WebsitAttrEnum.SELF.getKey())
|
|
|
- && "安装, 拆移".contains(pgOrderBase.getOrderSmallType())
|
|
|
+ && "安装, 拆移".contains(pgOrderBase.getOrderSmallTypeText())
|
|
|
&& CollectionUtil.isEmpty(workerList)) {
|
|
|
throw new RemoteServiceException("工单的类型必须至少选一个小工");
|
|
|
}
|