修改导出专家的title。增加了测试的数量
This commit is contained in:
parent
f68975eca0
commit
af84998f8d
@ -336,4 +336,27 @@ public class CaseplatformCaseExcelController {
|
||||
|
||||
return ResponseDTO.ok();
|
||||
}
|
||||
|
||||
@ApiOperation("测试")
|
||||
@GetMapping("/caseplatformCase/test")
|
||||
public ResponseDTO<Map<String, Object>> caseplatformCaseTest(@RequestParam("count") Long count) {
|
||||
try {
|
||||
// 应发金额 = 数量 × 500
|
||||
double totalAmount = count * 500.0;
|
||||
|
||||
// 实发金额 = 应发 − 个税(暂时用10元代替)
|
||||
double taxAmount = caseplatformCaseService.computeIndividualIncomeTax(totalAmount);
|
||||
double actualAmount = totalAmount - taxAmount;
|
||||
|
||||
Map<String, Object> resultMap = new HashMap<>();
|
||||
resultMap.put("totalAmount", totalAmount);
|
||||
resultMap.put("taxAmount", taxAmount);
|
||||
resultMap.put("actualAmount", actualAmount);
|
||||
|
||||
return ResponseDTO.app_ok(resultMap);
|
||||
} catch (Exception e) {
|
||||
throw new BusinessException(e.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,16 +35,16 @@ public class StatisticsExpertVO {
|
||||
@ApiModelProperty(value = "总数量")
|
||||
private Integer total;
|
||||
|
||||
@ExcelProperty("专家通过数量")
|
||||
@ApiModelProperty(value = "专家通过数量")
|
||||
@ExcelProperty("病例通过数量")
|
||||
@ApiModelProperty(value = "病例通过数量")
|
||||
private Integer passNum;
|
||||
|
||||
@ExcelProperty("专家待审核数量")
|
||||
@ApiModelProperty(value = "专家待审核数量")
|
||||
@ExcelProperty("病例待审核总数量")
|
||||
@ApiModelProperty(value = "病例待审核总数量")
|
||||
private Integer waitNum;
|
||||
|
||||
@ExcelProperty("专家待修改数量")
|
||||
@ApiModelProperty(value = "专家待修改数量")
|
||||
@ExcelProperty("病例待修改总数量")
|
||||
@ApiModelProperty(value = "病例待修改总数量")
|
||||
private Integer refuseNum;
|
||||
|
||||
@ExcelProperty("已结算数量")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user