Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop
| | |
| | | @ApiModelProperty(value = "快过期 1-是 2-否") |
| | | private String isInvalid; |
| | | |
| | | @ApiModelProperty(value = "项目状态 有效/无效") |
| | | private String status; |
| | | |
| | | public String getIsInvalid() { |
| | | Date date = DateUtil.getDateAfterMonth(new Date(), 1); |
| | | if (invalidTime != null) { |
| | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getStatus() { |
| | | if ("有效".equals(status)) { |
| | | return "1"; |
| | | } else { |
| | | return "2"; |
| | | } |
| | | } |
| | | |
| | | public void setStatus(String status) { |
| | | this.status = status; |
| | | } |
| | | } |
| | |
| | | @ApiModelProperty(value = "快过期 1-是 2-否") |
| | | private String isInvalid; |
| | | |
| | | @ApiModelProperty(value = "状态 有效/无效") |
| | | private String status; |
| | | |
| | | @ApiModelProperty(hidden = true) |
| | | private List<SysProjUse> taocanProjUse; |
| | | |
| | |
| | | public void setProj(List<ServiceProjVo> proj) { |
| | | this.proj = proj; |
| | | } |
| | | |
| | | public String getStatus() { |
| | | if ("有效".equals(status)) { |
| | | return "1"; |
| | | } else { |
| | | return "2"; |
| | | } |
| | | } |
| | | |
| | | public void setStatus(String status) { |
| | | this.status = status; |
| | | } |
| | | } |
| | |
| | | @Override |
| | | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { |
| | | if ("dev".equals(evn)) { |
| | | SysUsers sysUsers = sysUsersDao.selectById(1060L); |
| | | SysUsers sysUsers = sysUsersDao.selectById(1022L); |
| | | request.getSession().setAttribute(MatrixConstance.LOGIN_KEY, sysUsers); |
| | | return true; |
| | | } |
| | |
| | | achieveNew.setShoppingGoodsId(projUse.getProjId()); |
| | | |
| | | if (flag) { |
| | | if (!achieveId.equals(beauticianState.getStaffId())) { |
| | | // if (!achieveId.equals(beauticianState.getStaffId())) { |
| | | AchieveNew saleMan = new AchieveNew(); |
| | | BeanUtils.copyProperties(achieveNew, saleMan); |
| | | saleMan.setBeaultId(achieveId); |
| | | |
| | | saleAchieveNumOfPeople(saleMan); |
| | | achieveNewList.add(saleMan); |
| | | } |
| | | // } |
| | | } |
| | | |
| | | List<AchieveNew> beautyList = achieveNewDao.selectBeautyManAchieveList(beauticianState.getStaffId(), projServices.getVipId(), new Date()); |
| | |
| | | <result property="timeLength" column="proj_time_length"/> |
| | | <result property="img" column="proj_img"/> |
| | | <result property="projId" column="proj_projId"/> |
| | | <result property="status" column="proj_status"/> |
| | | </collection> |
| | | </resultMap> |
| | | |
| | |
| | | e.SURPLUS_COUNT proj_SURPLUS_COUNT, |
| | | e.id proj_info_id, |
| | | e.proj_id proj_projId, |
| | | e.status proj_status, |
| | | f.time_length proj_time_length, |
| | | f.img proj_img |
| | | from sys_proj_use a |