|
|
@@ -143,7 +143,7 @@ public class OrderChangeApiController extends CertifyApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR,"","变更项目id"));
|
|
|
return res;
|
|
|
}
|
|
|
- if (orderChangeService.checkTaskMain(t)){
|
|
|
+ if (t.getType()!=3&&orderChangeService.checkTaskMain(t)){
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_BEING_ERROR, "", "主项目"));
|
|
|
return res;
|
|
|
}
|