处理OrderSplitRecord中值为0的数据

This commit is contained in:
Guoqs
2025-10-10 16:03:46 +08:00
parent 483e4fd40d
commit e7c780822c
7 changed files with 262 additions and 10 deletions

View File

@@ -979,4 +979,20 @@ public class TempController extends BaseController {
SmsResponse smsResponse = smsBlend.sendMessage("18521561107","888888");
logger.info("发送短信结果:{}, 详情:{}", smsResponse.isSuccess(), JSON.toJSONString(smsResponse));
}
/**
* 处理OrderSplitRecord中值为0的数据
*/
@PostMapping("/handleOrderSplitRecord")
public RestApiResponse<?> handleOrderSplitRecord(@RequestBody QueryOrderDTO dto) {
RestApiResponse<?> response;
try {
tempService.handleOrderSplitRecord(dto.getOrderCode());
response = new RestApiResponse<>();
} catch (Exception e) {
logger.error("处理OrderSplitRecord中值为0的数据 error,", e);
response = new RestApiResponse<>(e);
}
return response;
}
}