Commit c01a512b by 叶立庆

Merge remote-tracking branch 'origin/v5.7.0' into v5.7.1

# Conflicts:
#	rpc-dj-staff-api/pom.xml
#	rpc-dj-staff/pom.xml
2 parents 1c720267 a6604218
......@@ -37,7 +37,7 @@
<dependency>
<groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-staff-api</artifactId>
<version>5.6.4-SNAPSHOT</version>
<version>5.7.1-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
......
......@@ -21,6 +21,12 @@ import java.util.List;
public class CompanyMonthlyReportDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("员工名称")
private String staffName;
@ApiModelProperty("员工手机号")
private String staffPhone;
@ApiModelProperty("月份")
private Integer monthValue;
......
......@@ -21,6 +21,12 @@ import java.util.List;
public class DeptMonthlyReportDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty("员工名称")
private String staffName;
@ApiModelProperty("员工手机号")
private String staffPhone;
@ApiModelProperty("部门ID")
private Long directOrgId;
......
......@@ -7,7 +7,7 @@
</parent>
<groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-staff</artifactId>
<version>5.6.4-SNAPSHOT</version>
<version>5.7.0-SNAPSHOT</version>
<name>rpc-dj-staff</name>
<packaging>war</packaging>
<dependencies>
......
......@@ -45,6 +45,10 @@ public class MeiTuanOrderRemoteImpl implements MeiTuanOrderRemote{
throw new RpcServiceException("该pushId找不到对应的记录,pushId=" + pushId);
}
DeptMonthlyReportDTO dto = JSON.parseObject(pushLog.getPushMsg(), DeptMonthlyReportDTO.class);
if (dto!=null){
dto.setStaffName(pushLog.getStaffName());
dto.setStaffPhone(pushLog.getStaffPhone());
}
return RpcResponse.success(dto);
} catch (Exception e) {
log.error("obtainDeptMonthlyReport fail", e);
......@@ -61,6 +65,10 @@ public class MeiTuanOrderRemoteImpl implements MeiTuanOrderRemote{
throw new RpcServiceException("该pushId找不到对应的记录,pushId=" + pushId);
}
CompanyMonthlyReportDTO dto = JSON.parseObject(pushLog.getPushMsg(), CompanyMonthlyReportDTO.class);
if (dto!=null){
dto.setStaffName(pushLog.getStaffName());
dto.setStaffPhone(pushLog.getStaffPhone());
}
return RpcResponse.success(dto);
} catch (Exception e) {
log.error("obtainCompanyMonthlyReport fail", e);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!