|
|
|
@ -16,6 +16,7 @@ import com.baomidou.mybatisplus.extension.api.R; |
|
|
|
|
import com.google.gson.Gson; |
|
|
|
|
import com.google.gson.JsonArray; |
|
|
|
|
import com.google.gson.JsonObject; |
|
|
|
|
import com.jianshui.common.constant.HttpStatus; |
|
|
|
|
import com.jianshui.common.core.domain.AjaxResult; |
|
|
|
|
import com.jianshui.common.core.domain.entity.Companyservice; |
|
|
|
|
import com.jianshui.common.enums.ErrorCode; |
|
|
|
@ -1944,7 +1945,7 @@ public class InvoiceController { |
|
|
|
|
@ApiImplicitParam(name = "identity", value = "身份认证", dataType = "java.lang.Void", example = "1130", required = true), |
|
|
|
|
@ApiImplicitParam(name = "order", value = "请求体", dataType = "java.lang.Void", required = true)}) |
|
|
|
|
@PostMapping({"/api/invoice/v1/addInvoiceBatch", "/api/invoice/v1/addInvoiceBatch/{identity}", "/invoice/addInvoiceBatch"}) |
|
|
|
|
public void addInvoiceBatch(HttpServletRequest request, String identity) throws Exception { |
|
|
|
|
public HXResponse addInvoiceBatch(HttpServletRequest request, String identity) throws Exception { |
|
|
|
|
|
|
|
|
|
log.info("[重汽批量开票接口]{},请求开票接口!", identity); |
|
|
|
|
// 前置处理
|
|
|
|
@ -1959,7 +1960,7 @@ public class InvoiceController { |
|
|
|
|
} |
|
|
|
|
if (StringUtils.isEmpty(rawJson)) { |
|
|
|
|
log.info("[重汽批量开票接口]未获取到请求参数!identity={}", identity); |
|
|
|
|
return; |
|
|
|
|
return new HXResponse("9999", "操作失败", "",false,""); |
|
|
|
|
} |
|
|
|
|
String order = rawJson.getString("order"); |
|
|
|
|
|
|
|
|
@ -1969,6 +1970,8 @@ public class InvoiceController { |
|
|
|
|
|
|
|
|
|
log.info("[重汽批量开票接口]{},执行完成!", identity); |
|
|
|
|
|
|
|
|
|
return new HXResponse("0000", "操作成功", "",false,""); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|