进口仓单推送-Log修改
This commit is contained in:
@@ -7,6 +7,8 @@ import io.swagger.annotations.ApiOperation;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@Data
|
||||
public class GwLogDTO {
|
||||
|
||||
@@ -42,4 +44,29 @@ public class GwLogDTO {
|
||||
@ApiModelProperty(value = "每页数量")
|
||||
private Integer pageSize = 10;
|
||||
|
||||
@ApiModelProperty("日志id")
|
||||
private Long logId;
|
||||
|
||||
@ApiModelProperty("请求报文")
|
||||
private String requestBody;
|
||||
|
||||
@ApiModelProperty("响应报文")
|
||||
private String responseBody;
|
||||
|
||||
@ApiModelProperty("错误信息")
|
||||
private String errorMsg;
|
||||
|
||||
@ApiModelProperty("推送时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date sendTime;
|
||||
|
||||
@ApiModelProperty("组织名称")
|
||||
private String organizationName;
|
||||
|
||||
@ApiModelProperty("创建人")
|
||||
private Long createBy;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
}
|
||||
|
||||
@@ -50,15 +50,15 @@ public class GwLogApi extends BaseController {
|
||||
|
||||
}
|
||||
|
||||
@ApiOperation("查询GW日志")
|
||||
@ApiOperation("保存GW日志")
|
||||
@PostMapping("/saveGwLog")
|
||||
public AjaxResult saveGwLog(GwLogDTO gwLogDTO){
|
||||
public AjaxResult saveGwLog(@RequestBody GwLogDTO gwLogDTO){
|
||||
return gwLogApplicationService.insertGwLog(gwLogDTO);
|
||||
}
|
||||
|
||||
@ApiOperation("查询GW日志")
|
||||
@ApiOperation("更新GW日志")
|
||||
@PostMapping("/updateGwLog")
|
||||
public AjaxResult updateGwLog(GwLogDTO gwLogDTO){
|
||||
public AjaxResult updateGwLog(@RequestBody GwLogDTO gwLogDTO){
|
||||
return gwLogApplicationService.updateGwLog(gwLogDTO);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user