feat: 合并急救员建群逻辑到createGroupMag,新增参与工单列表接口
1. createGroupMag增加addCareUsersToGroup调用,自动拉入关爱联络员+急救员 2. 废除createGroupMagFirstAider(标记@Deprecated) 3. 新增/myparticipatedOrders接口,app端查询当前登录人参与的应急工单列表 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+53
@@ -0,0 +1,53 @@
|
||||
package com.renkang.emergency.entity.vo;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* App端:当前登录人参与的应急工单VO
|
||||
*
|
||||
* @author PengJ
|
||||
* @date 2026/7/20
|
||||
*/
|
||||
@Data
|
||||
public class MyParticipatedOrderVO {
|
||||
|
||||
@Schema(title = "应急单ID")
|
||||
private String orderId;
|
||||
|
||||
@Schema(title = "会话ID")
|
||||
private String sessionId;
|
||||
|
||||
@Schema(title = "被救助人姓名")
|
||||
private String salvageUserName;
|
||||
|
||||
@Schema(title = "被救助人性别", description = "字典: sex2")
|
||||
private String salvageUserSex;
|
||||
|
||||
@Schema(title = "被救助人头像")
|
||||
private String salvageUserAvatar;
|
||||
|
||||
@Schema(title = "被救助人年龄")
|
||||
private Integer salvageUserAge;
|
||||
|
||||
@Schema(title = "被救助人手机号")
|
||||
private String salvageUserMobile;
|
||||
|
||||
@Schema(title = "单位名称")
|
||||
private String orgName;
|
||||
|
||||
@Schema(title = "部门名称")
|
||||
private String deptName;
|
||||
|
||||
@Schema(title = "应急单状态", description = "字典: emergency_order_status")
|
||||
private String orderStatus;
|
||||
|
||||
@Schema(title = "发起时间")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
private Date initTime;
|
||||
}
|
||||
Reference in New Issue
Block a user