fix: 移除create日志中已删除的beforePhoto字段引用
This commit is contained in:
parent
3298574159
commit
fa9cdecfb1
@ -32,7 +32,7 @@ public class ReportController {
|
|||||||
|
|
||||||
@PostMapping("/create")
|
@PostMapping("/create")
|
||||||
public Map<String, Object> create(@RequestBody Report report) {
|
public Map<String, Object> create(@RequestBody Report report) {
|
||||||
System.out.println(">>> Report create received: appointmentId=" + report.getAppointmentId() + ", userId=" + report.getUserId() + ", before=" + report.getBeforePhoto());
|
System.out.println(">>> Report create received: appointmentId=" + report.getAppointmentId() + ", userId=" + report.getUserId() + ", images count=" + (report.getImages() == null ? 0 : report.getImages().size()));
|
||||||
Report created = reportService.create(report);
|
Report created = reportService.create(report);
|
||||||
|
|
||||||
Map<String, Object> result = new HashMap<>();
|
Map<String, Object> result = new HashMap<>();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user