优化 YdoolPurchaseOrderController 类

- 移除了多个未使用的导入语句
- 删除了对 AuthController 和 LoginDto 的无用引用
- 简化了代码结构,提高了可读性和维护性
This commit is contained in:
lijiaqi 2024-10-14 17:11:43 +08:00
parent 09e1de4289
commit 9173abf1d3
1 changed files with 0 additions and 6 deletions

View File

@ -1,10 +1,6 @@
package com.lframework.xingyun.sc.controller.ydool; package com.lframework.xingyun.sc.controller.ydool;
import com.lframework.starter.web.annotations.OpenApi; import com.lframework.starter.web.annotations.OpenApi;
import com.lframework.starter.web.annotations.security.HasPermission;
import com.lframework.starter.web.common.security.AbstractUserDetails;
import com.lframework.starter.web.common.utils.ApplicationUtil;
import com.lframework.starter.web.components.security.UserDetailsService;
import com.lframework.starter.web.controller.DefaultBaseController; import com.lframework.starter.web.controller.DefaultBaseController;
import com.lframework.starter.web.resp.InvokeResult; import com.lframework.starter.web.resp.InvokeResult;
import com.lframework.starter.web.resp.InvokeResultBuilder; import com.lframework.starter.web.resp.InvokeResultBuilder;
@ -13,8 +9,6 @@ import com.lframework.xingyun.sc.bo.purchase.GetPurchaseOrderBo;
import com.lframework.xingyun.sc.dto.purchase.PurchaseOrderFullDto; import com.lframework.xingyun.sc.dto.purchase.PurchaseOrderFullDto;
import com.lframework.xingyun.sc.service.purchase.PurchaseOrderService; import com.lframework.xingyun.sc.service.purchase.PurchaseOrderService;
import com.lframework.xingyun.sc.vo.ydool.YdoolApproveOrderVo; import com.lframework.xingyun.sc.vo.ydool.YdoolApproveOrderVo;
import com.lframework.xingyun.template.inner.controller.AuthController;
import com.lframework.xingyun.template.inner.dto.LoginDto;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;