|
@@ -145,10 +145,10 @@ public class SelfCarController {
|
|
|
return new RespR(false, "需要输入公司名称");
|
|
|
}
|
|
|
if (StringUtils.isEmpty(selfCarTrade.getExTimeBegin())) {
|
|
|
- return new RespR(false, "需要交易开始时间");
|
|
|
+ return new RespR(false, "请输入交易开始时间");
|
|
|
}
|
|
|
if (StringUtils.isEmpty(selfCarTrade.getExTimeEnd())) {
|
|
|
- return new RespR(false, "需要输入交易结束时间");
|
|
|
+ return new RespR(false, "请输入交易结束时间");
|
|
|
}
|
|
|
//先更新查询信息
|
|
|
TradeRequestVo tradeRequestVo = new TradeRequestVo();
|
|
@@ -486,9 +486,8 @@ public class SelfCarController {
|
|
|
public RespR findSelfcarInvoiceByTime(@RequestBody SelfcarInvoiceByTimeVo selfcarInvoiceByTimeVo, User user) {
|
|
|
try {
|
|
|
|
|
|
- if (!checkHasAuthRole.checkMessage(selfcarInvoiceByTimeVo.getCustomerName(), selfcarInvoiceByTimeVo.getCompanyName(),
|
|
|
- selfcarInvoiceByTimeVo.getCarNum(), selfcarInvoiceByTimeVo.getStartTime(), selfcarInvoiceByTimeVo.getEndTime())) {
|
|
|
- return new RespR(false, "根据车牌号进行开票操作失败,请查看数据是否维护准确");
|
|
|
+ if (!checkHasAuthRole.checkMessage(selfcarInvoiceByTimeVo.getCustomerName(), selfcarInvoiceByTimeVo.getCompanyName(),selfcarInvoiceByTimeVo.getStartTime(), selfcarInvoiceByTimeVo.getEndTime())) {
|
|
|
+ return new RespR(false, "开票操作失败,请输入开始时间与结束时间");
|
|
|
}
|
|
|
|
|
|
|