getplan 增加name字段
This commit is contained in:
@@ -20,6 +20,8 @@ import java.util.List;
|
||||
@Data
|
||||
public class OpeningOperationPlanVO {
|
||||
|
||||
@ApiModelProperty("门店name")
|
||||
private String name;
|
||||
@ApiModelProperty("调研结果")
|
||||
private String surveyResult;
|
||||
|
||||
|
||||
@@ -59,6 +59,8 @@ public class OpeningOperationPlanImpl implements OpeningOperationPlanService {
|
||||
private SysRoleService sysRoleService;
|
||||
@Resource
|
||||
private UserAuthMappingService userAuthMappingService;
|
||||
@Resource
|
||||
private ShopInfoDAO shopInfoDAO;
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
@@ -121,6 +123,8 @@ public class OpeningOperationPlanImpl implements OpeningOperationPlanService {
|
||||
EnterpriseUserDO username = enterpriseUserDAO.getUserInfoById(openingOperationPlanDO.getSubmittedUserId());
|
||||
openingOperationPlanVO.setSubmittedUserName(username.getName());
|
||||
openingOperationPlanVO.setPreparationUsers(nameByUserId);
|
||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(shopId);
|
||||
openingOperationPlanVO.setName(shopInfo.getShopName());
|
||||
return openingOperationPlanVO;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user