1、swagger接口文档

beetlsql3-dev
陈沅 1 year ago
parent d170b9ad1e
commit adb32a2439

@ -623,7 +623,7 @@ public class StudentAccountAssetAllocationService extends CoreBaseService<Studen
toAccountAssetAllocation.setInitialInvestmentCapital(toAccountAssetAllocation.getTransferOutAmount().add(transfer)); toAccountAssetAllocation.setInitialInvestmentCapital(toAccountAssetAllocation.getTransferOutAmount().add(transfer));
toAccountAssetAllocation.setAvailableFunds(toAccountAssetAllocation.getTransferOutAmount().add(transfer)); toAccountAssetAllocation.setAvailableFunds(toAccountAssetAllocation.getTransferOutAmount().add(transfer));
toAccountAssetAllocation.setTransferAmount(toAccountAssetAllocation.getTransferAmount().add(transfer)); toAccountAssetAllocation.setTransferinAmount(toAccountAssetAllocation.getTransferinAmount().add(transfer));
studentAccountAssetAllocationDao.updateById(toAccountAssetAllocation); studentAccountAssetAllocationDao.updateById(toAccountAssetAllocation);
StudentAccountTradingRecordSheet tradingRecordSheet = new StudentAccountTradingRecordSheet(); StudentAccountTradingRecordSheet tradingRecordSheet = new StudentAccountTradingRecordSheet();

@ -43,6 +43,7 @@ import com.ibeetl.jlw.service.*;
import com.ibeetl.jlw.web.query.*; import com.ibeetl.jlw.web.query.*;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
@ -75,9 +76,10 @@ public class StudentAccountTradingRecordSheetController{
private static final String API = "/api/studentAccountTradingRecordSheet"; private static final String API = "/api/studentAccountTradingRecordSheet";
@Autowired private StudentAccountTradingRecordSheetService studentAccountTradingRecordSheetService; @Autowired
FileService fileService;
@Autowired FileService fileService; @Autowired
private StudentAccountTradingRecordSheetService studentAccountTradingRecordSheetService;
/* 前端接口 */ /* 前端接口 */
@ -88,6 +90,13 @@ public class StudentAccountTradingRecordSheetController{
return JsonResult.failMessage("请登录后再操作"); return JsonResult.failMessage("请登录后再操作");
} else { } else {
PageQuery page = condition.getPageQuery(); PageQuery page = condition.getPageQuery();
if (condition.getStartTimeLong() != null && condition.getEndTimeLong() != null) {
condition.setStartTime(new Date(condition.getStartTimeLong()));
condition.setEndTime(new Date(condition.getEndTimeLong()));
page.setPara("startTime", condition.getStartTime());
page.setPara("endTime", condition.getEndTime());
}
studentAccountTradingRecordSheetService.queryByConditionQuery(page); studentAccountTradingRecordSheetService.queryByConditionQuery(page);
return JsonResult.success(page); return JsonResult.success(page);
} }

@ -45,6 +45,9 @@ public class StudentAccountTradingRecordSheetQuery extends PageParam {
private Date startTime; private Date startTime;
private Date endTime; private Date endTime;
private Long startTimeLong;
private Long endTimeLong;
private String studentAccountTradingRecordSheetJsonStr;//json格式 private String studentAccountTradingRecordSheetJsonStr;//json格式
private String _given;//指定更新的特定字段,多个逗号隔开 private String _given;//指定更新的特定字段,多个逗号隔开
@ -151,4 +154,20 @@ public class StudentAccountTradingRecordSheetQuery extends PageParam {
public void setEndTime(Date endTime) { public void setEndTime(Date endTime) {
this.endTime = endTime; this.endTime = endTime;
} }
public Long getStartTimeLong() {
return startTimeLong;
}
public void setStartTimeLong(Long startTimeLong) {
this.startTimeLong = startTimeLong;
}
public Long getEndTimeLong() {
return endTimeLong;
}
public void setEndTimeLong(Long endTimeLong) {
this.endTimeLong = endTimeLong;
}
} }

Loading…
Cancel
Save