refactor(production): 将javax.servlet.http替换为jakarta.servlet.http
- 更新ProductionPlanController中的HttpServletResponse导入
- 更新ProductionPlanService中的HttpServletResponse导入
- 更新ProductionPlanServiceImpl中的HttpServletResponse导入
- 更新ProductionProductMainController中的HttpServletResponse导入
- 在application.yml中启用循环引用支持以解决依赖注入问题
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | |
| | | import com.ruoyi.production.service.ProductionProductMainService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | @RequestMapping("productionProductMain") |
| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | //import org.springframework.transaction.annotation.Transactional; |
| | | //import org.springframework.web.multipart.MultipartFile; |
| | | // |
| | | //import javax.servlet.http.HttpServletResponse; |
| | | //import jakarta.servlet.http.HttpServletResponse; |
| | | //import java.math.BigDecimal; |
| | | //import java.time.Instant; |
| | | //import java.time.LocalDateTime; |
| | |
| | | # Spring配置 |
| | | spring: |
| | | main: |
| | | allow-circular-references: true |
| | | profiles: |
| | | active: dev |