Authored by mali

目录调整

Showing 17 changed files with 35 additions and 46 deletions
package com.yohobuy.ufo.constants;
package com.yoho.ufo.constants;
/**
* Created by li.ma on 2018/9/8.
... ...
package com.yohobuy.ufo.exception;
package com.yoho.ufo.exception;
import com.yoho.error.exception.ServiceException;
... ...
package com.yohobuy.ufo.login.controller;
package com.yoho.ufo.login.controller;
import com.yohobuy.ufo.constants.PlatformConstant;
import com.yohobuy.ufo.login.model.MenuInfoResponseBO;
import com.yohobuy.ufo.login.model.Response;
import com.yohobuy.ufo.login.model.UserInfoResponseBO;
import com.yohobuy.ufo.login.service.LoginService;
import com.yoho.ufo.constants.PlatformConstant;
import com.yoho.ufo.login.model.MenuInfoResponseBO;
import com.yoho.ufo.login.model.Response;
import com.yoho.ufo.login.model.UserInfoResponseBO;
import com.yoho.ufo.login.service.LoginService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
... ...
package com.yohobuy.ufo.login.model;
package com.yoho.ufo.login.model;
import com.alibaba.fastjson.JSONObject;
... ...
package com.yohobuy.ufo.login.model;
package com.yoho.ufo.login.model;
import com.alibaba.fastjson.JSONObject;
... ...
package com.yohobuy.ufo.login.model;
package com.yoho.ufo.login.model;
import com.alibaba.fastjson.JSONObject;
import lombok.ToString;
... ...
package com.yohobuy.ufo.login.service;
package com.yoho.ufo.login.service;
import com.alibaba.fastjson.JSONObject;
import com.yohobuy.ufo.constants.PlatformConstant;
import com.yohobuy.ufo.login.model.MenuInfoResponseBO;
import com.yohobuy.ufo.login.model.Response;
import com.yohobuy.ufo.login.model.UserInfoResponseBO;
import org.apache.commons.collections.CollectionUtils;
import com.yoho.ufo.constants.PlatformConstant;
import com.yoho.ufo.login.model.Response;
import com.yoho.ufo.login.model.UserInfoResponseBO;
import com.yoho.ufo.login.model.MenuInfoResponseBO;
import org.apache.commons.collections.MapUtils;
import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
... ... @@ -16,11 +15,8 @@ import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import org.springframework.web.client.RestTemplate;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
... ...
package com.yohobuy.ufo.util;
package com.yoho.ufo.util;
import ma.glasnost.orika.MapperFacade;
import ma.glasnost.orika.MapperFactory;
... ...
package com.yohobuy.ufo.util;
package com.yoho.ufo.util;
import com.yohobuy.ufo.exception.CommonException;
import com.yoho.ufo.exception.CommonException;
import net.sf.oval.ConstraintViolation;
import net.sf.oval.Validator;
import org.apache.commons.collections.CollectionUtils;
... ...
package com.yohobuy.ufo.dal.brand;
package com.yoho.ufo.dal.brand;
import com.yohobuy.ufo.model.brand.Brand;
import com.yoho.ufo.model.brand.Brand;
import com.yohobuy.ufo.model.common.PageModel;
import org.apache.ibatis.annotations.Param;
... ...
package com.yohobuy.ufo.model.brand;
package com.yoho.ufo.model.brand;
import java.io.Serializable;
... ...
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.yohobuy.ufo.dal.brand.BrandMapper">
<mapper namespace="com.yoho.ufo.dal.brand.BrandMapper">
<resultMap id="brandMap" type="com.yohobuy.ufo.model.brand.Brand">
<resultMap id="brandMap" type="com.yoho.ufo.model.brand.Brand">
</resultMap>
<sql id="queryColumns">
id, brand_name, brand_name_en, brand_log, brand_search, status, create_time
</sql>
<insert id="insertBrand" parameterType="com.yohobuy.ufo.model.brand.Brand">
<insert id="insertBrand" parameterType="com.yoho.ufo.model.brand.Brand">
insert into brand(id, brand_name, brand_name_en, brand_log, brand_search, status, create_time, edit_time, edit_pid)
values (#{id}, #{brandName}, #{brandNameEn}, #{brandLogo}, #{brandSearch}, #{status}, #{createTime}, #{editTime}, #{editPid})
</insert>
<update id="updateBrandStatus" parameterType="com.yohobuy.ufo.model.brand.Brand">
<update id="updateBrandStatus" parameterType="com.yoho.ufo.model.brand.Brand">
update brand set status = #{status}, edit_time = #{editTime}, edit_pid = #{editPid} where id = #{id}
</update>
... ...
package com.yohobuy.ufo;
package com.yoho.ufo.order;
/**
* Created by li.ma on 2018/9/7.
... ...
package com.yohobuy.ufo.controller.brand;
package com.yoho.ufo.controller.brand;
import com.alibaba.fastjson.JSONObject;
import com.yohobuy.ufo.model.common.ApiResponse;
import com.yohobuy.ufo.model.common.PageResponseBO;
import com.yohobuy.ufo.model.request.brand.BrandRequestBo;
import com.yohobuy.ufo.model.request.brand.BrandResponseBo;
import com.yohobuy.ufo.service.IBrandService;
import com.yoho.ufo.service.IBrandService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestBody;
... ...
package com.yohobuy.ufo.service;
package com.yoho.ufo.service;
import com.alibaba.fastjson.JSONObject;
import com.yohobuy.ufo.model.common.PageResponseBO;
... ...
package com.yohobuy.ufo.service.impl;
package com.yoho.ufo.service.impl;
import com.alibaba.fastjson.JSONObject;
import com.yoho.core.common.utils.DateUtil;
import com.yohobuy.ufo.dal.brand.BrandMapper;
import com.yohobuy.ufo.model.brand.Brand;
import com.yoho.ufo.dal.brand.BrandMapper;
import com.yoho.ufo.model.brand.Brand;
import com.yohobuy.ufo.model.common.PageModel;
import com.yohobuy.ufo.model.common.PageResponseBO;
import com.yohobuy.ufo.model.request.brand.BrandRequestBo;
import com.yohobuy.ufo.model.request.brand.BrandResponseBo;
import com.yohobuy.ufo.service.IBrandService;
import com.yohobuy.ufo.util.OrikaUtils;
import com.yoho.ufo.service.IBrandService;
import com.yoho.ufo.util.OrikaUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
... ...
package com.yohobuy.ufo;
/**
* Created by li.ma on 2018/9/7.
*/
public class Test {
}