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 @@ ...@@ -37,7 +37,7 @@
<dependency> <dependency>
<groupId>cn.com.glsx.dj</groupId> <groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-staff-api</artifactId> <artifactId>rpc-dj-staff-api</artifactId>
<version>5.6.4-SNAPSHOT</version> <version>5.7.1-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
......
...@@ -21,6 +21,12 @@ import java.util.List; ...@@ -21,6 +21,12 @@ import java.util.List;
public class CompanyMonthlyReportDTO implements Serializable { public class CompanyMonthlyReportDTO implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty("员工名称")
private String staffName;
@ApiModelProperty("员工手机号")
private String staffPhone;
@ApiModelProperty("月份") @ApiModelProperty("月份")
private Integer monthValue; private Integer monthValue;
......
...@@ -21,6 +21,12 @@ import java.util.List; ...@@ -21,6 +21,12 @@ import java.util.List;
public class DeptMonthlyReportDTO implements Serializable { public class DeptMonthlyReportDTO implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty("员工名称")
private String staffName;
@ApiModelProperty("员工手机号")
private String staffPhone;
@ApiModelProperty("部门ID") @ApiModelProperty("部门ID")
private Long directOrgId; private Long directOrgId;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
</parent> </parent>
<groupId>cn.com.glsx.dj</groupId> <groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-staff</artifactId> <artifactId>rpc-dj-staff</artifactId>
<version>5.6.4-SNAPSHOT</version> <version>5.7.0-SNAPSHOT</version>
<name>rpc-dj-staff</name> <name>rpc-dj-staff</name>
<packaging>war</packaging> <packaging>war</packaging>
<dependencies> <dependencies>
......
...@@ -45,6 +45,10 @@ public class MeiTuanOrderRemoteImpl implements MeiTuanOrderRemote{ ...@@ -45,6 +45,10 @@ public class MeiTuanOrderRemoteImpl implements MeiTuanOrderRemote{
throw new RpcServiceException("该pushId找不到对应的记录,pushId=" + pushId); throw new RpcServiceException("该pushId找不到对应的记录,pushId=" + pushId);
} }
DeptMonthlyReportDTO dto = JSON.parseObject(pushLog.getPushMsg(), DeptMonthlyReportDTO.class); DeptMonthlyReportDTO dto = JSON.parseObject(pushLog.getPushMsg(), DeptMonthlyReportDTO.class);
if (dto!=null){
dto.setStaffName(pushLog.getStaffName());
dto.setStaffPhone(pushLog.getStaffPhone());
}
return RpcResponse.success(dto); return RpcResponse.success(dto);
} catch (Exception e) { } catch (Exception e) {
log.error("obtainDeptMonthlyReport fail", e); log.error("obtainDeptMonthlyReport fail", e);
...@@ -61,6 +65,10 @@ public class MeiTuanOrderRemoteImpl implements MeiTuanOrderRemote{ ...@@ -61,6 +65,10 @@ public class MeiTuanOrderRemoteImpl implements MeiTuanOrderRemote{
throw new RpcServiceException("该pushId找不到对应的记录,pushId=" + pushId); throw new RpcServiceException("该pushId找不到对应的记录,pushId=" + pushId);
} }
CompanyMonthlyReportDTO dto = JSON.parseObject(pushLog.getPushMsg(), CompanyMonthlyReportDTO.class); CompanyMonthlyReportDTO dto = JSON.parseObject(pushLog.getPushMsg(), CompanyMonthlyReportDTO.class);
if (dto!=null){
dto.setStaffName(pushLog.getStaffName());
dto.setStaffPhone(pushLog.getStaffPhone());
}
return RpcResponse.success(dto); return RpcResponse.success(dto);
} catch (Exception e) { } catch (Exception e) {
log.error("obtainCompanyMonthlyReport fail", 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!