| | |
| | | import com.finance.common.exception.ServiceException; |
| | | import com.finance.common.utils.BeanUtils; |
| | | import com.finance.common.utils.DateUtils; |
| | | import com.finance.system.constants.QuarterConstant; |
| | | import com.finance.system.domain.TbQuestion; |
| | | import com.finance.system.dto.QuestionDTO; |
| | | import com.finance.system.dto.update.BasicDataUpdDTO; |
| | |
| | | @Validated @RequestBody CurrentFieldsQuery dto) { |
| | | try { |
| | | String previousQuarter = DateUtils.getPreviousQuarter(); |
| | | // previousQuarter = "2024年一季度"; |
| | | previousQuarter = QuarterConstant.CURRENT_QUARTER; |
| | | dto.setQuarter(previousQuarter); |
| | | return tbBasicDataService.fieldsStatics(dto); |
| | | } catch (Exception e) { |
| | |
| | | @Validated @RequestBody ScoreCalculateQuery query) { |
| | | try { |
| | | String previousQuarter = DateUtils.getPreviousQuarter(); |
| | | // previousQuarter = "2024年一季度"; |
| | | previousQuarter = QuarterConstant.CURRENT_QUARTER; |
| | | query.setQuarter(previousQuarter); |
| | | return R.ok(tbBasicDataService.scoreCalculatePage(query)); |
| | | } catch (Exception e) { |