Commit ecd0de13 by 叶立庆

Merge branch 'v5.7.0' into 'master'

上线合并

See merge request !9
2 parents f1e69f5b a6604218
...@@ -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-api</artifactId> <artifactId>rpc-dj-staff-api</artifactId>
<version>5.6.4-SNAPSHOT</version> <version>5.7.0-SNAPSHOT</version>
<name>rpc-dj-staff-api</name> <name>rpc-dj-staff-api</name>
<properties> <properties>
<deploy.scanPackage>cn.com.glsx.dj.staff.remote</deploy.scanPackage> <deploy.scanPackage>cn.com.glsx.dj.staff.remote</deploy.scanPackage>
...@@ -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.0-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,14 +7,14 @@ ...@@ -7,14 +7,14 @@
</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>
<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.0-SNAPSHOT</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.oreframework.boot</groupId> <groupId>org.oreframework.boot</groupId>
......
...@@ -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!