|
|
@@ -154,7 +154,7 @@ public class DzCardsController extends BaseController
|
|
|
throw new ValidationException("只能分配给下级代理");
|
|
|
}
|
|
|
dzCardsService.assignCard(null == agent.getParentId() ? agentId : agent.getParentId(), agentId, begin, end, location, examType, schoolId);
|
|
|
- } else if(null == agent.getParentId()) { // 平台指定, TODO 暂只支持二级代理
|
|
|
+ } else { // 平台指定, TODO 暂只支持二级代理
|
|
|
dzCardsService.assignCard(null == agent.getParentId() ? agentId : agent.getParentId(), agentId, begin, end, location, examType, schoolId);
|
|
|
}
|
|
|
return AjaxResult.success();
|