Commit ebf1de28 by zhanghj

V1.4.0--技工导出增加归属服务商

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23837 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent f28778a6
...@@ -11,17 +11,20 @@ public class MerchanicExportVo { ...@@ -11,17 +11,20 @@ public class MerchanicExportVo {
private Integer id; private Integer id;
@ExcelColumn(value = "技工名称", index = 1) @ExcelColumn(value = "技工名称", index = 1)
private String name; private String name;
@ExcelColumn(value = "服务项名", index = 2) @ExcelColumn(value = "归属服务商", index = 2)
private String serviceName;
@ExcelColumn(value = "服务项名", index = 3)
private String serviceItems; private String serviceItems;
@ExcelColumn(value = "入驻日期", index = 3, pattern = "yyyy-MM-dd HH:mm:ss") @ExcelColumn(value = "入驻日期", index = 4, pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime; private Date createTime;
@ExcelColumn(value = "状态", index = 4) @ExcelColumn(value = "状态", index = 5)
private String userStatus; private String userStatus;
@ExcelColumn(value = "上门类型", index = 5) @ExcelColumn(value = "上门类型", index = 6)
private String serviceType; private String serviceType;
@ExcelColumn(value = "联系方式", index = 6) @ExcelColumn(value = "联系方式", index = 7)
private String phoneNumber; private String phoneNumber;
public Integer getId() { public Integer getId() {
return id; return id;
} }
...@@ -77,4 +80,13 @@ public class MerchanicExportVo { ...@@ -77,4 +80,13 @@ public class MerchanicExportVo {
public void setPhoneNumber(String phoneNumber) { public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber; this.phoneNumber = phoneNumber;
} }
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
} }
...@@ -227,6 +227,9 @@ public class SysUserServiceImpl implements SysUserService { ...@@ -227,6 +227,9 @@ public class SysUserServiceImpl implements SysUserService {
//技工审核列表 //技工审核列表
} else if (Constants.LIST_TYPE_MECHANIC_CHECK.equals(userQueryVo.getListType())) { } else if (Constants.LIST_TYPE_MECHANIC_CHECK.equals(userQueryVo.getListType())) {
userQueryVo.setUserStatus(Constants.MECHANIC_STATUS_UNCHECK); userQueryVo.setUserStatus(Constants.MECHANIC_STATUS_UNCHECK);
if (page != null) {
PageHelper.startPage(page.getPageIndex(), page.getPageSize(), true);
}
sysMechanicList = sysUserMapper.getCheckSysMechanicList(userQueryVo); sysMechanicList = sysUserMapper.getCheckSysMechanicList(userQueryVo);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!