Commit a7e85a91 authored by mlchun's avatar mlchun

1.PensionServiceEntity、DTO修复

parent d68e945d
...@@ -27,10 +27,6 @@ public class PensionServiceDTO extends TreeNode<PensionServiceDTO> implements Se ...@@ -27,10 +27,6 @@ public class PensionServiceDTO extends TreeNode<PensionServiceDTO> implements Se
@ApiModelProperty(value = "id") @ApiModelProperty(value = "id")
private Long id; private Long id;
@ApiModelProperty(value = "pid")
private Long pid;
@ApiModelProperty(value = "服务名称") @ApiModelProperty(value = "服务名称")
private String serviceName; private String serviceName;
......
...@@ -25,9 +25,6 @@ public class PensionServiceEntity extends BaseEntity { ...@@ -25,9 +25,6 @@ public class PensionServiceEntity extends BaseEntity {
* 服务名称 * 服务名称
*/ */
private String serviceName; private String serviceName;
private Long pid;
/** /**
* 服务父类id * 服务父类id
*/ */
......
...@@ -166,7 +166,7 @@ public class PensionOrderServiceImpl extends CrudServiceImpl<PensionOrderDao, Pe ...@@ -166,7 +166,7 @@ public class PensionOrderServiceImpl extends CrudServiceImpl<PensionOrderDao, Pe
Long orderId = Long.parseLong(params.get("id").toString()); Long orderId = Long.parseLong(params.get("id").toString());
PensionOrderEntity pensionOrderEntity = pensionOrderDao.selectById(orderId); PensionOrderEntity pensionOrderEntity = pensionOrderDao.selectById(orderId);
Integer status = Integer.parseInt(params.get("status").toString()); Integer status = Integer.parseInt(params.get("status").toString());
if (status == 5) {//接单 if (status == 5) { //接单
if (pensionOrderEntity.getStatus() == 0) { if (pensionOrderEntity.getStatus() == 0) {
pensionOrderEntity.setStatus(5); pensionOrderEntity.setStatus(5);
pensionOrderEntity.setStatusName(Constant.OrderStatus.HAND_OUT.getMessage()); pensionOrderEntity.setStatusName(Constant.OrderStatus.HAND_OUT.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment