diff --git a/ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/annotation/EnableCustomConfig.java b/ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/annotation/EnableCustomConfig.java index 326f8e8c..cb058721 100644 --- a/ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/annotation/EnableCustomConfig.java +++ b/ruoyi-common/ruoyi-common-security/src/main/java/com/ruoyi/common/security/annotation/EnableCustomConfig.java @@ -19,7 +19,7 @@ import java.lang.annotation.*; // 表示通过aop框架暴露该代理对象,AopContext能够访问(AOP开启) @EnableAspectJAutoProxy(exposeProxy = true) // 指定要扫描的Mapper类的包的路径 -@MapperScan({"com.ruoyi.**.mapper","com.xjs.**.mapper"}) +@MapperScan({"com.ruoyi.**.mapper","com.xjs.**.mapper","com.xjs.**.dao"}) // 开启线程异步执行 @EnableAsync // 自动加载类 diff --git a/xjs-business/xjs-business-common/src/main/java/com/xjs/utils/R.java b/xjs-business/xjs-business-common/src/main/java/com/xjs/utils/R.java new file mode 100644 index 00000000..93c53db2 --- /dev/null +++ b/xjs-business/xjs-business-common/src/main/java/com/xjs/utils/R.java @@ -0,0 +1,69 @@ +/** + * Copyright (c) 2016-2019 人人开源 All rights reserved. + * + * https://www.renren.io + * + * 版权所有,侵权必究! + */ + +package com.xjs.utils; + +import org.apache.http.HttpStatus; + +import java.util.HashMap; +import java.util.Map; + +/** + * 返回数据 + * + * @author Mark sunlightcs@gmail.com + */ +public class R extends HashMap { + private static final long serialVersionUID = 1L; + + public R() { + put("code", 0); + put("msg", "success"); + } + + public static R error() { + return error(HttpStatus.SC_INTERNAL_SERVER_ERROR, "未知异常,请联系管理员"); + } + + public static R error(String msg) { + return error(HttpStatus.SC_INTERNAL_SERVER_ERROR, msg); + } + + public static R error(int code, String msg) { + R r = new R(); + r.put("code", code); + r.put("msg", msg); + return r; + } + + public static R ok(String msg) { + R r = new R(); + r.put("msg", msg); + return r; + } + + public static R ok(Map map) { + R r = new R(); + r.putAll(map); + return r; + } + + public static R ok() { + return new R(); + } + + public R put(String key, Object value) { + super.put(key, value); + return this; + } + public Integer getCode() { + + return (Integer) this.get("code"); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/MallCouponApp.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/MallCouponApp.java new file mode 100644 index 00000000..54d93ca2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/MallCouponApp.java @@ -0,0 +1,22 @@ +package com.xjs.mall.coupon; + +import com.ruoyi.common.security.annotation.EnableCustomConfig; +import com.ruoyi.common.security.annotation.EnableRyFeignClients; +import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 商城Coupon启动器 + * @author xiejs + * @since 2022-03-15 + */ +@SpringBootApplication +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients +public class MallCouponApp { + public static void main(String[] args) { + SpringApplication.run(MallCouponApp.class, args); + } +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponController.java new file mode 100644 index 00000000..ee9dc77d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.CouponEntity; +import com.xjs.mall.coupon.service.CouponService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 优惠券信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/coupon") +public class CouponController { + @Autowired + private CouponService couponService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = couponService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + CouponEntity coupon = couponService.getById(id); + + return R.ok().put("coupon", coupon); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody CouponEntity coupon){ + couponService.save(coupon); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody CouponEntity coupon){ + couponService.updateById(coupon); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + couponService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponHistoryController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponHistoryController.java new file mode 100644 index 00000000..a2ee3ed8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponHistoryController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.CouponHistoryEntity; +import com.xjs.mall.coupon.service.CouponHistoryService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 优惠券领取历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/couponhistory") +public class CouponHistoryController { + @Autowired + private CouponHistoryService couponHistoryService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = couponHistoryService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + CouponHistoryEntity couponHistory = couponHistoryService.getById(id); + + return R.ok().put("couponHistory", couponHistory); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody CouponHistoryEntity couponHistory){ + couponHistoryService.save(couponHistory); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody CouponHistoryEntity couponHistory){ + couponHistoryService.updateById(couponHistory); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + couponHistoryService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponSpuCategoryRelationController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponSpuCategoryRelationController.java new file mode 100644 index 00000000..faf13407 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponSpuCategoryRelationController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.CouponSpuCategoryRelationEntity; +import com.xjs.mall.coupon.service.CouponSpuCategoryRelationService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 优惠券分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/couponspucategoryrelation") +public class CouponSpuCategoryRelationController { + @Autowired + private CouponSpuCategoryRelationService couponSpuCategoryRelationService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = couponSpuCategoryRelationService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + CouponSpuCategoryRelationEntity couponSpuCategoryRelation = couponSpuCategoryRelationService.getById(id); + + return R.ok().put("couponSpuCategoryRelation", couponSpuCategoryRelation); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody CouponSpuCategoryRelationEntity couponSpuCategoryRelation){ + couponSpuCategoryRelationService.save(couponSpuCategoryRelation); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody CouponSpuCategoryRelationEntity couponSpuCategoryRelation){ + couponSpuCategoryRelationService.updateById(couponSpuCategoryRelation); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + couponSpuCategoryRelationService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponSpuRelationController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponSpuRelationController.java new file mode 100644 index 00000000..618dfdef --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/CouponSpuRelationController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.CouponSpuRelationEntity; +import com.xjs.mall.coupon.service.CouponSpuRelationService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 优惠券与产品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/couponspurelation") +public class CouponSpuRelationController { + @Autowired + private CouponSpuRelationService couponSpuRelationService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = couponSpuRelationService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + CouponSpuRelationEntity couponSpuRelation = couponSpuRelationService.getById(id); + + return R.ok().put("couponSpuRelation", couponSpuRelation); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody CouponSpuRelationEntity couponSpuRelation){ + couponSpuRelationService.save(couponSpuRelation); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody CouponSpuRelationEntity couponSpuRelation){ + couponSpuRelationService.updateById(couponSpuRelation); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + couponSpuRelationService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeAdvController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeAdvController.java new file mode 100644 index 00000000..d8e6ccb1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeAdvController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.HomeAdvEntity; +import com.xjs.mall.coupon.service.HomeAdvService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 首页轮播广告 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/homeadv") +public class HomeAdvController { + @Autowired + private HomeAdvService homeAdvService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = homeAdvService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + HomeAdvEntity homeAdv = homeAdvService.getById(id); + + return R.ok().put("homeAdv", homeAdv); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody HomeAdvEntity homeAdv){ + homeAdvService.save(homeAdv); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody HomeAdvEntity homeAdv){ + homeAdvService.updateById(homeAdv); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + homeAdvService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeSubjectController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeSubjectController.java new file mode 100644 index 00000000..8ce68c56 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeSubjectController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.HomeSubjectEntity; +import com.xjs.mall.coupon.service.HomeSubjectService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/homesubject") +public class HomeSubjectController { + @Autowired + private HomeSubjectService homeSubjectService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = homeSubjectService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + HomeSubjectEntity homeSubject = homeSubjectService.getById(id); + + return R.ok().put("homeSubject", homeSubject); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody HomeSubjectEntity homeSubject){ + homeSubjectService.save(homeSubject); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody HomeSubjectEntity homeSubject){ + homeSubjectService.updateById(homeSubject); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + homeSubjectService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeSubjectSpuController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeSubjectSpuController.java new file mode 100644 index 00000000..218cb03a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/HomeSubjectSpuController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.HomeSubjectSpuEntity; +import com.xjs.mall.coupon.service.HomeSubjectSpuService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 专题商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/homesubjectspu") +public class HomeSubjectSpuController { + @Autowired + private HomeSubjectSpuService homeSubjectSpuService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = homeSubjectSpuService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + HomeSubjectSpuEntity homeSubjectSpu = homeSubjectSpuService.getById(id); + + return R.ok().put("homeSubjectSpu", homeSubjectSpu); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody HomeSubjectSpuEntity homeSubjectSpu){ + homeSubjectSpuService.save(homeSubjectSpu); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody HomeSubjectSpuEntity homeSubjectSpu){ + homeSubjectSpuService.updateById(homeSubjectSpu); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + homeSubjectSpuService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/MemberPriceController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/MemberPriceController.java new file mode 100644 index 00000000..d53f6ca3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/MemberPriceController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.MemberPriceEntity; +import com.xjs.mall.coupon.service.MemberPriceService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品会员价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/memberprice") +public class MemberPriceController { + @Autowired + private MemberPriceService memberPriceService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberPriceService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberPriceEntity memberPrice = memberPriceService.getById(id); + + return R.ok().put("memberPrice", memberPrice); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberPriceEntity memberPrice){ + memberPriceService.save(memberPrice); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberPriceEntity memberPrice){ + memberPriceService.updateById(memberPrice); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberPriceService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillPromotionController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillPromotionController.java new file mode 100644 index 00000000..7b817ddd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillPromotionController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.SeckillPromotionEntity; +import com.xjs.mall.coupon.service.SeckillPromotionService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 秒杀活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/seckillpromotion") +public class SeckillPromotionController { + @Autowired + private SeckillPromotionService seckillPromotionService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = seckillPromotionService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SeckillPromotionEntity seckillPromotion = seckillPromotionService.getById(id); + + return R.ok().put("seckillPromotion", seckillPromotion); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SeckillPromotionEntity seckillPromotion){ + seckillPromotionService.save(seckillPromotion); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SeckillPromotionEntity seckillPromotion){ + seckillPromotionService.updateById(seckillPromotion); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + seckillPromotionService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSessionController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSessionController.java new file mode 100644 index 00000000..49e67e9d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSessionController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.SeckillSessionEntity; +import com.xjs.mall.coupon.service.SeckillSessionService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 秒杀活动场次 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/seckillsession") +public class SeckillSessionController { + @Autowired + private SeckillSessionService seckillSessionService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = seckillSessionService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SeckillSessionEntity seckillSession = seckillSessionService.getById(id); + + return R.ok().put("seckillSession", seckillSession); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SeckillSessionEntity seckillSession){ + seckillSessionService.save(seckillSession); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SeckillSessionEntity seckillSession){ + seckillSessionService.updateById(seckillSession); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + seckillSessionService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSkuNoticeController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSkuNoticeController.java new file mode 100644 index 00000000..54f62338 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSkuNoticeController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.SeckillSkuNoticeEntity; +import com.xjs.mall.coupon.service.SeckillSkuNoticeService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 秒杀商品通知订阅 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/seckillskunotice") +public class SeckillSkuNoticeController { + @Autowired + private SeckillSkuNoticeService seckillSkuNoticeService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = seckillSkuNoticeService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SeckillSkuNoticeEntity seckillSkuNotice = seckillSkuNoticeService.getById(id); + + return R.ok().put("seckillSkuNotice", seckillSkuNotice); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SeckillSkuNoticeEntity seckillSkuNotice){ + seckillSkuNoticeService.save(seckillSkuNotice); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SeckillSkuNoticeEntity seckillSkuNotice){ + seckillSkuNoticeService.updateById(seckillSkuNotice); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + seckillSkuNoticeService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSkuRelationController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSkuRelationController.java new file mode 100644 index 00000000..c67dd21d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SeckillSkuRelationController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.SeckillSkuRelationEntity; +import com.xjs.mall.coupon.service.SeckillSkuRelationService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 秒杀活动商品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/seckillskurelation") +public class SeckillSkuRelationController { + @Autowired + private SeckillSkuRelationService seckillSkuRelationService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = seckillSkuRelationService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SeckillSkuRelationEntity seckillSkuRelation = seckillSkuRelationService.getById(id); + + return R.ok().put("seckillSkuRelation", seckillSkuRelation); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SeckillSkuRelationEntity seckillSkuRelation){ + seckillSkuRelationService.save(seckillSkuRelation); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SeckillSkuRelationEntity seckillSkuRelation){ + seckillSkuRelationService.updateById(seckillSkuRelation); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + seckillSkuRelationService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SkuFullReductionController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SkuFullReductionController.java new file mode 100644 index 00000000..8d24b93b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SkuFullReductionController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.SkuFullReductionEntity; +import com.xjs.mall.coupon.service.SkuFullReductionService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品满减信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/skufullreduction") +public class SkuFullReductionController { + @Autowired + private SkuFullReductionService skuFullReductionService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = skuFullReductionService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SkuFullReductionEntity skuFullReduction = skuFullReductionService.getById(id); + + return R.ok().put("skuFullReduction", skuFullReduction); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SkuFullReductionEntity skuFullReduction){ + skuFullReductionService.save(skuFullReduction); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SkuFullReductionEntity skuFullReduction){ + skuFullReductionService.updateById(skuFullReduction); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + skuFullReductionService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SkuLadderController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SkuLadderController.java new file mode 100644 index 00000000..f42338e9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SkuLadderController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.SkuLadderEntity; +import com.xjs.mall.coupon.service.SkuLadderService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品阶梯价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/skuladder") +public class SkuLadderController { + @Autowired + private SkuLadderService skuLadderService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = skuLadderService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SkuLadderEntity skuLadder = skuLadderService.getById(id); + + return R.ok().put("skuLadder", skuLadder); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SkuLadderEntity skuLadder){ + skuLadderService.save(skuLadder); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SkuLadderEntity skuLadder){ + skuLadderService.updateById(skuLadder); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + skuLadderService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SpuBoundsController.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SpuBoundsController.java new file mode 100644 index 00000000..e60ec25f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/controller/SpuBoundsController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.coupon.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.coupon.entity.SpuBoundsEntity; +import com.xjs.mall.coupon.service.SpuBoundsService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品spu积分设置 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@RestController +@RequestMapping("coupon/spubounds") +public class SpuBoundsController { + @Autowired + private SpuBoundsService spuBoundsService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = spuBoundsService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SpuBoundsEntity spuBounds = spuBoundsService.getById(id); + + return R.ok().put("spuBounds", spuBounds); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SpuBoundsEntity spuBounds){ + spuBoundsService.save(spuBounds); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SpuBoundsEntity spuBounds){ + spuBoundsService.updateById(spuBounds); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + spuBoundsService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponDao.java new file mode 100644 index 00000000..0ca8a691 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.CouponEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 优惠券信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponHistoryDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponHistoryDao.java new file mode 100644 index 00000000..c9a56dbe --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponHistoryDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.CouponHistoryEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 优惠券领取历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponHistoryDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponSpuCategoryRelationDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponSpuCategoryRelationDao.java new file mode 100644 index 00000000..7b78e574 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponSpuCategoryRelationDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.CouponSpuCategoryRelationEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 优惠券分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponSpuCategoryRelationDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponSpuRelationDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponSpuRelationDao.java new file mode 100644 index 00000000..37dcfd34 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/CouponSpuRelationDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.CouponSpuRelationEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 优惠券与产品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponSpuRelationDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeAdvDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeAdvDao.java new file mode 100644 index 00000000..44d3b152 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeAdvDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.HomeAdvEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 首页轮播广告 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface HomeAdvDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeSubjectDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeSubjectDao.java new file mode 100644 index 00000000..02b2a57a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeSubjectDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.HomeSubjectEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface HomeSubjectDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeSubjectSpuDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeSubjectSpuDao.java new file mode 100644 index 00000000..98a3ca2b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/HomeSubjectSpuDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.HomeSubjectSpuEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 专题商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface HomeSubjectSpuDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/MemberPriceDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/MemberPriceDao.java new file mode 100644 index 00000000..db6259a2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/MemberPriceDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.MemberPriceEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 商品会员价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface MemberPriceDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillPromotionDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillPromotionDao.java new file mode 100644 index 00000000..13b3a536 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillPromotionDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.SeckillPromotionEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 秒杀活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillPromotionDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSessionDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSessionDao.java new file mode 100644 index 00000000..d4881014 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSessionDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.SeckillSessionEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 秒杀活动场次 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillSessionDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSkuNoticeDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSkuNoticeDao.java new file mode 100644 index 00000000..916f626b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSkuNoticeDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.SeckillSkuNoticeEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 秒杀商品通知订阅 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillSkuNoticeDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSkuRelationDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSkuRelationDao.java new file mode 100644 index 00000000..4eabe8b9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SeckillSkuRelationDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.SeckillSkuRelationEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 秒杀活动商品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillSkuRelationDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SkuFullReductionDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SkuFullReductionDao.java new file mode 100644 index 00000000..ece71d3d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SkuFullReductionDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.SkuFullReductionEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 商品满减信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SkuFullReductionDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SkuLadderDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SkuLadderDao.java new file mode 100644 index 00000000..7156eb3c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SkuLadderDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.SkuLadderEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 商品阶梯价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SkuLadderDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SpuBoundsDao.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SpuBoundsDao.java new file mode 100644 index 00000000..c3279fa3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/dao/SpuBoundsDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.coupon.dao; + +import com.xjs.mall.coupon.entity.SpuBoundsEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 商品spu积分设置 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SpuBoundsDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponEntity.java new file mode 100644 index 00000000..f0938fe7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponEntity.java @@ -0,0 +1,105 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 优惠券信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_coupon") +public class CouponEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 优惠卷类型[0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券] + */ + private Integer couponType; + /** + * 优惠券图片 + */ + private String couponImg; + /** + * 优惠卷名字 + */ + private String couponName; + /** + * 数量 + */ + private Integer num; + /** + * 金额 + */ + private BigDecimal amount; + /** + * 每人限领张数 + */ + private Integer perLimit; + /** + * 使用门槛 + */ + private BigDecimal minPoint; + /** + * 开始时间 + */ + private Date startTime; + /** + * 结束时间 + */ + private Date endTime; + /** + * 使用类型[0->全场通用;1->指定分类;2->指定商品] + */ + private Integer useType; + /** + * 备注 + */ + private String note; + /** + * 发行数量 + */ + private Integer publishCount; + /** + * 已使用数量 + */ + private Integer useCount; + /** + * 领取数量 + */ + private Integer receiveCount; + /** + * 可以领取的开始日期 + */ + private Date enableStartTime; + /** + * 可以领取的结束日期 + */ + private Date enableEndTime; + /** + * 优惠码 + */ + private String code; + /** + * 可以领取的会员等级[0->不限等级,其他-对应等级] + */ + private Integer memberLevel; + /** + * 发布状态[0-未发布,1-已发布] + */ + private Integer publish; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponHistoryEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponHistoryEntity.java new file mode 100644 index 00000000..3f0d20da --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponHistoryEntity.java @@ -0,0 +1,64 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 优惠券领取历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_coupon_history") +public class CouponHistoryEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 优惠券id + */ + private Long couponId; + /** + * 会员id + */ + private Long memberId; + /** + * 会员名字 + */ + private String memberNickName; + /** + * 获取方式[0->后台赠送;1->主动领取] + */ + private Integer getType; + /** + * 创建时间 + */ + private Date createTime; + /** + * 使用状态[0->未使用;1->已使用;2->已过期] + */ + private Integer useType; + /** + * 使用时间 + */ + private Date useTime; + /** + * 订单id + */ + private Long orderId; + /** + * 订单号 + */ + private Long orderSn; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponSpuCategoryRelationEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponSpuCategoryRelationEntity.java new file mode 100644 index 00000000..fbb8173c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponSpuCategoryRelationEntity.java @@ -0,0 +1,40 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 优惠券分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_coupon_spu_category_relation") +public class CouponSpuCategoryRelationEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 优惠券id + */ + private Long couponId; + /** + * 产品分类id + */ + private Long categoryId; + /** + * 产品分类名称 + */ + private String categoryName; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponSpuRelationEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponSpuRelationEntity.java new file mode 100644 index 00000000..fd712145 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/CouponSpuRelationEntity.java @@ -0,0 +1,40 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 优惠券与产品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_coupon_spu_relation") +public class CouponSpuRelationEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 优惠券id + */ + private Long couponId; + /** + * spu_id + */ + private Long spuId; + /** + * spu_name + */ + private String spuName; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeAdvEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeAdvEntity.java new file mode 100644 index 00000000..fe9410a1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeAdvEntity.java @@ -0,0 +1,72 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 首页轮播广告 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_home_adv") +public class HomeAdvEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 名字 + */ + private String name; + /** + * 图片地址 + */ + private String pic; + /** + * 开始时间 + */ + private Date startTime; + /** + * 结束时间 + */ + private Date endTime; + /** + * 状态 + */ + private Integer status; + /** + * 点击数 + */ + private Integer clickCount; + /** + * 广告详情连接地址 + */ + private String url; + /** + * 备注 + */ + private String note; + /** + * 排序 + */ + private Integer sort; + /** + * 发布者 + */ + private Long publisherId; + /** + * 审核者 + */ + private Long authId; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeSubjectEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeSubjectEntity.java new file mode 100644 index 00000000..7ed0eaf6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeSubjectEntity.java @@ -0,0 +1,56 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_home_subject") +public class HomeSubjectEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 专题名字 + */ + private String name; + /** + * 专题标题 + */ + private String title; + /** + * 专题副标题 + */ + private String subTitle; + /** + * 显示状态 + */ + private Integer status; + /** + * 详情连接 + */ + private String url; + /** + * 排序 + */ + private Integer sort; + /** + * 专题图片地址 + */ + private String img; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeSubjectSpuEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeSubjectSpuEntity.java new file mode 100644 index 00000000..f6829f2f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/HomeSubjectSpuEntity.java @@ -0,0 +1,44 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 专题商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_home_subject_spu") +public class HomeSubjectSpuEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 专题名字 + */ + private String name; + /** + * 专题id + */ + private Long subjectId; + /** + * spu_id + */ + private Long spuId; + /** + * 排序 + */ + private Integer sort; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/MemberPriceEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/MemberPriceEntity.java new file mode 100644 index 00000000..7267106f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/MemberPriceEntity.java @@ -0,0 +1,49 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品会员价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_member_price") +public class MemberPriceEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * sku_id + */ + private Long skuId; + /** + * 会员等级id + */ + private Long memberLevelId; + /** + * 会员等级名 + */ + private String memberLevelName; + /** + * 会员对应价格 + */ + private BigDecimal memberPrice; + /** + * 可否叠加其他优惠[0-不可叠加优惠,1-可叠加] + */ + private Integer addOther; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillPromotionEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillPromotionEntity.java new file mode 100644 index 00000000..ba265acc --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillPromotionEntity.java @@ -0,0 +1,52 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 秒杀活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_seckill_promotion") +public class SeckillPromotionEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 活动标题 + */ + private String title; + /** + * 开始日期 + */ + private Date startTime; + /** + * 结束日期 + */ + private Date endTime; + /** + * 上下线状态 + */ + private Integer status; + /** + * 创建时间 + */ + private Date createTime; + /** + * 创建人 + */ + private Long userId; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSessionEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSessionEntity.java new file mode 100644 index 00000000..cd0a71da --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSessionEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 秒杀活动场次 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_seckill_session") +public class SeckillSessionEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 场次名称 + */ + private String name; + /** + * 每日开始时间 + */ + private Date startTime; + /** + * 每日结束时间 + */ + private Date endTime; + /** + * 启用状态 + */ + private Integer status; + /** + * 创建时间 + */ + private Date createTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSkuNoticeEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSkuNoticeEntity.java new file mode 100644 index 00000000..93babda4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSkuNoticeEntity.java @@ -0,0 +1,52 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 秒杀商品通知订阅 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_seckill_sku_notice") +public class SeckillSkuNoticeEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * member_id + */ + private Long memberId; + /** + * sku_id + */ + private Long skuId; + /** + * 活动场次id + */ + private Long sessionId; + /** + * 订阅时间 + */ + private Date subcribeTime; + /** + * 发送时间 + */ + private Date sendTime; + /** + * 通知方式[0-短信,1-邮件] + */ + private Integer noticeType; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSkuRelationEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSkuRelationEntity.java new file mode 100644 index 00000000..3444b336 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SeckillSkuRelationEntity.java @@ -0,0 +1,57 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 秒杀活动商品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_seckill_sku_relation") +public class SeckillSkuRelationEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 活动id + */ + private Long promotionId; + /** + * 活动场次id + */ + private Long promotionSessionId; + /** + * 商品id + */ + private Long skuId; + /** + * 秒杀价格 + */ + private BigDecimal seckillPrice; + /** + * 秒杀总量 + */ + private BigDecimal seckillCount; + /** + * 每人限购数量 + */ + private BigDecimal seckillLimit; + /** + * 排序 + */ + private Integer seckillSort; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SkuFullReductionEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SkuFullReductionEntity.java new file mode 100644 index 00000000..2e2332c2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SkuFullReductionEntity.java @@ -0,0 +1,45 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品满减信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_sku_full_reduction") +public class SkuFullReductionEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * spu_id + */ + private Long skuId; + /** + * 满多少 + */ + private BigDecimal fullPrice; + /** + * 减多少 + */ + private BigDecimal reducePrice; + /** + * 是否参与其他优惠 + */ + private Integer addOther; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SkuLadderEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SkuLadderEntity.java new file mode 100644 index 00000000..64929ca4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SkuLadderEntity.java @@ -0,0 +1,49 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品阶梯价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_sku_ladder") +public class SkuLadderEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * spu_id + */ + private Long skuId; + /** + * 满几件 + */ + private Integer fullCount; + /** + * 打几折 + */ + private BigDecimal discount; + /** + * 折后价 + */ + private BigDecimal price; + /** + * 是否叠加其他优惠[0-不可叠加,1-可叠加] + */ + private Integer addOther; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SpuBoundsEntity.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SpuBoundsEntity.java new file mode 100644 index 00000000..19ec594b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/entity/SpuBoundsEntity.java @@ -0,0 +1,45 @@ +package com.xjs.mall.coupon.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品spu积分设置 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +@Data +@TableName("sms_spu_bounds") +public class SpuBoundsEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * + */ + private Long spuId; + /** + * 成长积分 + */ + private BigDecimal growBounds; + /** + * 购物积分 + */ + private BigDecimal buyBounds; + /** + * 优惠生效情况[1111(四个状态位,从右到左);0 - 无优惠,成长积分是否赠送;1 - 无优惠,购物积分是否赠送;2 - 有优惠,成长积分是否赠送;3 - 有优惠,购物积分是否赠送【状态位0:不赠送,1:赠送】] + */ + private Integer work; + +} diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponHistoryService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponHistoryService.java new file mode 100644 index 00000000..642111d8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponHistoryService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.CouponHistoryEntity; + +import java.util.Map; + +/** + * 优惠券领取历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponHistoryService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponService.java new file mode 100644 index 00000000..a6562a1a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.CouponEntity; + +import java.util.Map; + +/** + * 优惠券信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponSpuCategoryRelationService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponSpuCategoryRelationService.java new file mode 100644 index 00000000..a99f4010 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponSpuCategoryRelationService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.CouponSpuCategoryRelationEntity; + +import java.util.Map; + +/** + * 优惠券分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponSpuCategoryRelationService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponSpuRelationService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponSpuRelationService.java new file mode 100644 index 00000000..a225c8f9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/CouponSpuRelationService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.CouponSpuRelationEntity; + +import java.util.Map; + +/** + * 优惠券与产品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface CouponSpuRelationService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeAdvService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeAdvService.java new file mode 100644 index 00000000..c9852c88 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeAdvService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.HomeAdvEntity; + +import java.util.Map; + +/** + * 首页轮播广告 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface HomeAdvService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeSubjectService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeSubjectService.java new file mode 100644 index 00000000..0285b003 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeSubjectService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.HomeSubjectEntity; + +import java.util.Map; + +/** + * 首页专题表【jd首页下面很多专题,每个专题链接新的页面,展示专题商品信息】 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface HomeSubjectService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeSubjectSpuService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeSubjectSpuService.java new file mode 100644 index 00000000..8aaf048f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/HomeSubjectSpuService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.HomeSubjectSpuEntity; + +import java.util.Map; + +/** + * 专题商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface HomeSubjectSpuService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/MemberPriceService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/MemberPriceService.java new file mode 100644 index 00000000..53022d02 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/MemberPriceService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.MemberPriceEntity; + +import java.util.Map; + +/** + * 商品会员价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface MemberPriceService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillPromotionService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillPromotionService.java new file mode 100644 index 00000000..6b04f149 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillPromotionService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.SeckillPromotionEntity; + +import java.util.Map; + +/** + * 秒杀活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillPromotionService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSessionService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSessionService.java new file mode 100644 index 00000000..a93461f7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSessionService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.SeckillSessionEntity; + +import java.util.Map; + +/** + * 秒杀活动场次 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillSessionService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSkuNoticeService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSkuNoticeService.java new file mode 100644 index 00000000..844e8ec0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSkuNoticeService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.SeckillSkuNoticeEntity; + +import java.util.Map; + +/** + * 秒杀商品通知订阅 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillSkuNoticeService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSkuRelationService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSkuRelationService.java new file mode 100644 index 00000000..d1686e88 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SeckillSkuRelationService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.SeckillSkuRelationEntity; + +import java.util.Map; + +/** + * 秒杀活动商品关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SeckillSkuRelationService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SkuFullReductionService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SkuFullReductionService.java new file mode 100644 index 00000000..ec59540f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SkuFullReductionService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.SkuFullReductionEntity; + +import java.util.Map; + +/** + * 商品满减信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SkuFullReductionService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SkuLadderService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SkuLadderService.java new file mode 100644 index 00000000..412be32f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SkuLadderService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.SkuLadderEntity; + +import java.util.Map; + +/** + * 商品阶梯价格 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SkuLadderService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SpuBoundsService.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SpuBoundsService.java new file mode 100644 index 00000000..5725f2c0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/SpuBoundsService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.coupon.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.coupon.entity.SpuBoundsEntity; + +import java.util.Map; + +/** + * 商品spu积分设置 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:25:21 + */ +public interface SpuBoundsService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponHistoryServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponHistoryServiceImpl.java new file mode 100644 index 00000000..3a2de874 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponHistoryServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.CouponHistoryDao; +import com.xjs.mall.coupon.entity.CouponHistoryEntity; +import com.xjs.mall.coupon.service.CouponHistoryService; + + +@Service("couponHistoryService") +public class CouponHistoryServiceImpl extends ServiceImpl implements CouponHistoryService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponServiceImpl.java new file mode 100644 index 00000000..7f26a1ee --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.CouponDao; +import com.xjs.mall.coupon.entity.CouponEntity; +import com.xjs.mall.coupon.service.CouponService; + + +@Service("couponService") +public class CouponServiceImpl extends ServiceImpl implements CouponService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponSpuCategoryRelationServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponSpuCategoryRelationServiceImpl.java new file mode 100644 index 00000000..57e813bb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponSpuCategoryRelationServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.CouponSpuCategoryRelationDao; +import com.xjs.mall.coupon.entity.CouponSpuCategoryRelationEntity; +import com.xjs.mall.coupon.service.CouponSpuCategoryRelationService; + + +@Service("couponSpuCategoryRelationService") +public class CouponSpuCategoryRelationServiceImpl extends ServiceImpl implements CouponSpuCategoryRelationService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponSpuRelationServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponSpuRelationServiceImpl.java new file mode 100644 index 00000000..ab18b784 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/CouponSpuRelationServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.CouponSpuRelationDao; +import com.xjs.mall.coupon.entity.CouponSpuRelationEntity; +import com.xjs.mall.coupon.service.CouponSpuRelationService; + + +@Service("couponSpuRelationService") +public class CouponSpuRelationServiceImpl extends ServiceImpl implements CouponSpuRelationService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeAdvServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeAdvServiceImpl.java new file mode 100644 index 00000000..f49e23da --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeAdvServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.HomeAdvDao; +import com.xjs.mall.coupon.entity.HomeAdvEntity; +import com.xjs.mall.coupon.service.HomeAdvService; + + +@Service("homeAdvService") +public class HomeAdvServiceImpl extends ServiceImpl implements HomeAdvService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeSubjectServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeSubjectServiceImpl.java new file mode 100644 index 00000000..830ebba2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeSubjectServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.HomeSubjectDao; +import com.xjs.mall.coupon.entity.HomeSubjectEntity; +import com.xjs.mall.coupon.service.HomeSubjectService; + + +@Service("homeSubjectService") +public class HomeSubjectServiceImpl extends ServiceImpl implements HomeSubjectService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeSubjectSpuServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeSubjectSpuServiceImpl.java new file mode 100644 index 00000000..4b3daf8c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/HomeSubjectSpuServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.HomeSubjectSpuDao; +import com.xjs.mall.coupon.entity.HomeSubjectSpuEntity; +import com.xjs.mall.coupon.service.HomeSubjectSpuService; + + +@Service("homeSubjectSpuService") +public class HomeSubjectSpuServiceImpl extends ServiceImpl implements HomeSubjectSpuService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/MemberPriceServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/MemberPriceServiceImpl.java new file mode 100644 index 00000000..3021b2d8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/MemberPriceServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.MemberPriceDao; +import com.xjs.mall.coupon.entity.MemberPriceEntity; +import com.xjs.mall.coupon.service.MemberPriceService; + + +@Service("memberPriceService") +public class MemberPriceServiceImpl extends ServiceImpl implements MemberPriceService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillPromotionServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillPromotionServiceImpl.java new file mode 100644 index 00000000..423dd6bd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillPromotionServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.SeckillPromotionDao; +import com.xjs.mall.coupon.entity.SeckillPromotionEntity; +import com.xjs.mall.coupon.service.SeckillPromotionService; + + +@Service("seckillPromotionService") +public class SeckillPromotionServiceImpl extends ServiceImpl implements SeckillPromotionService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSessionServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSessionServiceImpl.java new file mode 100644 index 00000000..7b14587b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSessionServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.SeckillSessionDao; +import com.xjs.mall.coupon.entity.SeckillSessionEntity; +import com.xjs.mall.coupon.service.SeckillSessionService; + + +@Service("seckillSessionService") +public class SeckillSessionServiceImpl extends ServiceImpl implements SeckillSessionService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSkuNoticeServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSkuNoticeServiceImpl.java new file mode 100644 index 00000000..c462ae12 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSkuNoticeServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.SeckillSkuNoticeDao; +import com.xjs.mall.coupon.entity.SeckillSkuNoticeEntity; +import com.xjs.mall.coupon.service.SeckillSkuNoticeService; + + +@Service("seckillSkuNoticeService") +public class SeckillSkuNoticeServiceImpl extends ServiceImpl implements SeckillSkuNoticeService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSkuRelationServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSkuRelationServiceImpl.java new file mode 100644 index 00000000..994e7635 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SeckillSkuRelationServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.SeckillSkuRelationDao; +import com.xjs.mall.coupon.entity.SeckillSkuRelationEntity; +import com.xjs.mall.coupon.service.SeckillSkuRelationService; + + +@Service("seckillSkuRelationService") +public class SeckillSkuRelationServiceImpl extends ServiceImpl implements SeckillSkuRelationService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SkuFullReductionServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SkuFullReductionServiceImpl.java new file mode 100644 index 00000000..22c216dc --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SkuFullReductionServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.SkuFullReductionDao; +import com.xjs.mall.coupon.entity.SkuFullReductionEntity; +import com.xjs.mall.coupon.service.SkuFullReductionService; + + +@Service("skuFullReductionService") +public class SkuFullReductionServiceImpl extends ServiceImpl implements SkuFullReductionService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SkuLadderServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SkuLadderServiceImpl.java new file mode 100644 index 00000000..927331d2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SkuLadderServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.SkuLadderDao; +import com.xjs.mall.coupon.entity.SkuLadderEntity; +import com.xjs.mall.coupon.service.SkuLadderService; + + +@Service("skuLadderService") +public class SkuLadderServiceImpl extends ServiceImpl implements SkuLadderService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SpuBoundsServiceImpl.java b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SpuBoundsServiceImpl.java new file mode 100644 index 00000000..69331924 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/java/com/xjs/mall/coupon/service/impl/SpuBoundsServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.coupon.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.coupon.dao.SpuBoundsDao; +import com.xjs.mall.coupon.entity.SpuBoundsEntity; +import com.xjs.mall.coupon.service.SpuBoundsService; + + +@Service("spuBoundsService") +public class SpuBoundsServiceImpl extends ServiceImpl implements SpuBoundsService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/bootstrap.yml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..2f6a8864 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/bootstrap.yml @@ -0,0 +1,29 @@ +# Tomcat +server: + port: 9982 + +# Spring +spring: + application: + # 应用名称 + name: xjs-mall-coupon + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + #配置组 + group: xjs + #命名空间 + namespace: xjs-666 diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/logback.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/logback.xml new file mode 100644 index 00000000..40d6aaa7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/logback.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponDao.xml new file mode 100644 index 00000000..1b9738e0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponDao.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponHistoryDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponHistoryDao.xml new file mode 100644 index 00000000..7ec97da3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponHistoryDao.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponSpuCategoryRelationDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponSpuCategoryRelationDao.xml new file mode 100644 index 00000000..27404a86 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponSpuCategoryRelationDao.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponSpuRelationDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponSpuRelationDao.xml new file mode 100644 index 00000000..a1ab8187 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/CouponSpuRelationDao.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeAdvDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeAdvDao.xml new file mode 100644 index 00000000..ea27b510 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeAdvDao.xml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeSubjectDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeSubjectDao.xml new file mode 100644 index 00000000..0c2ed097 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeSubjectDao.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeSubjectSpuDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeSubjectSpuDao.xml new file mode 100644 index 00000000..394e94f6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/HomeSubjectSpuDao.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/MemberPriceDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/MemberPriceDao.xml new file mode 100644 index 00000000..668bb3b8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/MemberPriceDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillPromotionDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillPromotionDao.xml new file mode 100644 index 00000000..65dc1cf4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillPromotionDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSessionDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSessionDao.xml new file mode 100644 index 00000000..3ae4b7f0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSessionDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSkuNoticeDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSkuNoticeDao.xml new file mode 100644 index 00000000..e3d751c7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSkuNoticeDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSkuRelationDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSkuRelationDao.xml new file mode 100644 index 00000000..70629429 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SeckillSkuRelationDao.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SkuFullReductionDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SkuFullReductionDao.xml new file mode 100644 index 00000000..5d20ed5b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SkuFullReductionDao.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SkuLadderDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SkuLadderDao.xml new file mode 100644 index 00000000..eefc27bc --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SkuLadderDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SpuBoundsDao.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SpuBoundsDao.xml new file mode 100644 index 00000000..ed0e765d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/mapper/coupon/SpuBoundsDao.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/rebel.xml b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/rebel.xml new file mode 100644 index 00000000..4c434c47 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/rebel.xml @@ -0,0 +1,16 @@ + + + + + + mall-coupon + + + + + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/coupon-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/coupon-add-or-update.vue new file mode 100644 index 00000000..8a1af997 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/coupon-add-or-update.vue @@ -0,0 +1,246 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/coupon.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/coupon.vue new file mode 100644 index 00000000..8aeadb42 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/coupon.vue @@ -0,0 +1,271 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponhistory-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponhistory-add-or-update.vue new file mode 100644 index 00000000..f05d4f13 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponhistory-add-or-update.vue @@ -0,0 +1,156 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponhistory.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponhistory.vue new file mode 100644 index 00000000..1576a541 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponhistory.vue @@ -0,0 +1,211 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation-add-or-update.vue new file mode 100644 index 00000000..6a1be43f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation-add-or-update.vue @@ -0,0 +1,102 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation.vue new file mode 100644 index 00000000..c8ef56bd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspucategoryrelation.vue @@ -0,0 +1,175 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation-add-or-update.vue new file mode 100644 index 00000000..b60c2935 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation-add-or-update.vue @@ -0,0 +1,102 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation.vue new file mode 100644 index 00000000..60f64b9a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/couponspurelation.vue @@ -0,0 +1,175 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homeadv-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homeadv-add-or-update.vue new file mode 100644 index 00000000..301ad847 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homeadv-add-or-update.vue @@ -0,0 +1,174 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homeadv.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homeadv.vue new file mode 100644 index 00000000..611f4959 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homeadv.vue @@ -0,0 +1,223 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubject-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubject-add-or-update.vue new file mode 100644 index 00000000..a143b61c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubject-add-or-update.vue @@ -0,0 +1,138 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubject.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubject.vue new file mode 100644 index 00000000..45c9dcdc --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubject.vue @@ -0,0 +1,199 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu-add-or-update.vue new file mode 100644 index 00000000..5403bbf0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu-add-or-update.vue @@ -0,0 +1,111 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu.vue new file mode 100644 index 00000000..8502733b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/homesubjectspu.vue @@ -0,0 +1,181 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/memberprice-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/memberprice-add-or-update.vue new file mode 100644 index 00000000..19118007 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/memberprice-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/memberprice.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/memberprice.vue new file mode 100644 index 00000000..7a7554b8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/memberprice.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion-add-or-update.vue new file mode 100644 index 00000000..6d3004f0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion.vue new file mode 100644 index 00000000..abe04099 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillpromotion.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillsession-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillsession-add-or-update.vue new file mode 100644 index 00000000..35e3c8f4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillsession-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillsession.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillsession.vue new file mode 100644 index 00000000..502aa140 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillsession.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice-add-or-update.vue new file mode 100644 index 00000000..ff57a485 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice.vue new file mode 100644 index 00000000..d802abd1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskunotice.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation-add-or-update.vue new file mode 100644 index 00000000..358fbac2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation-add-or-update.vue @@ -0,0 +1,138 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation.vue new file mode 100644 index 00000000..9f0cf092 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/seckillskurelation.vue @@ -0,0 +1,199 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction-add-or-update.vue new file mode 100644 index 00000000..021c0f74 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction-add-or-update.vue @@ -0,0 +1,111 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction.vue new file mode 100644 index 00000000..f03cb23b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skufullreduction.vue @@ -0,0 +1,181 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skuladder-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skuladder-add-or-update.vue new file mode 100644 index 00000000..7ee79d93 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skuladder-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skuladder.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skuladder.vue new file mode 100644 index 00000000..3aa0c70e --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/skuladder.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/spubounds-add-or-update.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/spubounds-add-or-update.vue new file mode 100644 index 00000000..cdedb51d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/spubounds-add-or-update.vue @@ -0,0 +1,111 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/spubounds.vue b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/spubounds.vue new file mode 100644 index 00000000..75930a59 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-coupon/src/main/resources/src/views/modules/coupon/spubounds.vue @@ -0,0 +1,181 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/MallMemberApp.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/MallMemberApp.java new file mode 100644 index 00000000..4a8087a4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/MallMemberApp.java @@ -0,0 +1,22 @@ +package com.xjs.mall.member; + +import com.ruoyi.common.security.annotation.EnableCustomConfig; +import com.ruoyi.common.security.annotation.EnableRyFeignClients; +import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 商城Member启动器 + * @author xiejs + * @since 2022-03-15 + */ +@SpringBootApplication +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients +public class MallMemberApp { + public static void main(String[] args) { + SpringApplication.run(MallMemberApp.class, args); + } +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/GrowthChangeHistoryController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/GrowthChangeHistoryController.java new file mode 100644 index 00000000..54de354a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/GrowthChangeHistoryController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.GrowthChangeHistoryEntity; +import com.xjs.mall.member.service.GrowthChangeHistoryService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 成长值变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/growthchangehistory") +public class GrowthChangeHistoryController { + @Autowired + private GrowthChangeHistoryService growthChangeHistoryService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = growthChangeHistoryService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + GrowthChangeHistoryEntity growthChangeHistory = growthChangeHistoryService.getById(id); + + return R.ok().put("growthChangeHistory", growthChangeHistory); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody GrowthChangeHistoryEntity growthChangeHistory){ + growthChangeHistoryService.save(growthChangeHistory); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody GrowthChangeHistoryEntity growthChangeHistory){ + growthChangeHistoryService.updateById(growthChangeHistory); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + growthChangeHistoryService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/IntegrationChangeHistoryController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/IntegrationChangeHistoryController.java new file mode 100644 index 00000000..1cc2fb5f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/IntegrationChangeHistoryController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.IntegrationChangeHistoryEntity; +import com.xjs.mall.member.service.IntegrationChangeHistoryService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 积分变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/integrationchangehistory") +public class IntegrationChangeHistoryController { + @Autowired + private IntegrationChangeHistoryService integrationChangeHistoryService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = integrationChangeHistoryService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + IntegrationChangeHistoryEntity integrationChangeHistory = integrationChangeHistoryService.getById(id); + + return R.ok().put("integrationChangeHistory", integrationChangeHistory); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody IntegrationChangeHistoryEntity integrationChangeHistory){ + integrationChangeHistoryService.save(integrationChangeHistory); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody IntegrationChangeHistoryEntity integrationChangeHistory){ + integrationChangeHistoryService.updateById(integrationChangeHistory); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + integrationChangeHistoryService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberCollectSpuController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberCollectSpuController.java new file mode 100644 index 00000000..41bf3657 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberCollectSpuController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.MemberCollectSpuEntity; +import com.xjs.mall.member.service.MemberCollectSpuService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 会员收藏的商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/membercollectspu") +public class MemberCollectSpuController { + @Autowired + private MemberCollectSpuService memberCollectSpuService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberCollectSpuService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberCollectSpuEntity memberCollectSpu = memberCollectSpuService.getById(id); + + return R.ok().put("memberCollectSpu", memberCollectSpu); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberCollectSpuEntity memberCollectSpu){ + memberCollectSpuService.save(memberCollectSpu); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberCollectSpuEntity memberCollectSpu){ + memberCollectSpuService.updateById(memberCollectSpu); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberCollectSpuService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberCollectSubjectController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberCollectSubjectController.java new file mode 100644 index 00000000..4a7252c3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberCollectSubjectController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.MemberCollectSubjectEntity; +import com.xjs.mall.member.service.MemberCollectSubjectService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 会员收藏的专题活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/membercollectsubject") +public class MemberCollectSubjectController { + @Autowired + private MemberCollectSubjectService memberCollectSubjectService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberCollectSubjectService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberCollectSubjectEntity memberCollectSubject = memberCollectSubjectService.getById(id); + + return R.ok().put("memberCollectSubject", memberCollectSubject); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberCollectSubjectEntity memberCollectSubject){ + memberCollectSubjectService.save(memberCollectSubject); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberCollectSubjectEntity memberCollectSubject){ + memberCollectSubjectService.updateById(memberCollectSubject); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberCollectSubjectService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberController.java new file mode 100644 index 00000000..c42361ff --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.MemberEntity; +import com.xjs.mall.member.service.MemberService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 会员 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/member") +public class MemberController { + @Autowired + private MemberService memberService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberEntity member = memberService.getById(id); + + return R.ok().put("member", member); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberEntity member){ + memberService.save(member); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberEntity member){ + memberService.updateById(member); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberLevelController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberLevelController.java new file mode 100644 index 00000000..fec2f954 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberLevelController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.MemberLevelEntity; +import com.xjs.mall.member.service.MemberLevelService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 会员等级 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/memberlevel") +public class MemberLevelController { + @Autowired + private MemberLevelService memberLevelService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberLevelService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberLevelEntity memberLevel = memberLevelService.getById(id); + + return R.ok().put("memberLevel", memberLevel); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberLevelEntity memberLevel){ + memberLevelService.save(memberLevel); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberLevelEntity memberLevel){ + memberLevelService.updateById(memberLevel); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberLevelService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberLoginLogController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberLoginLogController.java new file mode 100644 index 00000000..944a4e42 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberLoginLogController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.MemberLoginLogEntity; +import com.xjs.mall.member.service.MemberLoginLogService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 会员登录记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/memberloginlog") +public class MemberLoginLogController { + @Autowired + private MemberLoginLogService memberLoginLogService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberLoginLogService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberLoginLogEntity memberLoginLog = memberLoginLogService.getById(id); + + return R.ok().put("memberLoginLog", memberLoginLog); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberLoginLogEntity memberLoginLog){ + memberLoginLogService.save(memberLoginLog); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberLoginLogEntity memberLoginLog){ + memberLoginLogService.updateById(memberLoginLog); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberLoginLogService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberReceiveAddressController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberReceiveAddressController.java new file mode 100644 index 00000000..6fcff6ba --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberReceiveAddressController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.MemberReceiveAddressEntity; +import com.xjs.mall.member.service.MemberReceiveAddressService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 会员收货地址 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/memberreceiveaddress") +public class MemberReceiveAddressController { + @Autowired + private MemberReceiveAddressService memberReceiveAddressService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberReceiveAddressService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberReceiveAddressEntity memberReceiveAddress = memberReceiveAddressService.getById(id); + + return R.ok().put("memberReceiveAddress", memberReceiveAddress); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberReceiveAddressEntity memberReceiveAddress){ + memberReceiveAddressService.save(memberReceiveAddress); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberReceiveAddressEntity memberReceiveAddress){ + memberReceiveAddressService.updateById(memberReceiveAddress); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberReceiveAddressService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberStatisticsInfoController.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberStatisticsInfoController.java new file mode 100644 index 00000000..fc9114b7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/controller/MemberStatisticsInfoController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.member.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.member.entity.MemberStatisticsInfoEntity; +import com.xjs.mall.member.service.MemberStatisticsInfoService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 会员统计信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@RestController +@RequestMapping("member/memberstatisticsinfo") +public class MemberStatisticsInfoController { + @Autowired + private MemberStatisticsInfoService memberStatisticsInfoService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = memberStatisticsInfoService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + MemberStatisticsInfoEntity memberStatisticsInfo = memberStatisticsInfoService.getById(id); + + return R.ok().put("memberStatisticsInfo", memberStatisticsInfo); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody MemberStatisticsInfoEntity memberStatisticsInfo){ + memberStatisticsInfoService.save(memberStatisticsInfo); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody MemberStatisticsInfoEntity memberStatisticsInfo){ + memberStatisticsInfoService.updateById(memberStatisticsInfo); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + memberStatisticsInfoService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/GrowthChangeHistoryDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/GrowthChangeHistoryDao.java new file mode 100644 index 00000000..d56adec8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/GrowthChangeHistoryDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.GrowthChangeHistoryEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 成长值变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface GrowthChangeHistoryDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/IntegrationChangeHistoryDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/IntegrationChangeHistoryDao.java new file mode 100644 index 00000000..9872f047 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/IntegrationChangeHistoryDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.IntegrationChangeHistoryEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 积分变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface IntegrationChangeHistoryDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberCollectSpuDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberCollectSpuDao.java new file mode 100644 index 00000000..d48b30ef --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberCollectSpuDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.MemberCollectSpuEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 会员收藏的商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberCollectSpuDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberCollectSubjectDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberCollectSubjectDao.java new file mode 100644 index 00000000..df0ce1f7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberCollectSubjectDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.MemberCollectSubjectEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 会员收藏的专题活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberCollectSubjectDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberDao.java new file mode 100644 index 00000000..5b89bfc1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.MemberEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 会员 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberLevelDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberLevelDao.java new file mode 100644 index 00000000..d096b21a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberLevelDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.MemberLevelEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 会员等级 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberLevelDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberLoginLogDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberLoginLogDao.java new file mode 100644 index 00000000..b0db8d8a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberLoginLogDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.MemberLoginLogEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 会员登录记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberLoginLogDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberReceiveAddressDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberReceiveAddressDao.java new file mode 100644 index 00000000..147f5d92 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberReceiveAddressDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.MemberReceiveAddressEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 会员收货地址 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberReceiveAddressDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberStatisticsInfoDao.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberStatisticsInfoDao.java new file mode 100644 index 00000000..b8773c43 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/dao/MemberStatisticsInfoDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.member.dao; + +import com.xjs.mall.member.entity.MemberStatisticsInfoEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 会员统计信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberStatisticsInfoDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/GrowthChangeHistoryEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/GrowthChangeHistoryEntity.java new file mode 100644 index 00000000..af1553db --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/GrowthChangeHistoryEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 成长值变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_growth_change_history") +public class GrowthChangeHistoryEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * member_id + */ + private Long memberId; + /** + * create_time + */ + private Date createTime; + /** + * 改变的值(正负计数) + */ + private Integer changeCount; + /** + * 备注 + */ + private String note; + /** + * 积分来源[0-购物,1-管理员修改] + */ + private Integer sourceType; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/IntegrationChangeHistoryEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/IntegrationChangeHistoryEntity.java new file mode 100644 index 00000000..30056676 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/IntegrationChangeHistoryEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 积分变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_integration_change_history") +public class IntegrationChangeHistoryEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * member_id + */ + private Long memberId; + /** + * create_time + */ + private Date createTime; + /** + * 变化的值 + */ + private Integer changeCount; + /** + * 备注 + */ + private String note; + /** + * 来源[0->购物;1->管理员修改;2->活动] + */ + private Integer sourceTyoe; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberCollectSpuEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberCollectSpuEntity.java new file mode 100644 index 00000000..15afdfa5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberCollectSpuEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 会员收藏的商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_member_collect_spu") +public class MemberCollectSpuEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 会员id + */ + private Long memberId; + /** + * spu_id + */ + private Long spuId; + /** + * spu_name + */ + private String spuName; + /** + * spu_img + */ + private String spuImg; + /** + * create_time + */ + private Date createTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberCollectSubjectEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberCollectSubjectEntity.java new file mode 100644 index 00000000..f3a6a3ea --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberCollectSubjectEntity.java @@ -0,0 +1,44 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 会员收藏的专题活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_member_collect_subject") +public class MemberCollectSubjectEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * subject_id + */ + private Long subjectId; + /** + * subject_name + */ + private String subjectName; + /** + * subject_img + */ + private String subjectImg; + /** + * 活动url + */ + private String subjectUrll; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberEntity.java new file mode 100644 index 00000000..00aeffbe --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberEntity.java @@ -0,0 +1,96 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 会员 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_member") +public class MemberEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 会员等级id + */ + private Long levelId; + /** + * 用户名 + */ + private String username; + /** + * 密码 + */ + private String password; + /** + * 昵称 + */ + private String nickname; + /** + * 手机号码 + */ + private String mobile; + /** + * 邮箱 + */ + private String email; + /** + * 头像 + */ + private String header; + /** + * 性别 + */ + private Integer gender; + /** + * 生日 + */ + private Date birth; + /** + * 所在城市 + */ + private String city; + /** + * 职业 + */ + private String job; + /** + * 个性签名 + */ + private String sign; + /** + * 用户来源 + */ + private Integer sourceType; + /** + * 积分 + */ + private Integer integration; + /** + * 成长值 + */ + private Integer growth; + /** + * 启用状态 + */ + private Integer status; + /** + * 注册时间 + */ + private Date createTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberLevelEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberLevelEntity.java new file mode 100644 index 00000000..0b2e8a89 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberLevelEntity.java @@ -0,0 +1,65 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 会员等级 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_member_level") +public class MemberLevelEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 等级名称 + */ + private String name; + /** + * 等级需要的成长值 + */ + private Integer growthPoint; + /** + * 是否为默认等级[0->不是;1->是] + */ + private Integer defaultStatus; + /** + * 免运费标准 + */ + private BigDecimal freeFreightPoint; + /** + * 每次评价获取的成长值 + */ + private Integer commentGrowthPoint; + /** + * 是否有免邮特权 + */ + private Integer priviledgeFreeFreight; + /** + * 是否有会员价格特权 + */ + private Integer priviledgeMemberPrice; + /** + * 是否有生日特权 + */ + private Integer priviledgeBirthday; + /** + * 备注 + */ + private String note; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberLoginLogEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberLoginLogEntity.java new file mode 100644 index 00000000..13059f26 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberLoginLogEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 会员登录记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_member_login_log") +public class MemberLoginLogEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * member_id + */ + private Long memberId; + /** + * 创建时间 + */ + private Date createTime; + /** + * ip + */ + private String ip; + /** + * city + */ + private String city; + /** + * 登录类型[1-web,2-app] + */ + private Integer loginType; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberReceiveAddressEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberReceiveAddressEntity.java new file mode 100644 index 00000000..d98311ad --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberReceiveAddressEntity.java @@ -0,0 +1,68 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 会员收货地址 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_member_receive_address") +public class MemberReceiveAddressEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * member_id + */ + private Long memberId; + /** + * 收货人姓名 + */ + private String name; + /** + * 电话 + */ + private String phone; + /** + * 邮政编码 + */ + private String postCode; + /** + * 省份/直辖市 + */ + private String province; + /** + * 城市 + */ + private String city; + /** + * 区 + */ + private String region; + /** + * 详细地址(街道) + */ + private String detailAddress; + /** + * 省市区代码 + */ + private String areacode; + /** + * 是否默认 + */ + private Integer defaultStatus; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberStatisticsInfoEntity.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberStatisticsInfoEntity.java new file mode 100644 index 00000000..25e428bd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/entity/MemberStatisticsInfoEntity.java @@ -0,0 +1,85 @@ +package com.xjs.mall.member.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 会员统计信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +@Data +@TableName("ums_member_statistics_info") +public class MemberStatisticsInfoEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 会员id + */ + private Long memberId; + /** + * 累计消费金额 + */ + private BigDecimal consumeAmount; + /** + * 累计优惠金额 + */ + private BigDecimal couponAmount; + /** + * 订单数量 + */ + private Integer orderCount; + /** + * 优惠券数量 + */ + private Integer couponCount; + /** + * 评价数 + */ + private Integer commentCount; + /** + * 退货数量 + */ + private Integer returnOrderCount; + /** + * 登录次数 + */ + private Integer loginCount; + /** + * 关注数量 + */ + private Integer attendCount; + /** + * 粉丝数量 + */ + private Integer fansCount; + /** + * 收藏的商品数量 + */ + private Integer collectProductCount; + /** + * 收藏的专题活动数量 + */ + private Integer collectSubjectCount; + /** + * 收藏的评论数量 + */ + private Integer collectCommentCount; + /** + * 邀请的朋友数量 + */ + private Integer inviteFriendCount; + +} diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/GrowthChangeHistoryService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/GrowthChangeHistoryService.java new file mode 100644 index 00000000..a6d4e716 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/GrowthChangeHistoryService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.GrowthChangeHistoryEntity; + +import java.util.Map; + +/** + * 成长值变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface GrowthChangeHistoryService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/IntegrationChangeHistoryService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/IntegrationChangeHistoryService.java new file mode 100644 index 00000000..52ae0500 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/IntegrationChangeHistoryService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.IntegrationChangeHistoryEntity; + +import java.util.Map; + +/** + * 积分变化历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface IntegrationChangeHistoryService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberCollectSpuService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberCollectSpuService.java new file mode 100644 index 00000000..50e1ab9f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberCollectSpuService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.MemberCollectSpuEntity; + +import java.util.Map; + +/** + * 会员收藏的商品 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberCollectSpuService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberCollectSubjectService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberCollectSubjectService.java new file mode 100644 index 00000000..367f9b0a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberCollectSubjectService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.MemberCollectSubjectEntity; + +import java.util.Map; + +/** + * 会员收藏的专题活动 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberCollectSubjectService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberLevelService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberLevelService.java new file mode 100644 index 00000000..ab54fb23 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberLevelService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.MemberLevelEntity; + +import java.util.Map; + +/** + * 会员等级 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberLevelService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberLoginLogService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberLoginLogService.java new file mode 100644 index 00000000..67ed34e8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberLoginLogService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.MemberLoginLogEntity; + +import java.util.Map; + +/** + * 会员登录记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberLoginLogService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberReceiveAddressService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberReceiveAddressService.java new file mode 100644 index 00000000..c62a1efb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberReceiveAddressService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.MemberReceiveAddressEntity; + +import java.util.Map; + +/** + * 会员收货地址 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberReceiveAddressService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberService.java new file mode 100644 index 00000000..94b3f438 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.MemberEntity; + +import java.util.Map; + +/** + * 会员 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberStatisticsInfoService.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberStatisticsInfoService.java new file mode 100644 index 00000000..fc10c50d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/MemberStatisticsInfoService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.member.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.member.entity.MemberStatisticsInfoEntity; + +import java.util.Map; + +/** + * 会员统计信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:30:19 + */ +public interface MemberStatisticsInfoService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/GrowthChangeHistoryServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/GrowthChangeHistoryServiceImpl.java new file mode 100644 index 00000000..9d94ab9b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/GrowthChangeHistoryServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.GrowthChangeHistoryDao; +import com.xjs.mall.member.entity.GrowthChangeHistoryEntity; +import com.xjs.mall.member.service.GrowthChangeHistoryService; + + +@Service("growthChangeHistoryService") +public class GrowthChangeHistoryServiceImpl extends ServiceImpl implements GrowthChangeHistoryService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/IntegrationChangeHistoryServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/IntegrationChangeHistoryServiceImpl.java new file mode 100644 index 00000000..4df98fa5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/IntegrationChangeHistoryServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.IntegrationChangeHistoryDao; +import com.xjs.mall.member.entity.IntegrationChangeHistoryEntity; +import com.xjs.mall.member.service.IntegrationChangeHistoryService; + + +@Service("integrationChangeHistoryService") +public class IntegrationChangeHistoryServiceImpl extends ServiceImpl implements IntegrationChangeHistoryService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberCollectSpuServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberCollectSpuServiceImpl.java new file mode 100644 index 00000000..d8ef2af8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberCollectSpuServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.MemberCollectSpuDao; +import com.xjs.mall.member.entity.MemberCollectSpuEntity; +import com.xjs.mall.member.service.MemberCollectSpuService; + + +@Service("memberCollectSpuService") +public class MemberCollectSpuServiceImpl extends ServiceImpl implements MemberCollectSpuService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberCollectSubjectServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberCollectSubjectServiceImpl.java new file mode 100644 index 00000000..a3e1e153 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberCollectSubjectServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.MemberCollectSubjectDao; +import com.xjs.mall.member.entity.MemberCollectSubjectEntity; +import com.xjs.mall.member.service.MemberCollectSubjectService; + + +@Service("memberCollectSubjectService") +public class MemberCollectSubjectServiceImpl extends ServiceImpl implements MemberCollectSubjectService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberLevelServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberLevelServiceImpl.java new file mode 100644 index 00000000..083079fe --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberLevelServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.MemberLevelDao; +import com.xjs.mall.member.entity.MemberLevelEntity; +import com.xjs.mall.member.service.MemberLevelService; + + +@Service("memberLevelService") +public class MemberLevelServiceImpl extends ServiceImpl implements MemberLevelService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberLoginLogServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberLoginLogServiceImpl.java new file mode 100644 index 00000000..6b778347 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberLoginLogServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.MemberLoginLogDao; +import com.xjs.mall.member.entity.MemberLoginLogEntity; +import com.xjs.mall.member.service.MemberLoginLogService; + + +@Service("memberLoginLogService") +public class MemberLoginLogServiceImpl extends ServiceImpl implements MemberLoginLogService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberReceiveAddressServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberReceiveAddressServiceImpl.java new file mode 100644 index 00000000..512e1ed5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberReceiveAddressServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.MemberReceiveAddressDao; +import com.xjs.mall.member.entity.MemberReceiveAddressEntity; +import com.xjs.mall.member.service.MemberReceiveAddressService; + + +@Service("memberReceiveAddressService") +public class MemberReceiveAddressServiceImpl extends ServiceImpl implements MemberReceiveAddressService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberServiceImpl.java new file mode 100644 index 00000000..303c3a84 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.MemberDao; +import com.xjs.mall.member.entity.MemberEntity; +import com.xjs.mall.member.service.MemberService; + + +@Service("memberService") +public class MemberServiceImpl extends ServiceImpl implements MemberService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberStatisticsInfoServiceImpl.java b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberStatisticsInfoServiceImpl.java new file mode 100644 index 00000000..d7019866 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/java/com/xjs/mall/member/service/impl/MemberStatisticsInfoServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.member.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.member.dao.MemberStatisticsInfoDao; +import com.xjs.mall.member.entity.MemberStatisticsInfoEntity; +import com.xjs.mall.member.service.MemberStatisticsInfoService; + + +@Service("memberStatisticsInfoService") +public class MemberStatisticsInfoServiceImpl extends ServiceImpl implements MemberStatisticsInfoService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/bootstrap.yml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..064bc53f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/bootstrap.yml @@ -0,0 +1,29 @@ +# Tomcat +server: + port: 9984 + +# Spring +spring: + application: + # 应用名称 + name: xjs-mall-member + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + #配置组 + group: xjs + #命名空间 + namespace: xjs-666 diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/logback.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/logback.xml new file mode 100644 index 00000000..b07ebc0d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/logback.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/GrowthChangeHistoryDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/GrowthChangeHistoryDao.xml new file mode 100644 index 00000000..86ca6101 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/GrowthChangeHistoryDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/IntegrationChangeHistoryDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/IntegrationChangeHistoryDao.xml new file mode 100644 index 00000000..fb972b9a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/IntegrationChangeHistoryDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberCollectSpuDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberCollectSpuDao.xml new file mode 100644 index 00000000..51afb8f1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberCollectSpuDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberCollectSubjectDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberCollectSubjectDao.xml new file mode 100644 index 00000000..7c0ac8fd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberCollectSubjectDao.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberDao.xml new file mode 100644 index 00000000..2c8ff6ce --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberDao.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberLevelDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberLevelDao.xml new file mode 100644 index 00000000..e74b2990 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberLevelDao.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberLoginLogDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberLoginLogDao.xml new file mode 100644 index 00000000..5214fdd3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberLoginLogDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberReceiveAddressDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberReceiveAddressDao.xml new file mode 100644 index 00000000..6d1f2845 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberReceiveAddressDao.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberStatisticsInfoDao.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberStatisticsInfoDao.xml new file mode 100644 index 00000000..2f5d1c7b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/mapper/member/MemberStatisticsInfoDao.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/rebel.xml b/xjs-business/xjs-project-mall/mall-member/src/main/resources/rebel.xml new file mode 100644 index 00000000..5197b8b3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/rebel.xml @@ -0,0 +1,16 @@ + + + + + + mall-member + + + + + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/growthchangehistory-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/growthchangehistory-add-or-update.vue new file mode 100644 index 00000000..38cf0214 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/growthchangehistory-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/growthchangehistory.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/growthchangehistory.vue new file mode 100644 index 00000000..a23fd63d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/growthchangehistory.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/integrationchangehistory-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/integrationchangehistory-add-or-update.vue new file mode 100644 index 00000000..d1a08706 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/integrationchangehistory-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/integrationchangehistory.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/integrationchangehistory.vue new file mode 100644 index 00000000..e572f502 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/integrationchangehistory.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/member-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/member-add-or-update.vue new file mode 100644 index 00000000..e4983cc7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/member-add-or-update.vue @@ -0,0 +1,228 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/member.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/member.vue new file mode 100644 index 00000000..62f74725 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/member.vue @@ -0,0 +1,259 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectspu-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectspu-add-or-update.vue new file mode 100644 index 00000000..91976651 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectspu-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectspu.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectspu.vue new file mode 100644 index 00000000..587c95f1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectspu.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectsubject-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectsubject-add-or-update.vue new file mode 100644 index 00000000..f30455d1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectsubject-add-or-update.vue @@ -0,0 +1,111 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectsubject.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectsubject.vue new file mode 100644 index 00000000..98bfccf1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/membercollectsubject.vue @@ -0,0 +1,181 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberlevel-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberlevel-add-or-update.vue new file mode 100644 index 00000000..962a28e5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberlevel-add-or-update.vue @@ -0,0 +1,156 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberlevel.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberlevel.vue new file mode 100644 index 00000000..00267968 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberlevel.vue @@ -0,0 +1,211 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberloginlog-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberloginlog-add-or-update.vue new file mode 100644 index 00000000..eeeb0598 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberloginlog-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberloginlog.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberloginlog.vue new file mode 100644 index 00000000..43a8074f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberloginlog.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberreceiveaddress-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberreceiveaddress-add-or-update.vue new file mode 100644 index 00000000..77dda3b5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberreceiveaddress-add-or-update.vue @@ -0,0 +1,165 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberreceiveaddress.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberreceiveaddress.vue new file mode 100644 index 00000000..763e037a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberreceiveaddress.vue @@ -0,0 +1,217 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo-add-or-update.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo-add-or-update.vue new file mode 100644 index 00000000..dbfbbf35 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo-add-or-update.vue @@ -0,0 +1,201 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo.vue b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo.vue new file mode 100644 index 00000000..8228149d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-member/src/main/resources/src/views/modules/member/memberstatisticsinfo.vue @@ -0,0 +1,241 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/MallOrderApp.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/MallOrderApp.java new file mode 100644 index 00000000..31b59d6a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/MallOrderApp.java @@ -0,0 +1,22 @@ +package com.xjs.mall.order; + +import com.ruoyi.common.security.annotation.EnableCustomConfig; +import com.ruoyi.common.security.annotation.EnableRyFeignClients; +import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 商城Order启动器 + * @author xiejs + * @since 2022-03-15 + */ +@SpringBootApplication +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients +public class MallOrderApp { + public static void main(String[] args) { + SpringApplication.run(MallOrderApp.class, args); + } +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderController.java new file mode 100644 index 00000000..c0b564be --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.OrderEntity; +import com.xjs.mall.order.service.OrderService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 订单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/order") +public class OrderController { + @Autowired + private OrderService orderService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = orderService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + OrderEntity order = orderService.getById(id); + + return R.ok().put("order", order); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody OrderEntity order){ + orderService.save(order); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody OrderEntity order){ + orderService.updateById(order); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + orderService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderItemController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderItemController.java new file mode 100644 index 00000000..95e04947 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderItemController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.OrderItemEntity; +import com.xjs.mall.order.service.OrderItemService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 订单项信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/orderitem") +public class OrderItemController { + @Autowired + private OrderItemService orderItemService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = orderItemService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + OrderItemEntity orderItem = orderItemService.getById(id); + + return R.ok().put("orderItem", orderItem); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody OrderItemEntity orderItem){ + orderItemService.save(orderItem); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody OrderItemEntity orderItem){ + orderItemService.updateById(orderItem); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + orderItemService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderOperateHistoryController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderOperateHistoryController.java new file mode 100644 index 00000000..4b22cdbe --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderOperateHistoryController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.OrderOperateHistoryEntity; +import com.xjs.mall.order.service.OrderOperateHistoryService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 订单操作历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/orderoperatehistory") +public class OrderOperateHistoryController { + @Autowired + private OrderOperateHistoryService orderOperateHistoryService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = orderOperateHistoryService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + OrderOperateHistoryEntity orderOperateHistory = orderOperateHistoryService.getById(id); + + return R.ok().put("orderOperateHistory", orderOperateHistory); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody OrderOperateHistoryEntity orderOperateHistory){ + orderOperateHistoryService.save(orderOperateHistory); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody OrderOperateHistoryEntity orderOperateHistory){ + orderOperateHistoryService.updateById(orderOperateHistory); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + orderOperateHistoryService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderReturnApplyController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderReturnApplyController.java new file mode 100644 index 00000000..475e6ccc --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderReturnApplyController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.OrderReturnApplyEntity; +import com.xjs.mall.order.service.OrderReturnApplyService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 订单退货申请 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/orderreturnapply") +public class OrderReturnApplyController { + @Autowired + private OrderReturnApplyService orderReturnApplyService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = orderReturnApplyService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + OrderReturnApplyEntity orderReturnApply = orderReturnApplyService.getById(id); + + return R.ok().put("orderReturnApply", orderReturnApply); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody OrderReturnApplyEntity orderReturnApply){ + orderReturnApplyService.save(orderReturnApply); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody OrderReturnApplyEntity orderReturnApply){ + orderReturnApplyService.updateById(orderReturnApply); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + orderReturnApplyService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderReturnReasonController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderReturnReasonController.java new file mode 100644 index 00000000..5be356a4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderReturnReasonController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.OrderReturnReasonEntity; +import com.xjs.mall.order.service.OrderReturnReasonService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 退货原因 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/orderreturnreason") +public class OrderReturnReasonController { + @Autowired + private OrderReturnReasonService orderReturnReasonService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = orderReturnReasonService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + OrderReturnReasonEntity orderReturnReason = orderReturnReasonService.getById(id); + + return R.ok().put("orderReturnReason", orderReturnReason); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody OrderReturnReasonEntity orderReturnReason){ + orderReturnReasonService.save(orderReturnReason); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody OrderReturnReasonEntity orderReturnReason){ + orderReturnReasonService.updateById(orderReturnReason); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + orderReturnReasonService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderSettingController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderSettingController.java new file mode 100644 index 00000000..75f21054 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/OrderSettingController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.OrderSettingEntity; +import com.xjs.mall.order.service.OrderSettingService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 订单配置信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/ordersetting") +public class OrderSettingController { + @Autowired + private OrderSettingService orderSettingService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = orderSettingService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + OrderSettingEntity orderSetting = orderSettingService.getById(id); + + return R.ok().put("orderSetting", orderSetting); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody OrderSettingEntity orderSetting){ + orderSettingService.save(orderSetting); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody OrderSettingEntity orderSetting){ + orderSettingService.updateById(orderSetting); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + orderSettingService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/PaymentInfoController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/PaymentInfoController.java new file mode 100644 index 00000000..a41d9b04 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/PaymentInfoController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.PaymentInfoEntity; +import com.xjs.mall.order.service.PaymentInfoService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 支付信息表 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/paymentinfo") +public class PaymentInfoController { + @Autowired + private PaymentInfoService paymentInfoService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = paymentInfoService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + PaymentInfoEntity paymentInfo = paymentInfoService.getById(id); + + return R.ok().put("paymentInfo", paymentInfo); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody PaymentInfoEntity paymentInfo){ + paymentInfoService.save(paymentInfo); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody PaymentInfoEntity paymentInfo){ + paymentInfoService.updateById(paymentInfo); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + paymentInfoService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/RefundInfoController.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/RefundInfoController.java new file mode 100644 index 00000000..c754a396 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/controller/RefundInfoController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.order.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.order.entity.RefundInfoEntity; +import com.xjs.mall.order.service.RefundInfoService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 退款信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@RestController +@RequestMapping("order/refundinfo") +public class RefundInfoController { + @Autowired + private RefundInfoService refundInfoService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = refundInfoService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + RefundInfoEntity refundInfo = refundInfoService.getById(id); + + return R.ok().put("refundInfo", refundInfo); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody RefundInfoEntity refundInfo){ + refundInfoService.save(refundInfo); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody RefundInfoEntity refundInfo){ + refundInfoService.updateById(refundInfo); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + refundInfoService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderDao.java new file mode 100644 index 00000000..f55a40ac --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.OrderEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 订单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderItemDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderItemDao.java new file mode 100644 index 00000000..ff3ad341 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderItemDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.OrderItemEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 订单项信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderItemDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderOperateHistoryDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderOperateHistoryDao.java new file mode 100644 index 00000000..0ff00006 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderOperateHistoryDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.OrderOperateHistoryEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 订单操作历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderOperateHistoryDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderReturnApplyDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderReturnApplyDao.java new file mode 100644 index 00000000..d10e7848 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderReturnApplyDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.OrderReturnApplyEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 订单退货申请 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderReturnApplyDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderReturnReasonDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderReturnReasonDao.java new file mode 100644 index 00000000..e4e06cc9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderReturnReasonDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.OrderReturnReasonEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 退货原因 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderReturnReasonDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderSettingDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderSettingDao.java new file mode 100644 index 00000000..56cbe23b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/OrderSettingDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.OrderSettingEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 订单配置信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderSettingDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/PaymentInfoDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/PaymentInfoDao.java new file mode 100644 index 00000000..29bdb726 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/PaymentInfoDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.PaymentInfoEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 支付信息表 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface PaymentInfoDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/RefundInfoDao.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/RefundInfoDao.java new file mode 100644 index 00000000..73942c6b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/dao/RefundInfoDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.order.dao; + +import com.xjs.mall.order.entity.RefundInfoEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 退款信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface RefundInfoDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderEntity.java new file mode 100644 index 00000000..4d6f23b4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderEntity.java @@ -0,0 +1,193 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 订单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_order") +public class OrderEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * member_id + */ + private Long memberId; + /** + * 订单号 + */ + private String orderSn; + /** + * 使用的优惠券 + */ + private Long couponId; + /** + * create_time + */ + private Date createTime; + /** + * 用户名 + */ + private String memberUsername; + /** + * 订单总额 + */ + private BigDecimal totalAmount; + /** + * 应付总额 + */ + private BigDecimal payAmount; + /** + * 运费金额 + */ + private BigDecimal freightAmount; + /** + * 促销优化金额(促销价、满减、阶梯价) + */ + private BigDecimal promotionAmount; + /** + * 积分抵扣金额 + */ + private BigDecimal integrationAmount; + /** + * 优惠券抵扣金额 + */ + private BigDecimal couponAmount; + /** + * 后台调整订单使用的折扣金额 + */ + private BigDecimal discountAmount; + /** + * 支付方式【1->支付宝;2->微信;3->银联; 4->货到付款;】 + */ + private Integer payType; + /** + * 订单来源[0->PC订单;1->app订单] + */ + private Integer sourceType; + /** + * 订单状态【0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单】 + */ + private Integer status; + /** + * 物流公司(配送方式) + */ + private String deliveryCompany; + /** + * 物流单号 + */ + private String deliverySn; + /** + * 自动确认时间(天) + */ + private Integer autoConfirmDay; + /** + * 可以获得的积分 + */ + private Integer integration; + /** + * 可以获得的成长值 + */ + private Integer growth; + /** + * 发票类型[0->不开发票;1->电子发票;2->纸质发票] + */ + private Integer billType; + /** + * 发票抬头 + */ + private String billHeader; + /** + * 发票内容 + */ + private String billContent; + /** + * 收票人电话 + */ + private String billReceiverPhone; + /** + * 收票人邮箱 + */ + private String billReceiverEmail; + /** + * 收货人姓名 + */ + private String receiverName; + /** + * 收货人电话 + */ + private String receiverPhone; + /** + * 收货人邮编 + */ + private String receiverPostCode; + /** + * 省份/直辖市 + */ + private String receiverProvince; + /** + * 城市 + */ + private String receiverCity; + /** + * 区 + */ + private String receiverRegion; + /** + * 详细地址 + */ + private String receiverDetailAddress; + /** + * 订单备注 + */ + private String note; + /** + * 确认收货状态[0->未确认;1->已确认] + */ + private Integer confirmStatus; + /** + * 删除状态【0->未删除;1->已删除】 + */ + private Integer deleteStatus; + /** + * 下单时使用的积分 + */ + private Integer useIntegration; + /** + * 支付时间 + */ + private Date paymentTime; + /** + * 发货时间 + */ + private Date deliveryTime; + /** + * 确认收货时间 + */ + private Date receiveTime; + /** + * 评价时间 + */ + private Date commentTime; + /** + * 修改时间 + */ + private Date modifyTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderItemEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderItemEntity.java new file mode 100644 index 00000000..fdf58290 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderItemEntity.java @@ -0,0 +1,105 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 订单项信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_order_item") +public class OrderItemEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * order_id + */ + private Long orderId; + /** + * order_sn + */ + private String orderSn; + /** + * spu_id + */ + private Long spuId; + /** + * spu_name + */ + private String spuName; + /** + * spu_pic + */ + private String spuPic; + /** + * 品牌 + */ + private String spuBrand; + /** + * 商品分类id + */ + private Long categoryId; + /** + * 商品sku编号 + */ + private Long skuId; + /** + * 商品sku名字 + */ + private String skuName; + /** + * 商品sku图片 + */ + private String skuPic; + /** + * 商品sku价格 + */ + private BigDecimal skuPrice; + /** + * 商品购买的数量 + */ + private Integer skuQuantity; + /** + * 商品销售属性组合(JSON) + */ + private String skuAttrsVals; + /** + * 商品促销分解金额 + */ + private BigDecimal promotionAmount; + /** + * 优惠券优惠分解金额 + */ + private BigDecimal couponAmount; + /** + * 积分优惠分解金额 + */ + private BigDecimal integrationAmount; + /** + * 该商品经过优惠后的分解金额 + */ + private BigDecimal realAmount; + /** + * 赠送积分 + */ + private Integer giftIntegration; + /** + * 赠送成长值 + */ + private Integer giftGrowth; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderOperateHistoryEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderOperateHistoryEntity.java new file mode 100644 index 00000000..8f28395b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderOperateHistoryEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 订单操作历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_order_operate_history") +public class OrderOperateHistoryEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 订单id + */ + private Long orderId; + /** + * 操作人[用户;系统;后台管理员] + */ + private String operateMan; + /** + * 操作时间 + */ + private Date createTime; + /** + * 订单状态【0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单】 + */ + private Integer orderStatus; + /** + * 备注 + */ + private String note; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderReturnApplyEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderReturnApplyEntity.java new file mode 100644 index 00000000..82e1928a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderReturnApplyEntity.java @@ -0,0 +1,137 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 订单退货申请 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_order_return_apply") +public class OrderReturnApplyEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * order_id + */ + private Long orderId; + /** + * 退货商品id + */ + private Long skuId; + /** + * 订单编号 + */ + private String orderSn; + /** + * 申请时间 + */ + private Date createTime; + /** + * 会员用户名 + */ + private String memberUsername; + /** + * 退款金额 + */ + private BigDecimal returnAmount; + /** + * 退货人姓名 + */ + private String returnName; + /** + * 退货人电话 + */ + private String returnPhone; + /** + * 申请状态[0->待处理;1->退货中;2->已完成;3->已拒绝] + */ + private Integer status; + /** + * 处理时间 + */ + private Date handleTime; + /** + * 商品图片 + */ + private String skuImg; + /** + * 商品名称 + */ + private String skuName; + /** + * 商品品牌 + */ + private String skuBrand; + /** + * 商品销售属性(JSON) + */ + private String skuAttrsVals; + /** + * 退货数量 + */ + private Integer skuCount; + /** + * 商品单价 + */ + private BigDecimal skuPrice; + /** + * 商品实际支付单价 + */ + private BigDecimal skuRealPrice; + /** + * 原因 + */ + private String reason; + /** + * 描述 + */ + private String description述; + /** + * 凭证图片,以逗号隔开 + */ + private String descPics; + /** + * 处理备注 + */ + private String handleNote; + /** + * 处理人员 + */ + private String handleMan; + /** + * 收货人 + */ + private String receiveMan; + /** + * 收货时间 + */ + private Date receiveTime; + /** + * 收货备注 + */ + private String receiveNote; + /** + * 收货电话 + */ + private String receivePhone; + /** + * 公司收货地址 + */ + private String companyAddress; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderReturnReasonEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderReturnReasonEntity.java new file mode 100644 index 00000000..680a522f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderReturnReasonEntity.java @@ -0,0 +1,44 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 退货原因 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_order_return_reason") +public class OrderReturnReasonEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 退货原因名 + */ + private String name; + /** + * 排序 + */ + private Integer sort; + /** + * 启用状态 + */ + private Integer status; + /** + * create_time + */ + private Date createTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderSettingEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderSettingEntity.java new file mode 100644 index 00000000..331ba66e --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/OrderSettingEntity.java @@ -0,0 +1,52 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 订单配置信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_order_setting") +public class OrderSettingEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 秒杀订单超时关闭时间(分) + */ + private Integer flashOrderOvertime; + /** + * 正常订单超时时间(分) + */ + private Integer normalOrderOvertime; + /** + * 发货后自动确认收货时间(天) + */ + private Integer confirmOvertime; + /** + * 自动完成交易时间,不能申请退货(天) + */ + private Integer finishOvertime; + /** + * 订单完成后自动好评时间(天) + */ + private Integer commentOvertime; + /** + * 会员等级【0-不限会员等级,全部通用;其他-对应的其他会员等级】 + */ + private Integer memberLevel; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/PaymentInfoEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/PaymentInfoEntity.java new file mode 100644 index 00000000..704d196f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/PaymentInfoEntity.java @@ -0,0 +1,69 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 支付信息表 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_payment_info") +public class PaymentInfoEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 订单号(对外业务号) + */ + private String orderSn; + /** + * 订单id + */ + private Long orderId; + /** + * 支付宝交易流水号 + */ + private String alipayTradeNo; + /** + * 支付总金额 + */ + private BigDecimal totalAmount; + /** + * 交易内容 + */ + private String subject; + /** + * 支付状态 + */ + private String paymentStatus; + /** + * 创建时间 + */ + private Date createTime; + /** + * 确认时间 + */ + private Date confirmTime; + /** + * 回调内容 + */ + private String callbackContent; + /** + * 回调时间 + */ + private Date callbackTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/RefundInfoEntity.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/RefundInfoEntity.java new file mode 100644 index 00000000..483feffd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/entity/RefundInfoEntity.java @@ -0,0 +1,53 @@ +package com.xjs.mall.order.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 退款信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +@Data +@TableName("oms_refund_info") +public class RefundInfoEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 退款的订单 + */ + private Long orderReturnId; + /** + * 退款金额 + */ + private BigDecimal refund; + /** + * 退款交易流水号 + */ + private String refundSn; + /** + * 退款状态 + */ + private Integer refundStatus; + /** + * 退款渠道[1-支付宝,2-微信,3-银联,4-汇款] + */ + private Integer refundChannel; + /** + * + */ + private String refundContent; + +} diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderItemService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderItemService.java new file mode 100644 index 00000000..9fd7c925 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderItemService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.OrderItemEntity; + +import java.util.Map; + +/** + * 订单项信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderItemService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderOperateHistoryService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderOperateHistoryService.java new file mode 100644 index 00000000..6a88f800 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderOperateHistoryService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.OrderOperateHistoryEntity; + +import java.util.Map; + +/** + * 订单操作历史记录 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderOperateHistoryService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderReturnApplyService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderReturnApplyService.java new file mode 100644 index 00000000..87230213 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderReturnApplyService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.OrderReturnApplyEntity; + +import java.util.Map; + +/** + * 订单退货申请 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderReturnApplyService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderReturnReasonService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderReturnReasonService.java new file mode 100644 index 00000000..034a99ed --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderReturnReasonService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.OrderReturnReasonEntity; + +import java.util.Map; + +/** + * 退货原因 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderReturnReasonService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderService.java new file mode 100644 index 00000000..005b7526 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.OrderEntity; + +import java.util.Map; + +/** + * 订单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderSettingService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderSettingService.java new file mode 100644 index 00000000..d4022e25 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/OrderSettingService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.OrderSettingEntity; + +import java.util.Map; + +/** + * 订单配置信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface OrderSettingService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/PaymentInfoService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/PaymentInfoService.java new file mode 100644 index 00000000..d18bb6ec --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/PaymentInfoService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.PaymentInfoEntity; + +import java.util.Map; + +/** + * 支付信息表 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface PaymentInfoService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/RefundInfoService.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/RefundInfoService.java new file mode 100644 index 00000000..ec097282 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/RefundInfoService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.order.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.order.entity.RefundInfoEntity; + +import java.util.Map; + +/** + * 退款信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:37:13 + */ +public interface RefundInfoService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderItemServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderItemServiceImpl.java new file mode 100644 index 00000000..271c6b40 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderItemServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.OrderItemDao; +import com.xjs.mall.order.entity.OrderItemEntity; +import com.xjs.mall.order.service.OrderItemService; + + +@Service("orderItemService") +public class OrderItemServiceImpl extends ServiceImpl implements OrderItemService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderOperateHistoryServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderOperateHistoryServiceImpl.java new file mode 100644 index 00000000..af6cf9c7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderOperateHistoryServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.OrderOperateHistoryDao; +import com.xjs.mall.order.entity.OrderOperateHistoryEntity; +import com.xjs.mall.order.service.OrderOperateHistoryService; + + +@Service("orderOperateHistoryService") +public class OrderOperateHistoryServiceImpl extends ServiceImpl implements OrderOperateHistoryService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderReturnApplyServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderReturnApplyServiceImpl.java new file mode 100644 index 00000000..bed84dd4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderReturnApplyServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.OrderReturnApplyDao; +import com.xjs.mall.order.entity.OrderReturnApplyEntity; +import com.xjs.mall.order.service.OrderReturnApplyService; + + +@Service("orderReturnApplyService") +public class OrderReturnApplyServiceImpl extends ServiceImpl implements OrderReturnApplyService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderReturnReasonServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderReturnReasonServiceImpl.java new file mode 100644 index 00000000..03a0c5b1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderReturnReasonServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.OrderReturnReasonDao; +import com.xjs.mall.order.entity.OrderReturnReasonEntity; +import com.xjs.mall.order.service.OrderReturnReasonService; + + +@Service("orderReturnReasonService") +public class OrderReturnReasonServiceImpl extends ServiceImpl implements OrderReturnReasonService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderServiceImpl.java new file mode 100644 index 00000000..c32ccb65 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.OrderDao; +import com.xjs.mall.order.entity.OrderEntity; +import com.xjs.mall.order.service.OrderService; + + +@Service("orderService") +public class OrderServiceImpl extends ServiceImpl implements OrderService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderSettingServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderSettingServiceImpl.java new file mode 100644 index 00000000..b9609320 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/OrderSettingServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.OrderSettingDao; +import com.xjs.mall.order.entity.OrderSettingEntity; +import com.xjs.mall.order.service.OrderSettingService; + + +@Service("orderSettingService") +public class OrderSettingServiceImpl extends ServiceImpl implements OrderSettingService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/PaymentInfoServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/PaymentInfoServiceImpl.java new file mode 100644 index 00000000..9916ae61 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/PaymentInfoServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.PaymentInfoDao; +import com.xjs.mall.order.entity.PaymentInfoEntity; +import com.xjs.mall.order.service.PaymentInfoService; + + +@Service("paymentInfoService") +public class PaymentInfoServiceImpl extends ServiceImpl implements PaymentInfoService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/RefundInfoServiceImpl.java b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/RefundInfoServiceImpl.java new file mode 100644 index 00000000..4d42e5f9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/java/com/xjs/mall/order/service/impl/RefundInfoServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.order.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.order.dao.RefundInfoDao; +import com.xjs.mall.order.entity.RefundInfoEntity; +import com.xjs.mall.order.service.RefundInfoService; + + +@Service("refundInfoService") +public class RefundInfoServiceImpl extends ServiceImpl implements RefundInfoService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/bootstrap.yml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..a4f3effb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/bootstrap.yml @@ -0,0 +1,29 @@ +# Tomcat +server: + port: 9985 + +# Spring +spring: + application: + # 应用名称 + name: xjs-mall-order + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + #配置组 + group: xjs + #命名空间 + namespace: xjs-666 diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/logback.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/logback.xml new file mode 100644 index 00000000..aa3b4374 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/logback.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderDao.xml new file mode 100644 index 00000000..d0abb018 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderDao.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderItemDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderItemDao.xml new file mode 100644 index 00000000..46b7e1e5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderItemDao.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderOperateHistoryDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderOperateHistoryDao.xml new file mode 100644 index 00000000..b4a3ae99 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderOperateHistoryDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderReturnApplyDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderReturnApplyDao.xml new file mode 100644 index 00000000..f50150fe --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderReturnApplyDao.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderReturnReasonDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderReturnReasonDao.xml new file mode 100644 index 00000000..da872a7d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderReturnReasonDao.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderSettingDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderSettingDao.xml new file mode 100644 index 00000000..5810a37d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/OrderSettingDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/PaymentInfoDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/PaymentInfoDao.xml new file mode 100644 index 00000000..28447561 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/PaymentInfoDao.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/RefundInfoDao.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/RefundInfoDao.xml new file mode 100644 index 00000000..0c7eb904 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/mapper/order/RefundInfoDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/rebel.xml b/xjs-business/xjs-project-mall/mall-order/src/main/resources/rebel.xml new file mode 100644 index 00000000..59deaa8b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/rebel.xml @@ -0,0 +1,16 @@ + + + + + + mall-order + + + + + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/order-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/order-add-or-update.vue new file mode 100644 index 00000000..30c6d1ad --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/order-add-or-update.vue @@ -0,0 +1,444 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/order.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/order.vue new file mode 100644 index 00000000..c2615f56 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/order.vue @@ -0,0 +1,403 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderitem-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderitem-add-or-update.vue new file mode 100644 index 00000000..230153c6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderitem-add-or-update.vue @@ -0,0 +1,246 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderitem.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderitem.vue new file mode 100644 index 00000000..da32e681 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderitem.vue @@ -0,0 +1,271 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderoperatehistory-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderoperatehistory-add-or-update.vue new file mode 100644 index 00000000..6f77c46c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderoperatehistory-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderoperatehistory.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderoperatehistory.vue new file mode 100644 index 00000000..8fcca826 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderoperatehistory.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnapply-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnapply-add-or-update.vue new file mode 100644 index 00000000..784e4967 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnapply-add-or-update.vue @@ -0,0 +1,318 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnapply.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnapply.vue new file mode 100644 index 00000000..97ffde6a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnapply.vue @@ -0,0 +1,319 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnreason-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnreason-add-or-update.vue new file mode 100644 index 00000000..eb71508b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnreason-add-or-update.vue @@ -0,0 +1,111 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnreason.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnreason.vue new file mode 100644 index 00000000..cace13e4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/orderreturnreason.vue @@ -0,0 +1,181 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/ordersetting-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/ordersetting-add-or-update.vue new file mode 100644 index 00000000..9cf5907c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/ordersetting-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/ordersetting.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/ordersetting.vue new file mode 100644 index 00000000..531a6487 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/ordersetting.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/paymentinfo-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/paymentinfo-add-or-update.vue new file mode 100644 index 00000000..e66334f4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/paymentinfo-add-or-update.vue @@ -0,0 +1,165 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/paymentinfo.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/paymentinfo.vue new file mode 100644 index 00000000..8ddbc5b3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/paymentinfo.vue @@ -0,0 +1,217 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/refundinfo-add-or-update.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/refundinfo-add-or-update.vue new file mode 100644 index 00000000..c76a044c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/refundinfo-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/refundinfo.vue b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/refundinfo.vue new file mode 100644 index 00000000..87b422e6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-order/src/main/resources/src/views/modules/order/refundinfo.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/MallProductApp.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/MallProductApp.java new file mode 100644 index 00000000..0971d25f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/MallProductApp.java @@ -0,0 +1,22 @@ +package com.xjs.mall.product; + +import com.ruoyi.common.security.annotation.EnableCustomConfig; +import com.ruoyi.common.security.annotation.EnableRyFeignClients; +import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 商城Product启动器 + * @author xiejs + * @since 2022-03-15 + */ +@SpringBootApplication +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients +public class MallProductApp { + public static void main(String[] args) { + SpringApplication.run(MallProductApp.class, args); + } +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrAttrgroupRelationController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrAttrgroupRelationController.java new file mode 100644 index 00000000..0cf31659 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrAttrgroupRelationController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.AttrAttrgroupRelationEntity; +import com.xjs.mall.product.service.AttrAttrgroupRelationService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 属性&属性分组关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/attrattrgrouprelation") +public class AttrAttrgroupRelationController { + @Autowired + private AttrAttrgroupRelationService attrAttrgroupRelationService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = attrAttrgroupRelationService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + AttrAttrgroupRelationEntity attrAttrgroupRelation = attrAttrgroupRelationService.getById(id); + + return R.ok().put("attrAttrgroupRelation", attrAttrgroupRelation); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody AttrAttrgroupRelationEntity attrAttrgroupRelation){ + attrAttrgroupRelationService.save(attrAttrgroupRelation); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody AttrAttrgroupRelationEntity attrAttrgroupRelation){ + attrAttrgroupRelationService.updateById(attrAttrgroupRelation); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + attrAttrgroupRelationService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrController.java new file mode 100644 index 00000000..a6406cc0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.AttrEntity; +import com.xjs.mall.product.service.AttrService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品属性 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/attr") +public class AttrController { + @Autowired + private AttrService attrService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = attrService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{attrId}") + public R info(@PathVariable("attrId") Long attrId){ + AttrEntity attr = attrService.getById(attrId); + + return R.ok().put("attr", attr); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody AttrEntity attr){ + attrService.save(attr); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody AttrEntity attr){ + attrService.updateById(attr); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] attrIds){ + attrService.removeByIds(Arrays.asList(attrIds)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrGroupController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrGroupController.java new file mode 100644 index 00000000..79745d39 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/AttrGroupController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.AttrGroupEntity; +import com.xjs.mall.product.service.AttrGroupService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 属性分组 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/attrgroup") +public class AttrGroupController { + @Autowired + private AttrGroupService attrGroupService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = attrGroupService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{attrGroupId}") + public R info(@PathVariable("attrGroupId") Long attrGroupId){ + AttrGroupEntity attrGroup = attrGroupService.getById(attrGroupId); + + return R.ok().put("attrGroup", attrGroup); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody AttrGroupEntity attrGroup){ + attrGroupService.save(attrGroup); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody AttrGroupEntity attrGroup){ + attrGroupService.updateById(attrGroup); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] attrGroupIds){ + attrGroupService.removeByIds(Arrays.asList(attrGroupIds)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/BrandController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/BrandController.java new file mode 100644 index 00000000..c98aae06 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/BrandController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.BrandEntity; +import com.xjs.mall.product.service.BrandService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 品牌 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/brand") +public class BrandController { + @Autowired + private BrandService brandService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = brandService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{brandId}") + public R info(@PathVariable("brandId") Long brandId){ + BrandEntity brand = brandService.getById(brandId); + + return R.ok().put("brand", brand); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody BrandEntity brand){ + brandService.save(brand); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody BrandEntity brand){ + brandService.updateById(brand); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] brandIds){ + brandService.removeByIds(Arrays.asList(brandIds)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CategoryBrandRelationController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CategoryBrandRelationController.java new file mode 100644 index 00000000..c4cab244 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CategoryBrandRelationController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.CategoryBrandRelationEntity; +import com.xjs.mall.product.service.CategoryBrandRelationService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 品牌分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/categorybrandrelation") +public class CategoryBrandRelationController { + @Autowired + private CategoryBrandRelationService categoryBrandRelationService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = categoryBrandRelationService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + CategoryBrandRelationEntity categoryBrandRelation = categoryBrandRelationService.getById(id); + + return R.ok().put("categoryBrandRelation", categoryBrandRelation); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody CategoryBrandRelationEntity categoryBrandRelation){ + categoryBrandRelationService.save(categoryBrandRelation); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody CategoryBrandRelationEntity categoryBrandRelation){ + categoryBrandRelationService.updateById(categoryBrandRelation); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + categoryBrandRelationService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CategoryController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CategoryController.java new file mode 100644 index 00000000..983a63da --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CategoryController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.CategoryEntity; +import com.xjs.mall.product.service.CategoryService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品三级分类 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/category") +public class CategoryController { + @Autowired + private CategoryService categoryService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = categoryService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{catId}") + public R info(@PathVariable("catId") Long catId){ + CategoryEntity category = categoryService.getById(catId); + + return R.ok().put("category", category); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody CategoryEntity category){ + categoryService.save(category); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody CategoryEntity category){ + categoryService.updateById(category); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] catIds){ + categoryService.removeByIds(Arrays.asList(catIds)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CommentReplayController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CommentReplayController.java new file mode 100644 index 00000000..0655f958 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/CommentReplayController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.CommentReplayEntity; +import com.xjs.mall.product.service.CommentReplayService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品评价回复关系 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/commentreplay") +public class CommentReplayController { + @Autowired + private CommentReplayService commentReplayService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = commentReplayService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + CommentReplayEntity commentReplay = commentReplayService.getById(id); + + return R.ok().put("commentReplay", commentReplay); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody CommentReplayEntity commentReplay){ + commentReplayService.save(commentReplay); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody CommentReplayEntity commentReplay){ + commentReplayService.updateById(commentReplay); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + commentReplayService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/ProductAttrValueController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/ProductAttrValueController.java new file mode 100644 index 00000000..fdfae3d4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/ProductAttrValueController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.ProductAttrValueEntity; +import com.xjs.mall.product.service.ProductAttrValueService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * spu属性值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/productattrvalue") +public class ProductAttrValueController { + @Autowired + private ProductAttrValueService productAttrValueService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = productAttrValueService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + ProductAttrValueEntity productAttrValue = productAttrValueService.getById(id); + + return R.ok().put("productAttrValue", productAttrValue); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody ProductAttrValueEntity productAttrValue){ + productAttrValueService.save(productAttrValue); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody ProductAttrValueEntity productAttrValue){ + productAttrValueService.updateById(productAttrValue); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + productAttrValueService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuImagesController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuImagesController.java new file mode 100644 index 00000000..aad42a61 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuImagesController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.SkuImagesEntity; +import com.xjs.mall.product.service.SkuImagesService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * sku图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/skuimages") +public class SkuImagesController { + @Autowired + private SkuImagesService skuImagesService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = skuImagesService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SkuImagesEntity skuImages = skuImagesService.getById(id); + + return R.ok().put("skuImages", skuImages); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SkuImagesEntity skuImages){ + skuImagesService.save(skuImages); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SkuImagesEntity skuImages){ + skuImagesService.updateById(skuImages); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + skuImagesService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuInfoController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuInfoController.java new file mode 100644 index 00000000..068edc6a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuInfoController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.SkuInfoEntity; +import com.xjs.mall.product.service.SkuInfoService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * sku信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/skuinfo") +public class SkuInfoController { + @Autowired + private SkuInfoService skuInfoService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = skuInfoService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{skuId}") + public R info(@PathVariable("skuId") Long skuId){ + SkuInfoEntity skuInfo = skuInfoService.getById(skuId); + + return R.ok().put("skuInfo", skuInfo); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SkuInfoEntity skuInfo){ + skuInfoService.save(skuInfo); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SkuInfoEntity skuInfo){ + skuInfoService.updateById(skuInfo); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] skuIds){ + skuInfoService.removeByIds(Arrays.asList(skuIds)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuSaleAttrValueController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuSaleAttrValueController.java new file mode 100644 index 00000000..11e7aceb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SkuSaleAttrValueController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.SkuSaleAttrValueEntity; +import com.xjs.mall.product.service.SkuSaleAttrValueService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * sku销售属性&值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/skusaleattrvalue") +public class SkuSaleAttrValueController { + @Autowired + private SkuSaleAttrValueService skuSaleAttrValueService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = skuSaleAttrValueService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SkuSaleAttrValueEntity skuSaleAttrValue = skuSaleAttrValueService.getById(id); + + return R.ok().put("skuSaleAttrValue", skuSaleAttrValue); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SkuSaleAttrValueEntity skuSaleAttrValue){ + skuSaleAttrValueService.save(skuSaleAttrValue); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SkuSaleAttrValueEntity skuSaleAttrValue){ + skuSaleAttrValueService.updateById(skuSaleAttrValue); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + skuSaleAttrValueService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuCommentController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuCommentController.java new file mode 100644 index 00000000..f6dd799f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuCommentController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.SpuCommentEntity; +import com.xjs.mall.product.service.SpuCommentService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * 商品评价 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/spucomment") +public class SpuCommentController { + @Autowired + private SpuCommentService spuCommentService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = spuCommentService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SpuCommentEntity spuComment = spuCommentService.getById(id); + + return R.ok().put("spuComment", spuComment); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SpuCommentEntity spuComment){ + spuCommentService.save(spuComment); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SpuCommentEntity spuComment){ + spuCommentService.updateById(spuComment); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + spuCommentService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuImagesController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuImagesController.java new file mode 100644 index 00000000..e72f04b5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuImagesController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.SpuImagesEntity; +import com.xjs.mall.product.service.SpuImagesService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * spu图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/spuimages") +public class SpuImagesController { + @Autowired + private SpuImagesService spuImagesService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = spuImagesService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SpuImagesEntity spuImages = spuImagesService.getById(id); + + return R.ok().put("spuImages", spuImages); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SpuImagesEntity spuImages){ + spuImagesService.save(spuImages); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SpuImagesEntity spuImages){ + spuImagesService.updateById(spuImages); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + spuImagesService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuInfoController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuInfoController.java new file mode 100644 index 00000000..9dde4b33 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuInfoController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.SpuInfoEntity; +import com.xjs.mall.product.service.SpuInfoService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * spu信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/spuinfo") +public class SpuInfoController { + @Autowired + private SpuInfoService spuInfoService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = spuInfoService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + SpuInfoEntity spuInfo = spuInfoService.getById(id); + + return R.ok().put("spuInfo", spuInfo); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SpuInfoEntity spuInfo){ + spuInfoService.save(spuInfo); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SpuInfoEntity spuInfo){ + spuInfoService.updateById(spuInfo); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + spuInfoService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuInfoDescController.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuInfoDescController.java new file mode 100644 index 00000000..861db9d3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/controller/SpuInfoDescController.java @@ -0,0 +1,84 @@ +package com.xjs.mall.product.controller; + +import java.util.Arrays; +import java.util.Map; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import com.xjs.mall.product.entity.SpuInfoDescEntity; +import com.xjs.mall.product.service.SpuInfoDescService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; + + + +/** + * spu信息介绍 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@RestController +@RequestMapping("product/spuinfodesc") +public class SpuInfoDescController { + @Autowired + private SpuInfoDescService spuInfoDescService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = spuInfoDescService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{spuId}") + public R info(@PathVariable("spuId") Long spuId){ + SpuInfoDescEntity spuInfoDesc = spuInfoDescService.getById(spuId); + + return R.ok().put("spuInfoDesc", spuInfoDesc); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody SpuInfoDescEntity spuInfoDesc){ + spuInfoDescService.save(spuInfoDesc); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody SpuInfoDescEntity spuInfoDesc){ + spuInfoDescService.updateById(spuInfoDesc); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] spuIds){ + spuInfoDescService.removeByIds(Arrays.asList(spuIds)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrAttrgroupRelationDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrAttrgroupRelationDao.java new file mode 100644 index 00000000..df1d1533 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrAttrgroupRelationDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.AttrAttrgroupRelationEntity; + +/** + * 属性&属性分组关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface AttrAttrgroupRelationDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrDao.java new file mode 100644 index 00000000..44b175e0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.AttrEntity; + +/** + * 商品属性 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface AttrDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrGroupDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrGroupDao.java new file mode 100644 index 00000000..729e3dc5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/AttrGroupDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.AttrGroupEntity; + +/** + * 属性分组 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface AttrGroupDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/BrandDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/BrandDao.java new file mode 100644 index 00000000..af1c80a3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/BrandDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.BrandEntity; + +/** + * 品牌 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface BrandDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CategoryBrandRelationDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CategoryBrandRelationDao.java new file mode 100644 index 00000000..e53fa8a5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CategoryBrandRelationDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.CategoryBrandRelationEntity; + +/** + * 品牌分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface CategoryBrandRelationDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CategoryDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CategoryDao.java new file mode 100644 index 00000000..9123bd6a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CategoryDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.CategoryEntity; + +/** + * 商品三级分类 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface CategoryDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CommentReplayDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CommentReplayDao.java new file mode 100644 index 00000000..c82da6f7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/CommentReplayDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.CommentReplayEntity; + +/** + * 商品评价回复关系 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface CommentReplayDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/ProductAttrValueDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/ProductAttrValueDao.java new file mode 100644 index 00000000..761495e6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/ProductAttrValueDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.ProductAttrValueEntity; + +/** + * spu属性值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface ProductAttrValueDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuImagesDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuImagesDao.java new file mode 100644 index 00000000..7ce5a82b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuImagesDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.SkuImagesEntity; + +/** + * sku图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SkuImagesDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuInfoDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuInfoDao.java new file mode 100644 index 00000000..53b8ae04 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuInfoDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.SkuInfoEntity; + +/** + * sku信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SkuInfoDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuSaleAttrValueDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuSaleAttrValueDao.java new file mode 100644 index 00000000..677584d8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SkuSaleAttrValueDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.SkuSaleAttrValueEntity; + +/** + * sku销售属性&值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SkuSaleAttrValueDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuCommentDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuCommentDao.java new file mode 100644 index 00000000..c2562cef --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuCommentDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.SpuCommentEntity; + +/** + * 商品评价 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuCommentDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuImagesDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuImagesDao.java new file mode 100644 index 00000000..2bb0443f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuImagesDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.SpuImagesEntity; + +/** + * spu图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuImagesDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuInfoDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuInfoDao.java new file mode 100644 index 00000000..05b1feb7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuInfoDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.SpuInfoEntity; + +/** + * spu信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuInfoDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuInfoDescDao.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuInfoDescDao.java new file mode 100644 index 00000000..5b1d8dab --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/dao/SpuInfoDescDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.product.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.product.entity.SpuInfoDescEntity; + +/** + * spu信息介绍 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuInfoDescDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrAttrgroupRelationEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrAttrgroupRelationEntity.java new file mode 100644 index 00000000..d9b1f726 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrAttrgroupRelationEntity.java @@ -0,0 +1,40 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 属性&属性分组关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_attr_attrgroup_relation") +public class AttrAttrgroupRelationEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 属性id + */ + private Long attrId; + /** + * 属性分组id + */ + private Long attrGroupId; + /** + * 属性组内排序 + */ + private Integer attrSort; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrEntity.java new file mode 100644 index 00000000..5716adf6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrEntity.java @@ -0,0 +1,60 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品属性 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_attr") +public class AttrEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 属性id + */ + @TableId + private Long attrId; + /** + * 属性名 + */ + private String attrName; + /** + * 是否需要检索[0-不需要,1-需要] + */ + private Integer searchType; + /** + * 属性图标 + */ + private String icon; + /** + * 可选值列表[用逗号分隔] + */ + private String valueSelect; + /** + * 属性类型[0-销售属性,1-基本属性,2-既是销售属性又是基本属性] + */ + private Integer attrType; + /** + * 启用状态[0 - 禁用,1 - 启用] + */ + private Long enable; + /** + * 所属分类 + */ + private Long catelogId; + /** + * 快速展示【是否展示在介绍上;0-否 1-是】,在sku中仍然可以调整 + */ + private Integer showDesc; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrGroupEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrGroupEntity.java new file mode 100644 index 00000000..04fc1cbc --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/AttrGroupEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 属性分组 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_attr_group") +public class AttrGroupEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 分组id + */ + @TableId + private Long attrGroupId; + /** + * 组名 + */ + private String attrGroupName; + /** + * 排序 + */ + private Integer sort; + /** + * 描述 + */ + private String descript; + /** + * 组图标 + */ + private String icon; + /** + * 所属分类id + */ + private Long catelogId; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/BrandEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/BrandEntity.java new file mode 100644 index 00000000..55112ba1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/BrandEntity.java @@ -0,0 +1,52 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 品牌 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_brand") +public class BrandEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 品牌id + */ + @TableId + private Long brandId; + /** + * 品牌名 + */ + private String name; + /** + * 品牌logo地址 + */ + private String logo; + /** + * 介绍 + */ + private String descript; + /** + * 显示状态[0-不显示;1-显示] + */ + private Integer showStatus; + /** + * 检索首字母 + */ + private String firstLetter; + /** + * 排序 + */ + private Integer sort; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CategoryBrandRelationEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CategoryBrandRelationEntity.java new file mode 100644 index 00000000..5fbae0c6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CategoryBrandRelationEntity.java @@ -0,0 +1,44 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 品牌分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_category_brand_relation") +public class CategoryBrandRelationEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * + */ + @TableId + private Long id; + /** + * 品牌id + */ + private Long brandId; + /** + * 分类id + */ + private Long catelogId; + /** + * + */ + private String brandName; + /** + * + */ + private String catelogName; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CategoryEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CategoryEntity.java new file mode 100644 index 00000000..ff60b310 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CategoryEntity.java @@ -0,0 +1,60 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品三级分类 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_category") +public class CategoryEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 分类id + */ + @TableId + private Long catId; + /** + * 分类名称 + */ + private String name; + /** + * 父分类id + */ + private Long parentCid; + /** + * 层级 + */ + private Integer catLevel; + /** + * 是否显示[0-不显示,1显示] + */ + private Integer showStatus; + /** + * 排序 + */ + private Integer sort; + /** + * 图标地址 + */ + private String icon; + /** + * 计量单位 + */ + private String productUnit; + /** + * 商品数量 + */ + private Integer productCount; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CommentReplayEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CommentReplayEntity.java new file mode 100644 index 00000000..ecbf11de --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/CommentReplayEntity.java @@ -0,0 +1,36 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品评价回复关系 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_comment_replay") +public class CommentReplayEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 评论id + */ + private Long commentId; + /** + * 回复id + */ + private Long replyId; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/ProductAttrValueEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/ProductAttrValueEntity.java new file mode 100644 index 00000000..e867f9fe --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/ProductAttrValueEntity.java @@ -0,0 +1,52 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * spu属性值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_product_attr_value") +public class ProductAttrValueEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 商品id + */ + private Long spuId; + /** + * 属性id + */ + private Long attrId; + /** + * 属性名 + */ + private String attrName; + /** + * 属性值 + */ + private String attrValue; + /** + * 顺序 + */ + private Integer attrSort; + /** + * 快速展示【是否展示在介绍上;0-否 1-是】 + */ + private Integer quickShow; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuImagesEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuImagesEntity.java new file mode 100644 index 00000000..ccd3911b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuImagesEntity.java @@ -0,0 +1,44 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * sku图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_sku_images") +public class SkuImagesEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * sku_id + */ + private Long skuId; + /** + * 图片地址 + */ + private String imgUrl; + /** + * 排序 + */ + private Integer imgSort; + /** + * 默认图[0 - 不是默认图,1 - 是默认图] + */ + private Integer defaultImg; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuInfoEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuInfoEntity.java new file mode 100644 index 00000000..30048f92 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuInfoEntity.java @@ -0,0 +1,69 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * sku信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_sku_info") +public class SkuInfoEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * skuId + */ + @TableId + private Long skuId; + /** + * spuId + */ + private Long spuId; + /** + * sku名称 + */ + private String skuName; + /** + * sku介绍描述 + */ + private String skuDesc; + /** + * 所属分类id + */ + private Long catalogId; + /** + * 品牌id + */ + private Long brandId; + /** + * 默认图片 + */ + private String skuDefaultImg; + /** + * 标题 + */ + private String skuTitle; + /** + * 副标题 + */ + private String skuSubtitle; + /** + * 价格 + */ + private BigDecimal price; + /** + * 销量 + */ + private Long saleCount; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuSaleAttrValueEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuSaleAttrValueEntity.java new file mode 100644 index 00000000..098a962b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SkuSaleAttrValueEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * sku销售属性&值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_sku_sale_attr_value") +public class SkuSaleAttrValueEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * sku_id + */ + private Long skuId; + /** + * attr_id + */ + private Long attrId; + /** + * 销售属性名 + */ + private String attrName; + /** + * 销售属性值 + */ + private String attrValue; + /** + * 顺序 + */ + private Integer attrSort; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuCommentEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuCommentEntity.java new file mode 100644 index 00000000..6d42bbc6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuCommentEntity.java @@ -0,0 +1,88 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品评价 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_spu_comment") +public class SpuCommentEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * sku_id + */ + private Long skuId; + /** + * spu_id + */ + private Long spuId; + /** + * 商品名字 + */ + private String spuName; + /** + * 会员昵称 + */ + private String memberNickName; + /** + * 星级 + */ + private Integer star; + /** + * 会员ip + */ + private String memberIp; + /** + * 创建时间 + */ + private Date createTime; + /** + * 显示状态[0-不显示,1-显示] + */ + private Integer showStatus; + /** + * 购买时属性组合 + */ + private String spuAttributes; + /** + * 点赞数 + */ + private Integer likesCount; + /** + * 回复数 + */ + private Integer replyCount; + /** + * 评论图片/视频[json数据;[{type:文件类型,url:资源路径}]] + */ + private String resources; + /** + * 内容 + */ + private String content; + /** + * 用户头像 + */ + private String memberIcon; + /** + * 评论类型[0 - 对商品的直接评论,1 - 对评论的回复] + */ + private Integer commentType; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuImagesEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuImagesEntity.java new file mode 100644 index 00000000..7ca3dd23 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuImagesEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * spu图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_spu_images") +public class SpuImagesEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * spu_id + */ + private Long spuId; + /** + * 图片名 + */ + private String imgName; + /** + * 图片地址 + */ + private String imgUrl; + /** + * 顺序 + */ + private Integer imgSort; + /** + * 是否默认图 + */ + private Integer defaultImg; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuInfoDescEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuInfoDescEntity.java new file mode 100644 index 00000000..0b14fe24 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuInfoDescEntity.java @@ -0,0 +1,32 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * spu信息介绍 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_spu_info_desc") +public class SpuInfoDescEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 商品id + */ + @TableId + private Long spuId; + /** + * 商品介绍 + */ + private String decript; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuInfoEntity.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuInfoEntity.java new file mode 100644 index 00000000..e2f01c8b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/entity/SpuInfoEntity.java @@ -0,0 +1,61 @@ +package com.xjs.mall.product.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * spu信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +@Data +@TableName("pms_spu_info") +public class SpuInfoEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * 商品id + */ + @TableId + private Long id; + /** + * 商品名称 + */ + private String spuName; + /** + * 商品描述 + */ + private String spuDescription; + /** + * 所属分类id + */ + private Long catalogId; + /** + * 品牌id + */ + private Long brandId; + /** + * + */ + private BigDecimal weight; + /** + * 上架状态[0 - 下架,1 - 上架] + */ + private Integer publishStatus; + /** + * + */ + private Date createTime; + /** + * + */ + private Date updateTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrAttrgroupRelationService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrAttrgroupRelationService.java new file mode 100644 index 00000000..3ff6991f --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrAttrgroupRelationService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.AttrAttrgroupRelationEntity; + +import java.util.Map; + +/** + * 属性&属性分组关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface AttrAttrgroupRelationService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrGroupService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrGroupService.java new file mode 100644 index 00000000..4f23d861 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrGroupService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.AttrGroupEntity; + +import java.util.Map; + +/** + * 属性分组 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface AttrGroupService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrService.java new file mode 100644 index 00000000..1bc54dbb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/AttrService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.AttrEntity; + +import java.util.Map; + +/** + * 商品属性 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface AttrService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/BrandService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/BrandService.java new file mode 100644 index 00000000..d3628f82 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/BrandService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.BrandEntity; + +import java.util.Map; + +/** + * 品牌 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface BrandService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CategoryBrandRelationService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CategoryBrandRelationService.java new file mode 100644 index 00000000..842b70ff --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CategoryBrandRelationService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.CategoryBrandRelationEntity; + +import java.util.Map; + +/** + * 品牌分类关联 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface CategoryBrandRelationService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CategoryService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CategoryService.java new file mode 100644 index 00000000..df1eb947 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CategoryService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.CategoryEntity; + +import java.util.Map; + +/** + * 商品三级分类 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface CategoryService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CommentReplayService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CommentReplayService.java new file mode 100644 index 00000000..b9c0cda8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/CommentReplayService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.CommentReplayEntity; + +import java.util.Map; + +/** + * 商品评价回复关系 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface CommentReplayService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/ProductAttrValueService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/ProductAttrValueService.java new file mode 100644 index 00000000..e650e305 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/ProductAttrValueService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.ProductAttrValueEntity; + +import java.util.Map; + +/** + * spu属性值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface ProductAttrValueService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuImagesService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuImagesService.java new file mode 100644 index 00000000..a585ecec --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuImagesService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.SkuImagesEntity; + +import java.util.Map; + +/** + * sku图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SkuImagesService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuInfoService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuInfoService.java new file mode 100644 index 00000000..afb86f9a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuInfoService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.SkuInfoEntity; + +import java.util.Map; + +/** + * sku信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SkuInfoService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuSaleAttrValueService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuSaleAttrValueService.java new file mode 100644 index 00000000..731119b6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SkuSaleAttrValueService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.SkuSaleAttrValueEntity; + +import java.util.Map; + +/** + * sku销售属性&值 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SkuSaleAttrValueService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuCommentService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuCommentService.java new file mode 100644 index 00000000..d579549b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuCommentService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.SpuCommentEntity; + +import java.util.Map; + +/** + * 商品评价 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuCommentService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuImagesService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuImagesService.java new file mode 100644 index 00000000..f3078d7a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuImagesService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.SpuImagesEntity; + +import java.util.Map; + +/** + * spu图片 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuImagesService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuInfoDescService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuInfoDescService.java new file mode 100644 index 00000000..f8d10f61 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuInfoDescService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.SpuInfoDescEntity; + +import java.util.Map; + +/** + * spu信息介绍 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuInfoDescService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuInfoService.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuInfoService.java new file mode 100644 index 00000000..cca757ca --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/SpuInfoService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.product.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.utils.PageUtils; +import com.xjs.mall.product.entity.SpuInfoEntity; + +import java.util.Map; + +/** + * spu信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 10:16:53 + */ +public interface SpuInfoService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrAttrgroupRelationServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrAttrgroupRelationServiceImpl.java new file mode 100644 index 00000000..1fec8f0c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrAttrgroupRelationServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.AttrAttrgroupRelationDao; +import com.xjs.mall.product.entity.AttrAttrgroupRelationEntity; +import com.xjs.mall.product.service.AttrAttrgroupRelationService; + + +@Service("attrAttrgroupRelationService") +public class AttrAttrgroupRelationServiceImpl extends ServiceImpl implements AttrAttrgroupRelationService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrGroupServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrGroupServiceImpl.java new file mode 100644 index 00000000..4e1cfbee --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrGroupServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.AttrGroupDao; +import com.xjs.mall.product.entity.AttrGroupEntity; +import com.xjs.mall.product.service.AttrGroupService; + + +@Service("attrGroupService") +public class AttrGroupServiceImpl extends ServiceImpl implements AttrGroupService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrServiceImpl.java new file mode 100644 index 00000000..148c782c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/AttrServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.AttrDao; +import com.xjs.mall.product.entity.AttrEntity; +import com.xjs.mall.product.service.AttrService; + + +@Service("attrService") +public class AttrServiceImpl extends ServiceImpl implements AttrService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/BrandServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/BrandServiceImpl.java new file mode 100644 index 00000000..f570f058 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/BrandServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.BrandDao; +import com.xjs.mall.product.entity.BrandEntity; +import com.xjs.mall.product.service.BrandService; + + +@Service("brandService") +public class BrandServiceImpl extends ServiceImpl implements BrandService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CategoryBrandRelationServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CategoryBrandRelationServiceImpl.java new file mode 100644 index 00000000..3bc63c77 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CategoryBrandRelationServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.CategoryBrandRelationDao; +import com.xjs.mall.product.entity.CategoryBrandRelationEntity; +import com.xjs.mall.product.service.CategoryBrandRelationService; + + +@Service("categoryBrandRelationService") +public class CategoryBrandRelationServiceImpl extends ServiceImpl implements CategoryBrandRelationService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CategoryServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CategoryServiceImpl.java new file mode 100644 index 00000000..bde50dbc --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CategoryServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.CategoryDao; +import com.xjs.mall.product.entity.CategoryEntity; +import com.xjs.mall.product.service.CategoryService; + + +@Service("categoryService") +public class CategoryServiceImpl extends ServiceImpl implements CategoryService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CommentReplayServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CommentReplayServiceImpl.java new file mode 100644 index 00000000..3b9ceb88 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/CommentReplayServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.CommentReplayDao; +import com.xjs.mall.product.entity.CommentReplayEntity; +import com.xjs.mall.product.service.CommentReplayService; + + +@Service("commentReplayService") +public class CommentReplayServiceImpl extends ServiceImpl implements CommentReplayService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/ProductAttrValueServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/ProductAttrValueServiceImpl.java new file mode 100644 index 00000000..5a7c6968 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/ProductAttrValueServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.ProductAttrValueDao; +import com.xjs.mall.product.entity.ProductAttrValueEntity; +import com.xjs.mall.product.service.ProductAttrValueService; + + +@Service("productAttrValueService") +public class ProductAttrValueServiceImpl extends ServiceImpl implements ProductAttrValueService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuImagesServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuImagesServiceImpl.java new file mode 100644 index 00000000..06ca28b8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuImagesServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.SkuImagesDao; +import com.xjs.mall.product.entity.SkuImagesEntity; +import com.xjs.mall.product.service.SkuImagesService; + + +@Service("skuImagesService") +public class SkuImagesServiceImpl extends ServiceImpl implements SkuImagesService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuInfoServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuInfoServiceImpl.java new file mode 100644 index 00000000..f16f6bb6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuInfoServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.SkuInfoDao; +import com.xjs.mall.product.entity.SkuInfoEntity; +import com.xjs.mall.product.service.SkuInfoService; + + +@Service("skuInfoService") +public class SkuInfoServiceImpl extends ServiceImpl implements SkuInfoService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuSaleAttrValueServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuSaleAttrValueServiceImpl.java new file mode 100644 index 00000000..b44a0abb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SkuSaleAttrValueServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.SkuSaleAttrValueDao; +import com.xjs.mall.product.entity.SkuSaleAttrValueEntity; +import com.xjs.mall.product.service.SkuSaleAttrValueService; + + +@Service("skuSaleAttrValueService") +public class SkuSaleAttrValueServiceImpl extends ServiceImpl implements SkuSaleAttrValueService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuCommentServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuCommentServiceImpl.java new file mode 100644 index 00000000..645cf86e --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuCommentServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.SpuCommentDao; +import com.xjs.mall.product.entity.SpuCommentEntity; +import com.xjs.mall.product.service.SpuCommentService; + + +@Service("spuCommentService") +public class SpuCommentServiceImpl extends ServiceImpl implements SpuCommentService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuImagesServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuImagesServiceImpl.java new file mode 100644 index 00000000..e99eee8e --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuImagesServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.SpuImagesDao; +import com.xjs.mall.product.entity.SpuImagesEntity; +import com.xjs.mall.product.service.SpuImagesService; + + +@Service("spuImagesService") +public class SpuImagesServiceImpl extends ServiceImpl implements SpuImagesService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuInfoDescServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuInfoDescServiceImpl.java new file mode 100644 index 00000000..a154049b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuInfoDescServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.SpuInfoDescDao; +import com.xjs.mall.product.entity.SpuInfoDescEntity; +import com.xjs.mall.product.service.SpuInfoDescService; + + +@Service("spuInfoDescService") +public class SpuInfoDescServiceImpl extends ServiceImpl implements SpuInfoDescService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuInfoServiceImpl.java b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuInfoServiceImpl.java new file mode 100644 index 00000000..1763a47c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/java/com/xjs/mall/product/service/impl/SpuInfoServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.product.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; + +import com.xjs.mall.product.dao.SpuInfoDao; +import com.xjs.mall.product.entity.SpuInfoEntity; +import com.xjs.mall.product.service.SpuInfoService; + + +@Service("spuInfoService") +public class SpuInfoServiceImpl extends ServiceImpl implements SpuInfoService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/bootstrap.yml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..745b4e65 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/bootstrap.yml @@ -0,0 +1,29 @@ +# Tomcat +server: + port: 9981 + +# Spring +spring: + application: + # 应用名称 + name: xjs-mall-product + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + #配置组 + group: xjs + #命名空间 + namespace: xjs-666 diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/logback.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/logback.xml new file mode 100644 index 00000000..c9c404ca --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/logback.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrAttrgroupRelationDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrAttrgroupRelationDao.xml new file mode 100644 index 00000000..46962d00 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrAttrgroupRelationDao.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrDao.xml new file mode 100644 index 00000000..d4521c24 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrDao.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrGroupDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrGroupDao.xml new file mode 100644 index 00000000..87cc36d3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/AttrGroupDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/BrandDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/BrandDao.xml new file mode 100644 index 00000000..3c167fca --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/BrandDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CategoryBrandRelationDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CategoryBrandRelationDao.xml new file mode 100644 index 00000000..2ede1131 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CategoryBrandRelationDao.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CategoryDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CategoryDao.xml new file mode 100644 index 00000000..59ba6da8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CategoryDao.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CommentReplayDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CommentReplayDao.xml new file mode 100644 index 00000000..95239c3a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/CommentReplayDao.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/ProductAttrValueDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/ProductAttrValueDao.xml new file mode 100644 index 00000000..8a483779 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/ProductAttrValueDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuImagesDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuImagesDao.xml new file mode 100644 index 00000000..b633cf53 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuImagesDao.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuInfoDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuInfoDao.xml new file mode 100644 index 00000000..db74d01e --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuInfoDao.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuSaleAttrValueDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuSaleAttrValueDao.xml new file mode 100644 index 00000000..a3665add --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SkuSaleAttrValueDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuCommentDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuCommentDao.xml new file mode 100644 index 00000000..0c8f3a2a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuCommentDao.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuImagesDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuImagesDao.xml new file mode 100644 index 00000000..fe9b0e79 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuImagesDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuInfoDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuInfoDao.xml new file mode 100644 index 00000000..2cf2a06c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuInfoDao.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuInfoDescDao.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuInfoDescDao.xml new file mode 100644 index 00000000..803d76de --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/mapper/product/SpuInfoDescDao.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/rebel.xml b/xjs-business/xjs-project-mall/mall-product/src/main/resources/rebel.xml new file mode 100644 index 00000000..90ad6964 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/rebel.xml @@ -0,0 +1,16 @@ + + + + + + mall-product + + + + + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attr-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attr-add-or-update.vue new file mode 100644 index 00000000..c72bde4d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attr-add-or-update.vue @@ -0,0 +1,147 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attr.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attr.vue new file mode 100644 index 00000000..02985cdd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attr.vue @@ -0,0 +1,205 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrattrgrouprelation-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrattrgrouprelation-add-or-update.vue new file mode 100644 index 00000000..86c84a9c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrattrgrouprelation-add-or-update.vue @@ -0,0 +1,102 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrattrgrouprelation.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrattrgrouprelation.vue new file mode 100644 index 00000000..0abfcb92 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrattrgrouprelation.vue @@ -0,0 +1,175 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrgroup-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrgroup-add-or-update.vue new file mode 100644 index 00000000..4b970ea1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrgroup-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrgroup.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrgroup.vue new file mode 100644 index 00000000..ad7efd0c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/attrgroup.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/brand-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/brand-add-or-update.vue new file mode 100644 index 00000000..79c5d689 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/brand-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/brand.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/brand.vue new file mode 100644 index 00000000..92d617a9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/brand.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/category-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/category-add-or-update.vue new file mode 100644 index 00000000..242ce984 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/category-add-or-update.vue @@ -0,0 +1,147 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/category.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/category.vue new file mode 100644 index 00000000..b5e06b1c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/category.vue @@ -0,0 +1,205 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/categorybrandrelation-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/categorybrandrelation-add-or-update.vue new file mode 100644 index 00000000..e73668cb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/categorybrandrelation-add-or-update.vue @@ -0,0 +1,111 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/categorybrandrelation.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/categorybrandrelation.vue new file mode 100644 index 00000000..66e9f8d4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/categorybrandrelation.vue @@ -0,0 +1,181 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/commentreplay-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/commentreplay-add-or-update.vue new file mode 100644 index 00000000..14545c82 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/commentreplay-add-or-update.vue @@ -0,0 +1,93 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/commentreplay.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/commentreplay.vue new file mode 100644 index 00000000..857bbf35 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/commentreplay.vue @@ -0,0 +1,169 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/productattrvalue-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/productattrvalue-add-or-update.vue new file mode 100644 index 00000000..188d51ba --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/productattrvalue-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/productattrvalue.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/productattrvalue.vue new file mode 100644 index 00000000..e6e06306 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/productattrvalue.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuimages-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuimages-add-or-update.vue new file mode 100644 index 00000000..e9b8d4f1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuimages-add-or-update.vue @@ -0,0 +1,111 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuimages.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuimages.vue new file mode 100644 index 00000000..7a13ec70 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuimages.vue @@ -0,0 +1,181 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuinfo-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuinfo-add-or-update.vue new file mode 100644 index 00000000..a58839e7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuinfo-add-or-update.vue @@ -0,0 +1,165 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuinfo.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuinfo.vue new file mode 100644 index 00000000..717e6c1a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skuinfo.vue @@ -0,0 +1,217 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skusaleattrvalue-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skusaleattrvalue-add-or-update.vue new file mode 100644 index 00000000..4c5176f2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skusaleattrvalue-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skusaleattrvalue.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skusaleattrvalue.vue new file mode 100644 index 00000000..bbd2f1cb --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/skusaleattrvalue.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spucomment-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spucomment-add-or-update.vue new file mode 100644 index 00000000..b1010746 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spucomment-add-or-update.vue @@ -0,0 +1,210 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spucomment.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spucomment.vue new file mode 100644 index 00000000..577a6e8b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spucomment.vue @@ -0,0 +1,247 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuimages-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuimages-add-or-update.vue new file mode 100644 index 00000000..f25e52ab --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuimages-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuimages.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuimages.vue new file mode 100644 index 00000000..1465f675 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuimages.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfo-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfo-add-or-update.vue new file mode 100644 index 00000000..7ddc8ae9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfo-add-or-update.vue @@ -0,0 +1,147 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfo.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfo.vue new file mode 100644 index 00000000..82bfa00c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfo.vue @@ -0,0 +1,205 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfodesc-add-or-update.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfodesc-add-or-update.vue new file mode 100644 index 00000000..a543727e --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfodesc-add-or-update.vue @@ -0,0 +1,84 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfodesc.vue b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfodesc.vue new file mode 100644 index 00000000..c33bb11c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-product/src/main/resources/src/views/modules/product/spuinfodesc.vue @@ -0,0 +1,163 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/MallWareApp.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/MallWareApp.java new file mode 100644 index 00000000..82510979 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/MallWareApp.java @@ -0,0 +1,22 @@ +package com.xjs.mall.ware; + +import com.ruoyi.common.security.annotation.EnableCustomConfig; +import com.ruoyi.common.security.annotation.EnableRyFeignClients; +import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 商城ware启动器 + * @author xiejs + * @since 2022-03-15 + */ +@SpringBootApplication +@EnableCustomConfig +@EnableCustomSwagger2 +@EnableRyFeignClients +public class MallWareApp { + public static void main(String[] args) { + SpringApplication.run(MallWareApp.class, args); + } +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/PurchaseController.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/PurchaseController.java new file mode 100644 index 00000000..3dbb409a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/PurchaseController.java @@ -0,0 +1,79 @@ +package com.xjs.mall.ware.controller; + +import com.xjs.mall.ware.entity.PurchaseEntity; +import com.xjs.mall.ware.service.PurchaseService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.Map; + + + +/** + * 采购信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@RestController +@RequestMapping("ware/purchase") +public class PurchaseController { + @Autowired + private PurchaseService purchaseService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = purchaseService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + PurchaseEntity purchase = purchaseService.getById(id); + + return R.ok().put("purchase", purchase); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody PurchaseEntity purchase){ + purchaseService.save(purchase); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody PurchaseEntity purchase){ + purchaseService.updateById(purchase); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + purchaseService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/PurchaseDetailController.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/PurchaseDetailController.java new file mode 100644 index 00000000..45eb3e1a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/PurchaseDetailController.java @@ -0,0 +1,79 @@ +package com.xjs.mall.ware.controller; + +import com.xjs.mall.ware.entity.PurchaseDetailEntity; +import com.xjs.mall.ware.service.PurchaseDetailService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.Map; + + + +/** + * + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@RestController +@RequestMapping("ware/purchasedetail") +public class PurchaseDetailController { + @Autowired + private PurchaseDetailService purchaseDetailService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = purchaseDetailService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + PurchaseDetailEntity purchaseDetail = purchaseDetailService.getById(id); + + return R.ok().put("purchaseDetail", purchaseDetail); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody PurchaseDetailEntity purchaseDetail){ + purchaseDetailService.save(purchaseDetail); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody PurchaseDetailEntity purchaseDetail){ + purchaseDetailService.updateById(purchaseDetail); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + purchaseDetailService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareInfoController.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareInfoController.java new file mode 100644 index 00000000..6354517c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareInfoController.java @@ -0,0 +1,79 @@ +package com.xjs.mall.ware.controller; + +import com.xjs.mall.ware.entity.WareInfoEntity; +import com.xjs.mall.ware.service.WareInfoService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.Map; + + + +/** + * 仓库信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@RestController +@RequestMapping("ware/wareinfo") +public class WareInfoController { + @Autowired + private WareInfoService wareInfoService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = wareInfoService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + WareInfoEntity wareInfo = wareInfoService.getById(id); + + return R.ok().put("wareInfo", wareInfo); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody WareInfoEntity wareInfo){ + wareInfoService.save(wareInfo); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody WareInfoEntity wareInfo){ + wareInfoService.updateById(wareInfo); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + wareInfoService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareOrderTaskController.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareOrderTaskController.java new file mode 100644 index 00000000..0cb38db8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareOrderTaskController.java @@ -0,0 +1,79 @@ +package com.xjs.mall.ware.controller; + +import com.xjs.mall.ware.entity.WareOrderTaskEntity; +import com.xjs.mall.ware.service.WareOrderTaskService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.Map; + + + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@RestController +@RequestMapping("ware/wareordertask") +public class WareOrderTaskController { + @Autowired + private WareOrderTaskService wareOrderTaskService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = wareOrderTaskService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + WareOrderTaskEntity wareOrderTask = wareOrderTaskService.getById(id); + + return R.ok().put("wareOrderTask", wareOrderTask); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody WareOrderTaskEntity wareOrderTask){ + wareOrderTaskService.save(wareOrderTask); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody WareOrderTaskEntity wareOrderTask){ + wareOrderTaskService.updateById(wareOrderTask); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + wareOrderTaskService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareOrderTaskDetailController.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareOrderTaskDetailController.java new file mode 100644 index 00000000..f866dde1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareOrderTaskDetailController.java @@ -0,0 +1,79 @@ +package com.xjs.mall.ware.controller; + +import com.xjs.mall.ware.entity.WareOrderTaskDetailEntity; +import com.xjs.mall.ware.service.WareOrderTaskDetailService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.Map; + + + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@RestController +@RequestMapping("ware/wareordertaskdetail") +public class WareOrderTaskDetailController { + @Autowired + private WareOrderTaskDetailService wareOrderTaskDetailService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = wareOrderTaskDetailService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + WareOrderTaskDetailEntity wareOrderTaskDetail = wareOrderTaskDetailService.getById(id); + + return R.ok().put("wareOrderTaskDetail", wareOrderTaskDetail); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody WareOrderTaskDetailEntity wareOrderTaskDetail){ + wareOrderTaskDetailService.save(wareOrderTaskDetail); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody WareOrderTaskDetailEntity wareOrderTaskDetail){ + wareOrderTaskDetailService.updateById(wareOrderTaskDetail); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + wareOrderTaskDetailService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareSkuController.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareSkuController.java new file mode 100644 index 00000000..b7ccf798 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/controller/WareSkuController.java @@ -0,0 +1,79 @@ +package com.xjs.mall.ware.controller; + +import com.xjs.mall.ware.entity.WareSkuEntity; +import com.xjs.mall.ware.service.WareSkuService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.R; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; + +import java.util.Arrays; +import java.util.Map; + + + +/** + * 商品库存 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@RestController +@RequestMapping("ware/waresku") +public class WareSkuController { + @Autowired + private WareSkuService wareSkuService; + + /** + * 列表 + */ + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils page = wareSkuService.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{id}") + public R info(@PathVariable("id") Long id){ + WareSkuEntity wareSku = wareSkuService.getById(id); + + return R.ok().put("wareSku", wareSku); + } + + /** + * 保存 + */ + @RequestMapping("/save") + public R save(@RequestBody WareSkuEntity wareSku){ + wareSkuService.save(wareSku); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") + public R update(@RequestBody WareSkuEntity wareSku){ + wareSkuService.updateById(wareSku); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") + public R delete(@RequestBody Long[] ids){ + wareSkuService.removeByIds(Arrays.asList(ids)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/PurchaseDao.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/PurchaseDao.java new file mode 100644 index 00000000..622e0665 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/PurchaseDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.ware.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.ware.entity.PurchaseEntity; + +/** + * 采购信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @since 2022-03-15 09:56:19 + */ +public interface PurchaseDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/PurchaseDetailDao.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/PurchaseDetailDao.java new file mode 100644 index 00000000..e22d34c9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/PurchaseDetailDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.ware.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.ware.entity.PurchaseDetailEntity; + +/** + * + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface PurchaseDetailDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareInfoDao.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareInfoDao.java new file mode 100644 index 00000000..f7aceeb8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareInfoDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.ware.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.ware.entity.WareInfoEntity; + +/** + * 仓库信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareInfoDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareOrderTaskDao.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareOrderTaskDao.java new file mode 100644 index 00000000..e6ea39bd --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareOrderTaskDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.ware.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.ware.entity.WareOrderTaskEntity; + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareOrderTaskDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareOrderTaskDetailDao.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareOrderTaskDetailDao.java new file mode 100644 index 00000000..be813eae --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareOrderTaskDetailDao.java @@ -0,0 +1,15 @@ +package com.xjs.mall.ware.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.xjs.mall.ware.entity.WareOrderTaskDetailEntity; + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareOrderTaskDetailDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareSkuDao.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareSkuDao.java new file mode 100644 index 00000000..3f3daa0c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/dao/WareSkuDao.java @@ -0,0 +1,16 @@ +package com.xjs.mall.ware.dao; + +import com.xjs.mall.ware.entity.WareSkuEntity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * 商品库存 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareSkuDao extends BaseMapper { + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/PurchaseDetailEntity.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/PurchaseDetailEntity.java new file mode 100644 index 00000000..58e6d7c4 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/PurchaseDetailEntity.java @@ -0,0 +1,52 @@ +package com.xjs.mall.ware.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +import java.io.Serializable; +import java.math.BigDecimal; + +/** + * + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@Data +@TableName("wms_purchase_detail") +public class PurchaseDetailEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * + */ + @TableId + private Long id; + /** + * 采购单id + */ + private Long purchaseId; + /** + * 采购商品id + */ + private Long skuId; + /** + * 采购数量 + */ + private Integer skuNum; + /** + * 采购金额 + */ + private BigDecimal skuPrice; + /** + * 仓库id + */ + private Long wareId; + /** + * 状态[0新建,1已分配,2正在采购,3已完成,4采购失败] + */ + private Integer status; + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/PurchaseEntity.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/PurchaseEntity.java new file mode 100644 index 00000000..b5839336 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/PurchaseEntity.java @@ -0,0 +1,65 @@ +package com.xjs.mall.ware.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.math.BigDecimal; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 采购信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@Data +@TableName("wms_purchase") +public class PurchaseEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * + */ + @TableId + private Long id; + /** + * + */ + private Long assigneeId; + /** + * + */ + private String assigneeName; + /** + * + */ + private String phone; + /** + * + */ + private Integer priority; + /** + * + */ + private Integer status; + /** + * + */ + private Long wareId; + /** + * + */ + private BigDecimal amount; + /** + * + */ + private Date createTime; + /** + * + */ + private Date updateTime; + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareInfoEntity.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareInfoEntity.java new file mode 100644 index 00000000..627c04f5 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareInfoEntity.java @@ -0,0 +1,40 @@ +package com.xjs.mall.ware.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 仓库信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@Data +@TableName("wms_ware_info") +public class WareInfoEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * 仓库名 + */ + private String name; + /** + * 仓库地址 + */ + private String address; + /** + * 区域编码 + */ + private String areacode; + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareOrderTaskDetailEntity.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareOrderTaskDetailEntity.java new file mode 100644 index 00000000..55db12e7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareOrderTaskDetailEntity.java @@ -0,0 +1,52 @@ +package com.xjs.mall.ware.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@Data +@TableName("wms_ware_order_task_detail") +public class WareOrderTaskDetailEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * sku_id + */ + private Long skuId; + /** + * sku_name + */ + private String skuName; + /** + * 购买个数 + */ + private Integer skuNum; + /** + * 工作单id + */ + private Long taskId; + /** + * 仓库id + */ + private Long wareId; + /** + * 1-已锁定 2-已解锁 3-扣减 + */ + private Integer lockStatus; + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareOrderTaskEntity.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareOrderTaskEntity.java new file mode 100644 index 00000000..f8124b90 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareOrderTaskEntity.java @@ -0,0 +1,80 @@ +package com.xjs.mall.ware.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@Data +@TableName("wms_ware_order_task") +public class WareOrderTaskEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * order_id + */ + private Long orderId; + /** + * order_sn + */ + private String orderSn; + /** + * 收货人 + */ + private String consignee; + /** + * 收货人电话 + */ + private String consigneeTel; + /** + * 配送地址 + */ + private String deliveryAddress; + /** + * 订单备注 + */ + private String orderComment; + /** + * 付款方式【 1:在线付款 2:货到付款】 + */ + private Integer paymentWay; + /** + * 任务状态 + */ + private Integer taskStatus; + /** + * 订单描述 + */ + private String orderBody; + /** + * 物流单号 + */ + private String trackingNo; + /** + * create_time + */ + private Date createTime; + /** + * 仓库id + */ + private Long wareId; + /** + * 工作单备注 + */ + private String taskComment; + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareSkuEntity.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareSkuEntity.java new file mode 100644 index 00000000..088a3059 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/entity/WareSkuEntity.java @@ -0,0 +1,48 @@ +package com.xjs.mall.ware.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 商品库存 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +@Data +@TableName("wms_ware_sku") +public class WareSkuEntity implements Serializable { + private static final long serialVersionUID = 1L; + + /** + * id + */ + @TableId + private Long id; + /** + * sku_id + */ + private Long skuId; + /** + * 仓库id + */ + private Long wareId; + /** + * 库存数 + */ + private Integer stock; + /** + * sku_name + */ + private String skuName; + /** + * 锁定库存 + */ + private Integer stockLocked; + +} diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/PurchaseDetailService.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/PurchaseDetailService.java new file mode 100644 index 00000000..92e66632 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/PurchaseDetailService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.ware.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.mall.ware.entity.PurchaseDetailEntity; +import com.xjs.utils.PageUtils; + +import java.util.Map; + +/** + * + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface PurchaseDetailService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/PurchaseService.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/PurchaseService.java new file mode 100644 index 00000000..f1819487 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/PurchaseService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.ware.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.mall.ware.entity.PurchaseEntity; +import com.xjs.utils.PageUtils; + +import java.util.Map; + +/** + * 采购信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface PurchaseService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareInfoService.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareInfoService.java new file mode 100644 index 00000000..3df08fff --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareInfoService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.ware.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.mall.ware.entity.WareInfoEntity; +import com.xjs.utils.PageUtils; + +import java.util.Map; + +/** + * 仓库信息 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareInfoService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareOrderTaskDetailService.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareOrderTaskDetailService.java new file mode 100644 index 00000000..d866eb82 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareOrderTaskDetailService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.ware.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.mall.ware.entity.WareOrderTaskDetailEntity; +import com.xjs.utils.PageUtils; + +import java.util.Map; + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareOrderTaskDetailService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareOrderTaskService.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareOrderTaskService.java new file mode 100644 index 00000000..82f47029 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareOrderTaskService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.ware.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.mall.ware.entity.WareOrderTaskEntity; +import com.xjs.utils.PageUtils; + +import java.util.Map; + +/** + * 库存工作单 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareOrderTaskService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareSkuService.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareSkuService.java new file mode 100644 index 00000000..8348c12c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/WareSkuService.java @@ -0,0 +1,20 @@ +package com.xjs.mall.ware.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.xjs.mall.ware.entity.WareSkuEntity; +import com.xjs.utils.PageUtils; + +import java.util.Map; + +/** + * 商品库存 + * + * @author xiejs + * @email 1294405880@qq.com + * @date 2022-03-15 09:56:19 + */ +public interface WareSkuService extends IService { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/PurchaseDetailServiceImpl.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/PurchaseDetailServiceImpl.java new file mode 100644 index 00000000..37cd2cc7 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/PurchaseDetailServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.ware.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.mall.ware.dao.PurchaseDetailDao; +import com.xjs.mall.ware.entity.PurchaseDetailEntity; +import com.xjs.mall.ware.service.PurchaseDetailService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; +import org.springframework.stereotype.Service; + +import java.util.Map; + + +@Service("purchaseDetailService") +public class PurchaseDetailServiceImpl extends ServiceImpl implements PurchaseDetailService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/PurchaseServiceImpl.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/PurchaseServiceImpl.java new file mode 100644 index 00000000..9d485c8d --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/PurchaseServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.ware.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.mall.ware.dao.PurchaseDao; +import com.xjs.mall.ware.entity.PurchaseEntity; +import com.xjs.mall.ware.service.PurchaseService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; +import org.springframework.stereotype.Service; + +import java.util.Map; + + +@Service("purchaseService") +public class PurchaseServiceImpl extends ServiceImpl implements PurchaseService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareInfoServiceImpl.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareInfoServiceImpl.java new file mode 100644 index 00000000..ad4aa978 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareInfoServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.ware.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.mall.ware.dao.WareInfoDao; +import com.xjs.mall.ware.entity.WareInfoEntity; +import com.xjs.mall.ware.service.WareInfoService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; +import org.springframework.stereotype.Service; + +import java.util.Map; + + +@Service("wareInfoService") +public class WareInfoServiceImpl extends ServiceImpl implements WareInfoService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareOrderTaskDetailServiceImpl.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareOrderTaskDetailServiceImpl.java new file mode 100644 index 00000000..7154165b --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareOrderTaskDetailServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.ware.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.mall.ware.dao.WareOrderTaskDetailDao; +import com.xjs.mall.ware.entity.WareOrderTaskDetailEntity; +import com.xjs.mall.ware.service.WareOrderTaskDetailService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; +import org.springframework.stereotype.Service; + +import java.util.Map; + + +@Service("wareOrderTaskDetailService") +public class WareOrderTaskDetailServiceImpl extends ServiceImpl implements WareOrderTaskDetailService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareOrderTaskServiceImpl.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareOrderTaskServiceImpl.java new file mode 100644 index 00000000..232d799c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareOrderTaskServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.ware.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.mall.ware.dao.WareOrderTaskDao; +import com.xjs.mall.ware.entity.WareOrderTaskEntity; +import com.xjs.mall.ware.service.WareOrderTaskService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; +import org.springframework.stereotype.Service; + +import java.util.Map; + + +@Service("wareOrderTaskService") +public class WareOrderTaskServiceImpl extends ServiceImpl implements WareOrderTaskService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareSkuServiceImpl.java b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareSkuServiceImpl.java new file mode 100644 index 00000000..10eedbea --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/java/com/xjs/mall/ware/service/impl/WareSkuServiceImpl.java @@ -0,0 +1,29 @@ +package com.xjs.mall.ware.service.impl; + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.xjs.mall.ware.dao.WareSkuDao; +import com.xjs.mall.ware.entity.WareSkuEntity; +import com.xjs.mall.ware.service.WareSkuService; +import com.xjs.utils.PageUtils; +import com.xjs.utils.Query; +import org.springframework.stereotype.Service; + +import java.util.Map; + + +@Service("wareSkuService") +public class WareSkuServiceImpl extends ServiceImpl implements WareSkuService { + + @Override + public PageUtils queryPage(Map params) { + IPage page = this.page( + new Query().getPage(params), + new QueryWrapper() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/bootstrap.yml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/bootstrap.yml new file mode 100644 index 00000000..cc857b09 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/bootstrap.yml @@ -0,0 +1,29 @@ +# Tomcat +server: + port: 9980 + +# Spring +spring: + application: + # 应用名称 + name: xjs-mall-ware + profiles: + # 环境配置 + active: dev + cloud: + nacos: + discovery: + # 服务注册地址 + server-addr: 127.0.0.1:8848 + config: + # 配置中心地址 + server-addr: 127.0.0.1:8848 + # 配置文件格式 + file-extension: yml + # 共享配置 + shared-configs: + - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} + #配置组 + group: xjs + #命名空间 + namespace: xjs-666 diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/logback.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/logback.xml new file mode 100644 index 00000000..e4f9aed1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/logback.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + ${log.pattern} + + + + + + ${log.path}/info.log + + + + ${log.path}/info.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + INFO + + ACCEPT + + DENY + + + + + ${log.path}/error.log + + + + ${log.path}/error.%d{yyyy-MM-dd}.log + + 60 + + + ${log.pattern} + + + + ERROR + + ACCEPT + + DENY + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/PurchaseDao.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/PurchaseDao.xml new file mode 100644 index 00000000..dae1d0f0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/PurchaseDao.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/PurchaseDetailDao.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/PurchaseDetailDao.xml new file mode 100644 index 00000000..2a9325a8 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/PurchaseDetailDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareInfoDao.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareInfoDao.xml new file mode 100644 index 00000000..5508e713 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareInfoDao.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareOrderTaskDao.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareOrderTaskDao.xml new file mode 100644 index 00000000..78615cd9 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareOrderTaskDao.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareOrderTaskDetailDao.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareOrderTaskDetailDao.xml new file mode 100644 index 00000000..d1436e1e --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareOrderTaskDetailDao.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareSkuDao.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareSkuDao.xml new file mode 100644 index 00000000..646e90d0 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/mapper/ware/WareSkuDao.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/rebel.xml b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/rebel.xml new file mode 100644 index 00000000..f5de0f51 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/rebel.xml @@ -0,0 +1,16 @@ + + + + + + mall-ware + + + + + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchase-add-or-update.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchase-add-or-update.vue new file mode 100644 index 00000000..78d6a2a2 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchase-add-or-update.vue @@ -0,0 +1,156 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchase.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchase.vue new file mode 100644 index 00000000..7a31ad5a --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchase.vue @@ -0,0 +1,211 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchasedetail-add-or-update.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchasedetail-add-or-update.vue new file mode 100644 index 00000000..fd955596 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchasedetail-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchasedetail.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchasedetail.vue new file mode 100644 index 00000000..dd3c6db1 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/purchasedetail.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareinfo-add-or-update.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareinfo-add-or-update.vue new file mode 100644 index 00000000..d3bcd324 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareinfo-add-or-update.vue @@ -0,0 +1,102 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareinfo.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareinfo.vue new file mode 100644 index 00000000..a4688341 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareinfo.vue @@ -0,0 +1,175 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertask-add-or-update.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertask-add-or-update.vue new file mode 100644 index 00000000..6baca95c --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertask-add-or-update.vue @@ -0,0 +1,192 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertask.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertask.vue new file mode 100644 index 00000000..ac648d54 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertask.vue @@ -0,0 +1,235 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertaskdetail-add-or-update.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertaskdetail-add-or-update.vue new file mode 100644 index 00000000..bd380ad6 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertaskdetail-add-or-update.vue @@ -0,0 +1,129 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertaskdetail.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertaskdetail.vue new file mode 100644 index 00000000..7bf75abe --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/wareordertaskdetail.vue @@ -0,0 +1,193 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/waresku-add-or-update.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/waresku-add-or-update.vue new file mode 100644 index 00000000..06f97fe3 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/waresku-add-or-update.vue @@ -0,0 +1,120 @@ + + + diff --git a/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/waresku.vue b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/waresku.vue new file mode 100644 index 00000000..bbf17353 --- /dev/null +++ b/xjs-business/xjs-project-mall/mall-ware/src/main/resources/src/views/modules/ware/waresku.vue @@ -0,0 +1,187 @@ + + + diff --git a/xjs-business/xjs-project-mall/pom.xml b/xjs-business/xjs-project-mall/pom.xml index d3e66e2c..7f72ac09 100644 --- a/xjs-business/xjs-project-mall/pom.xml +++ b/xjs-business/xjs-project-mall/pom.xml @@ -15,11 +15,19 @@ mall-order mall-member mall-coupon + renren-generator pom xjs-project-mall + + + com.xjs + xjs-business-common + + + 11 11 diff --git a/xjs-business/xjs-project-mall/renren-generator/pom.xml b/xjs-business/xjs-project-mall/renren-generator/pom.xml new file mode 100644 index 00000000..9ea392ae --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/pom.xml @@ -0,0 +1,167 @@ + + + 4.0.0 + io.renren + renren-generator + 1.0.0 + jar + renren-generator + 人人代码生成 + + + org.springframework.boot + spring-boot-starter-parent + 2.2.1.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + 3.3.1 + 1.1.13 + 2.6 + 2.5 + 1.10 + 1.2.60 + 1.7 + 1.2.5 + 8.0.17 + 4.0 + 11.2.0.3 + 3.11.0 + + + + + org.springframework.boot + spring-boot-starter-test + test + + + org.springframework.boot + spring-boot-starter-web + + + com.baomidou + mybatis-plus-boot-starter + ${mybatisplus.version} + + + com.baomidou + mybatis-plus-generator + + + + + com.alibaba + druid + ${druid.version} + + + commons-lang + commons-lang + ${commons.lang.version} + + + commons-io + commons-io + ${commons.io.version} + + + commons-configuration + commons-configuration + ${commons.configuration.version} + + + com.alibaba + fastjson + ${fastjson.version} + + + velocity + org.apache.velocity + ${velocity.version} + + + com.github.pagehelper + pagehelper-spring-boot-starter + ${pagehelper.spring.boot.version} + + + org.mybatis + mybatis + + + org.mybatis + mybatis-spring + + + + + + mysql + mysql-connector-java + ${mysql.version} + + + + com.oracle + ojdbc6 + ${oracle.version} + + + + com.microsoft.sqlserver + sqljdbc4 + ${mssql.version} + + + + org.postgresql + postgresql + + + + org.mongodb + mongo-java-driver + ${mongo.version} + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + + public + aliyun nexus + http://maven.aliyun.com/nexus/content/groups/public/ + + true + + + + + + public + aliyun nexus + http://maven.aliyun.com/nexus/content/groups/public/ + + true + + + false + + + + + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/RenrenApplication.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/RenrenApplication.java new file mode 100644 index 00000000..41f5a7b1 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/RenrenApplication.java @@ -0,0 +1,16 @@ +package io.renren; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration; +import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration; + +@SpringBootApplication(exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class}) +@MapperScan("io.renren.dao") +public class RenrenApplication { + + public static void main(String[] args) { + SpringApplication.run(RenrenApplication.class, args); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/adaptor/MongoTableInfoAdaptor.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/adaptor/MongoTableInfoAdaptor.java new file mode 100644 index 00000000..9a0ac1e9 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/adaptor/MongoTableInfoAdaptor.java @@ -0,0 +1,66 @@ +package io.renren.adaptor; + +import io.renren.entity.mongo.MongoDefinition; +import io.renren.entity.mongo.Type; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * mongo适配器 + * + * @author: gxz gongxuanzhang@foxmail.com + **/ +public class MongoTableInfoAdaptor { + + /** + * 查询表信息的时候 mongo只能获得表名 其他只能手动填写 + * + * @param names 表名 + */ + public static List> tableInfo(List names) { + List> result = new ArrayList<>(names.size()); + for (String name : names) { + result.add(tableInfo(name)); + } + return result; + } + + public static Map tableInfo(String name) { + Map tableInfo = new HashMap<>(4 * 4 / 3 + 1); + tableInfo.put("engine", "mongo无引擎"); + tableInfo.put("createTime", "mongo无法查询创建时间"); + tableInfo.put("tableComment", "mongo无备注"); + tableInfo.put("tableName", name); + return tableInfo; + } + + /** + * 在查询列名的时候 需要将解析出的mongo信息适配成关系型数据库所需要的信息形式 + * 此方法只针对主Bean + */ + public static List> columnInfo(MongoDefinition mongoDefinition) { + List child = mongoDefinition.getChild(); + List> result = new ArrayList<>(child.size()); + final String mongoKey = "_id"; + for (MongoDefinition definition : child) { + Map map = new HashMap<>(5 * 4 / 3 + 1); + String type = Type.typeInfo(definition.getType()); + String propertyName = definition.getPropertyName(); + String extra = definition.isArray() ? "array" : ""; + map.put("extra", extra); + map.put("columnComment", ""); + map.put("dataType", definition.hasChild() ? propertyName : type); + map.put("columnName", propertyName); + // mongo默认主键是_id + String columnKey = propertyName.equals(mongoKey) ? "PRI" : ""; + map.put("columnKey", columnKey); + result.add(map); + } + return result; + } + + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/DbConfig.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/DbConfig.java new file mode 100644 index 00000000..803abcec --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/DbConfig.java @@ -0,0 +1,69 @@ +/** + * Copyright (c) 2018 人人开源 All rights reserved. + *

+ * https://www.renren.io + *

+ * 版权所有,侵权必究! + */ + +package io.renren.config; + +import io.renren.dao.*; +import io.renren.utils.RRException; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Conditional; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Primary; + +/** + * 数据库配置 + * + * @author Mark sunlightcs@gmail.com + */ +@Configuration +public class DbConfig { + @Value("${renren.database: mysql}") + private String database; + @Autowired + private MySQLGeneratorDao mySQLGeneratorDao; + @Autowired + private OracleGeneratorDao oracleGeneratorDao; + @Autowired + private SQLServerGeneratorDao sqlServerGeneratorDao; + @Autowired + private PostgreSQLGeneratorDao postgreSQLGeneratorDao; + + private static boolean mongo = false; + + @Bean + @Primary + @Conditional(MongoNullCondition.class) + public GeneratorDao getGeneratorDao() { + if ("mysql".equalsIgnoreCase(database)) { + return mySQLGeneratorDao; + } else if ("oracle".equalsIgnoreCase(database)) { + return oracleGeneratorDao; + } else if ("sqlserver".equalsIgnoreCase(database)) { + return sqlServerGeneratorDao; + } else if ("postgresql".equalsIgnoreCase(database)) { + return postgreSQLGeneratorDao; + } else { + throw new RRException("不支持当前数据库:" + database); + } + } + + @Bean + @Primary + @Conditional(MongoCondition.class) + public GeneratorDao getMongoDBDao(MongoDBGeneratorDao mongoDBGeneratorDao) { + mongo = true; + return mongoDBGeneratorDao; + } + + public static boolean isMongo() { + return mongo; + } + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoCondition.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoCondition.java new file mode 100644 index 00000000..a4c325d2 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoCondition.java @@ -0,0 +1,18 @@ +package io.renren.config; + +import org.apache.commons.lang.StringUtils; +import org.springframework.context.annotation.Condition; +import org.springframework.context.annotation.ConditionContext; +import org.springframework.core.type.AnnotatedTypeMetadata; + +/** + * @author: gxz gongxuanzhang@foxmail.com + **/ +public class MongoCondition implements Condition { + + @Override + public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) { + String database = context.getEnvironment().getProperty("renren.database"); + return "mongodb".equalsIgnoreCase(database); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoConfig.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoConfig.java new file mode 100644 index 00000000..16cba39a --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoConfig.java @@ -0,0 +1,92 @@ +package io.renren.config; + +import com.mongodb.MongoClient; +import com.mongodb.MongoClientOptions; +import com.mongodb.MongoCredential; +import com.mongodb.ServerAddress; +import com.mongodb.client.MongoDatabase; +import io.renren.factory.MongoDBCollectionFactory; +import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; +import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Conditional; +import org.springframework.stereotype.Component; + +import java.util.ArrayList; +import java.util.List; + +/** + * @author: gxz gongxuanzhang@foxmail.com + **/ +@Component +@ConfigurationProperties(prefix = "mongodb") + +public class MongoConfig { + private String host; + private int port; + private String username; + private String password; + private String dataBase; + private boolean auth; + private String source; + + + @Bean + @Conditional(MongoCondition.class) + private MongoClient getMongoClient() { + List adds = new ArrayList<>(); + ServerAddress serverAddress = new ServerAddress(this.host, this.port); + adds.add(serverAddress); + if (this.auth) { + MongoCredential mongoCredential = MongoCredential. + createScramSha1Credential(this.username, this.source, this.password.toCharArray()); + MongoClientOptions mongoClientOptions = MongoClientOptions.builder().build(); + return new MongoClient(adds, mongoCredential, mongoClientOptions); + } + return new MongoClient(adds); + } + + @Bean + @Conditional(MongoCondition.class) + public MongoDatabase getDataBase() { + return getMongoClient().getDatabase(dataBase); + } + + + + public MongoConfig setHost(String host) { + this.host = host; + return this; + } + + public MongoConfig setPort(int port) { + this.port = port; + return this; + } + + public MongoConfig setUsername(String username) { + this.username = username; + return this; + } + + public MongoConfig setPassword(String password) { + this.password = password; + return this; + } + + public MongoConfig setDataBase(String dataBase) { + this.dataBase = dataBase; + return this; + } + + public MongoConfig setAuth(boolean auth) { + this.auth = auth; + return this; + } + + public MongoConfig setSource(String source) { + this.source = source; + return this; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoManager.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoManager.java new file mode 100644 index 00000000..d983cca1 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoManager.java @@ -0,0 +1,38 @@ +package io.renren.config; + + +import io.renren.entity.mongo.MongoDefinition; + +import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; + +/** + * @author gxz + * @date 2020/5/10 12:05 + */ +public class MongoManager { + + /***mongo扫描很消耗性能 尤其是子类的封装 使用缓存**/ + private static Map mongoCache = new ConcurrentHashMap<>(); + + public static Map getCache() { + return mongoCache; + } + + public static MongoDefinition getInfo(String tableName) { + return mongoCache.getOrDefault(tableName, null); + } + + public static MongoDefinition putInfo(String tableName, MongoDefinition mongoDefinition) { + return mongoCache.put(tableName, mongoDefinition); + } + + /** + * 当前配置是否为mongo内容 + */ + public static boolean isMongo() { + return DbConfig.isMongo(); + } + + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoNullCondition.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoNullCondition.java new file mode 100644 index 00000000..25291f3a --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/config/MongoNullCondition.java @@ -0,0 +1,17 @@ +package io.renren.config; + +import org.springframework.context.annotation.Condition; +import org.springframework.context.annotation.ConditionContext; +import org.springframework.core.type.AnnotatedTypeMetadata; + +/** + * @author: gxz gongxuanzhang@foxmail.com + **/ +public class MongoNullCondition implements Condition { + + @Override + public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) { + String database = context.getEnvironment().getProperty("renren.database"); + return !"mongodb".equalsIgnoreCase(database); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/controller/SysGeneratorController.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/controller/SysGeneratorController.java new file mode 100644 index 00000000..7baef112 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/controller/SysGeneratorController.java @@ -0,0 +1,62 @@ +/** + * Copyright (c) 2018 人人开源 All rights reserved. + * + * https://www.renren.io + * + * 版权所有,侵权必究! + */ + +package io.renren.controller; + +import io.renren.service.SysGeneratorService; +import io.renren.utils.PageUtils; +import io.renren.utils.Query; +import io.renren.utils.R; +import org.apache.commons.io.IOUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.ResponseBody; + +import javax.servlet.http.HttpServletResponse; +import java.io.IOException; +import java.util.Map; + +/** + * 代码生成器 + * + * @author Mark sunlightcs@gmail.com + */ +@Controller +@RequestMapping("/sys/generator") +public class SysGeneratorController { + @Autowired + private SysGeneratorService sysGeneratorService; + + /** + * 列表 + */ + @ResponseBody + @RequestMapping("/list") + public R list(@RequestParam Map params){ + PageUtils pageUtil = sysGeneratorService.queryList(new Query(params)); + + return R.ok().put("page", pageUtil); + } + + /** + * 生成代码 + */ + @RequestMapping("/code") + public void code(String tables, HttpServletResponse response) throws IOException{ + byte[] data = sysGeneratorService.generatorCode(tables.split(",")); + + response.reset(); + response.setHeader("Content-Disposition", "attachment; filename=\"renren.zip\""); + response.addHeader("Content-Length", "" + data.length); + response.setContentType("application/octet-stream; charset=UTF-8"); + + IOUtils.write(data, response.getOutputStream()); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/GeneratorDao.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/GeneratorDao.java new file mode 100644 index 00000000..9ef4fc70 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/GeneratorDao.java @@ -0,0 +1,34 @@ +/** + * Copyright 2018 人人开源 http://www.renren.io + *

+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + *

+ * http://www.apache.org/licenses/LICENSE-2.0 + *

+ * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ + +package io.renren.dao; + +import java.util.List; +import java.util.Map; + +/** + * 数据库接口 + * + * @author Mark sunlightcs@gmail.com + * @since 2018-07-24 + */ +public interface GeneratorDao { + List> queryList(Map map); + + Map queryTable(String tableName); + + List> queryColumns(String tableName); +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/MongoDBGeneratorDao.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/MongoDBGeneratorDao.java new file mode 100644 index 00000000..55ab5576 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/MongoDBGeneratorDao.java @@ -0,0 +1,56 @@ +package io.renren.dao; + +import io.renren.adaptor.MongoTableInfoAdaptor; +import io.renren.config.MongoCondition; +import io.renren.config.MongoManager; +import io.renren.entity.mongo.MongoDefinition; +import io.renren.factory.MongoDBCollectionFactory; +import io.renren.utils.MongoScanner; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Conditional; +import org.springframework.stereotype.Repository; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * @author: gxz gongxuanzhang@foxmail.com + **/ +@Repository +@Conditional(MongoCondition.class) +public class MongoDBGeneratorDao implements GeneratorDao { + + @Autowired + private MongoDBCollectionFactory mongoDBCollectionFactory; + + @Override + public List> queryList(Map map) { + List collectionNames = MongoDBCollectionFactory.getCollectionNames(map); + return (List) MongoTableInfoAdaptor.tableInfo(collectionNames); + } + + @Override + public Map queryTable(String tableName) { + Map result = new HashMap<>(4 * 4 / 3 + 1); + result.put("engine", ""); + result.put("createTime", ""); + result.put("tableComment", "mongoDB " + tableName); + result.put("tableName", tableName); + return result; + + } + + @Override + public List> queryColumns(String tableName) { + MongoDefinition mongoDefinition = MongoManager.getInfo(tableName); + if (mongoDefinition == null) { + System.out.println(tableName); + MongoScanner mongoScanner = new MongoScanner(mongoDBCollectionFactory.getCollection(tableName)); + mongoDefinition = mongoScanner.getProduct(); + } + return MongoTableInfoAdaptor.columnInfo(mongoDefinition); + } + + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/MySQLGeneratorDao.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/MySQLGeneratorDao.java new file mode 100644 index 00000000..4cd33ca3 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/MySQLGeneratorDao.java @@ -0,0 +1,16 @@ +package io.renren.dao; + +import org.apache.ibatis.annotations.Mapper; + + +/** + * MySQL代码生成器 + * + * @author Mark sunlightcs@gmail.com + * @since 2018-07-24 + */ +@Mapper +public interface MySQLGeneratorDao extends GeneratorDao { + + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/OracleGeneratorDao.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/OracleGeneratorDao.java new file mode 100644 index 00000000..040e7115 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/OracleGeneratorDao.java @@ -0,0 +1,14 @@ +package io.renren.dao; + +import org.apache.ibatis.annotations.Mapper; + +/** + * Oracle代码生成器 + * + * @author Mark sunlightcs@gmail.com + * @since 2018-07-24 + */ +@Mapper +public interface OracleGeneratorDao extends GeneratorDao { + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/PostgreSQLGeneratorDao.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/PostgreSQLGeneratorDao.java new file mode 100644 index 00000000..f160bbaf --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/PostgreSQLGeneratorDao.java @@ -0,0 +1,14 @@ +package io.renren.dao; + +import org.apache.ibatis.annotations.Mapper; + +/** + * PostgreSQL代码生成器 + * + * @author Mark sunlightcs@gmail.com + * @since 2018-07-24 + */ +@Mapper +public interface PostgreSQLGeneratorDao extends GeneratorDao { + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/SQLServerGeneratorDao.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/SQLServerGeneratorDao.java new file mode 100644 index 00000000..bc6607b3 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/dao/SQLServerGeneratorDao.java @@ -0,0 +1,14 @@ +package io.renren.dao; + +import org.apache.ibatis.annotations.Mapper; + +/** + * SQLServer代码生成器 + * + * @author Mark sunlightcs@gmail.com + * @since 2018-07-24 + */ +@Mapper +public interface SQLServerGeneratorDao extends GeneratorDao { + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/ColumnEntity.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/ColumnEntity.java new file mode 100644 index 00000000..c4f69b3a --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/ColumnEntity.java @@ -0,0 +1,69 @@ +package io.renren.entity; + +/** + * 列的属性 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年12月20日 上午12:01:45 + */ +public class ColumnEntity { + //列名 + private String columnName; + //列名类型 + private String dataType; + //列名备注 + private String comments; + + //属性名称(第一个字母大写),如:user_name => UserName + private String attrName; + //属性名称(第一个字母小写),如:user_name => userName + private String attrname; + //属性类型 + private String attrType; + //auto_increment + private String extra; + + public String getColumnName() { + return columnName; + } + public void setColumnName(String columnName) { + this.columnName = columnName; + } + public String getDataType() { + return dataType; + } + public void setDataType(String dataType) { + this.dataType = dataType; + } + public String getComments() { + return comments; + } + public void setComments(String comments) { + this.comments = comments; + } + public String getAttrname() { + return attrname; + } + public void setAttrname(String attrname) { + this.attrname = attrname; + } + public String getAttrName() { + return attrName; + } + public void setAttrName(String attrName) { + this.attrName = attrName; + } + public String getAttrType() { + return attrType; + } + public void setAttrType(String attrType) { + this.attrType = attrType; + } + public String getExtra() { + return extra; + } + public void setExtra(String extra) { + this.extra = extra; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/TableEntity.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/TableEntity.java new file mode 100644 index 00000000..3988eddb --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/TableEntity.java @@ -0,0 +1,63 @@ +package io.renren.entity; + +import java.util.List; + +/** + * 表数据 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年12月20日 上午12:02:55 + */ +public class TableEntity { + //表的名称 + private String tableName; + //表的备注 + private String comments; + //表的主键 + private ColumnEntity pk; + //表的列名(不包含主键) + private List columns; + + //类名(第一个字母大写),如:sys_user => SysUser + private String className; + //类名(第一个字母小写),如:sys_user => sysUser + private String classname; + + public String getTableName() { + return tableName; + } + public void setTableName(String tableName) { + this.tableName = tableName; + } + public String getComments() { + return comments; + } + public void setComments(String comments) { + this.comments = comments; + } + public ColumnEntity getPk() { + return pk; + } + public void setPk(ColumnEntity pk) { + this.pk = pk; + } + public List getColumns() { + return columns; + } + public void setColumns(List columns) { + this.columns = columns; + } + public String getClassName() { + return className; + } + public void setClassName(String className) { + this.className = className; + } + public String getClassname() { + return classname; + } + public void setClassname(String classname) { + this.classname = classname; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/MongoDefinition.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/MongoDefinition.java new file mode 100644 index 00000000..83880d3f --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/MongoDefinition.java @@ -0,0 +1,98 @@ +package io.renren.entity.mongo; + +import io.renren.adaptor.MongoTableInfoAdaptor; +import org.apache.commons.collections.CollectionUtils; + +import java.io.Serializable; +import java.util.*; + + +/** + * 解析表之后得到的信息实体 + * 换句话说这个类就是一张mongo一张表的内容 + * + * @author gxz 514190950@qq.com + */ + +public class MongoDefinition implements Serializable { + /***属性名**/ + private String propertyName; + /***属性类型 对应mongodb api $type 如果没有类型 表示这是一个顶层实体 而不是内嵌属性**/ + private Integer type; + /***此属性是否是数组**/ + private boolean array = false; + /***如果此属性是对象 那么他仍然有此类型的子类**/ + private List child; + + + public List getChildrenInfo(String tableName) { + List result = new ArrayList<>(); + MongoGeneratorEntity info = new MongoGeneratorEntity(); + // 表信息 + Map tableInfo = MongoTableInfoAdaptor.tableInfo(tableName); + // 列名信息 + List> columnsInfo = new ArrayList<>(); + info.setColumns(columnsInfo); + info.setTableInfo(tableInfo); + result.add(info); + List child = this.getChild(); + for (MongoDefinition mongoDefinition : child) { + Map columnInfo = new HashMap<>(5); + columnInfo.put("columnName", mongoDefinition.getPropertyName()); + columnInfo.put("dataType", Type.typeInfo(mongoDefinition.getType())); + columnInfo.put("extra", mongoDefinition.isArray() ? "array" : ""); + columnsInfo.add(columnInfo); + if (mongoDefinition.hasChild()) { + result.addAll(mongoDefinition.getChildrenInfo(mongoDefinition.getPropertyName())); + } + } + return result; + } + + public boolean hasChild() { + final int objectType = 3; + return type == null || Objects.equals(type, objectType) || CollectionUtils.isNotEmpty(child); + } + + + public boolean primaryBean() { + return type == null; + } + + + public MongoDefinition setType(Integer type) { + this.type = type; + return this; + } + + public String getPropertyName() { + return propertyName; + } + + public MongoDefinition setPropertyName(String propertyName) { + this.propertyName = propertyName; + return this; + } + + public Integer getType() { + return type; + } + + public boolean isArray() { + return array; + } + + public MongoDefinition setArray(boolean array) { + this.array = array; + return this; + } + + public List getChild() { + return child; + } + + public MongoDefinition setChild(List child) { + this.child = child; + return this; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/MongoGeneratorEntity.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/MongoGeneratorEntity.java new file mode 100644 index 00000000..eb6d1b2a --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/MongoGeneratorEntity.java @@ -0,0 +1,50 @@ +package io.renren.entity.mongo; + + +import io.renren.entity.TableEntity; + +import java.util.List; +import java.util.Map; + +/** + * mysql一张表只需要一个表信息和列名信息 + * 但是mongo一张表可能需要多个实体类 所以单独用一个bean封装 + * + * @author gxz + * @date 2020/5/10 0:14 + */ +public class MongoGeneratorEntity { + /***表信息**/ + private Map tableInfo; + /***主类的列名信息**/ + private List> columns; + + + public TableEntity toTableEntity() { + TableEntity tableEntity = new TableEntity(); + Map tableInfo = this.tableInfo; + tableEntity.setTableName(tableInfo.get("tableName")); + tableEntity.setComments(""); + return tableEntity; + } + + + public Map getTableInfo() { + return tableInfo; + } + + public MongoGeneratorEntity setTableInfo(Map tableInfo) { + this.tableInfo = tableInfo; + return this; + } + + public List> getColumns() { + return columns; + } + + public MongoGeneratorEntity setColumns(List> columns) { + this.columns = columns; + return this; + } + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/Type.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/Type.java new file mode 100644 index 00000000..2f6f993d --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/entity/mongo/Type.java @@ -0,0 +1,35 @@ +package io.renren.entity.mongo; + +import java.util.Objects; + +public enum Type { + + /*** + * 类型 和对应mongodb api 的$type的数字 + **/ + varchar(2), + NUMBER(16), + bigint(18), + OBJECT(3), + ARRAY(4), + date(9), + bit(8), + DOUBLE(1); + + private final int num; + + Type(int num) { + this.num = num; + } + + public static String typeInfo(int num) { + Type[] values = values(); + for (Type value : values) { + if (Objects.equals(num, value.num)) { + return value.toString(); + } + } + return null; + } + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/factory/MongoDBCollectionFactory.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/factory/MongoDBCollectionFactory.java new file mode 100644 index 00000000..4779b2e9 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/factory/MongoDBCollectionFactory.java @@ -0,0 +1,101 @@ +package io.renren.factory; + +import com.mongodb.client.MongoCollection; +import com.mongodb.client.MongoDatabase; +import com.mongodb.client.MongoIterable; +import io.renren.config.MongoCondition; +import org.bson.Document; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Conditional; +import org.springframework.stereotype.Component; + +import javax.annotation.PostConstruct; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.stream.Collectors; + +/** + * @author: gxz gongxuanzhang@foxmail.com + **/ + +@Component +@Conditional(MongoCondition.class) +public class MongoDBCollectionFactory { + + private static final String TABLE_NAME_KEY = "tableName"; + private static final String LIMIT_KEY = "limit"; + private static final String OFFSET_KEY = "offset"; + + private static MongoDatabase mongoDatabase; + + // 此处是为了兼容mongo相关内容和关系型数据库的静态耦合所导致的问题 + + @Autowired + private MongoDatabase database; + @PostConstruct + public void initMongoDatabase(){ + mongoDatabase = database; + } + + /*** + * 通过表名获得查询对象 + * @author gxz + * @date 2020/5/9 + * @param collectionName mongo的集合名(表名) + * @return 连接查询对象 + **/ + public MongoCollection getCollection(String collectionName) { + return mongoDatabase.getCollection(collectionName); + } + + /*** + * 获得当前数据库的集合名称 + * 注: mongo相对关系型数据库较为特殊,查询表名无法分页,用stream实现 + * @author gxz + * @date 2020/5/9 + * @param map 这是查询条件 和关系型数据库一致 + * @return 集合名称 + **/ + public static List getCollectionNames(Map map) { + int limit = Integer.valueOf(map.get(LIMIT_KEY).toString()); + int skip = Integer.valueOf(map.get(OFFSET_KEY).toString()); + List names; + if (map.containsKey(TABLE_NAME_KEY)) { + names = getCollectionNames(map.get(TABLE_NAME_KEY).toString()); + } else { + names = getCollectionNames(); + } + return names.stream().skip(skip).limit(limit).collect(Collectors.toList()); + } + /*** + * 获得集合名称总数(表的数量) 为了适配MyBatisPlus的分页插件 提供方法 + * @author gxz + * @date 2020/5/9 + * @param map 这是查询条件 和关系型数据库一致 + * @return int + **/ + public static int getCollectionTotal(Map map) { + if (map.containsKey(TABLE_NAME_KEY)) { + return getCollectionNames(map.get(TABLE_NAME_KEY).toString()).size(); + } + return getCollectionNames().size(); + + } + + + private static List getCollectionNames() { + MongoIterable names = mongoDatabase.listCollectionNames(); + List result = new ArrayList<>(); + for (String name : names) { + result.add(name); + } + return result; + } + + private static List getCollectionNames(String likeName) { + return getCollectionNames() + .stream() + .filter((name) -> name.contains(likeName)).collect(Collectors.toList()); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/service/SysGeneratorService.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/service/SysGeneratorService.java new file mode 100644 index 00000000..bc4c4d29 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/service/SysGeneratorService.java @@ -0,0 +1,79 @@ +/** + * Copyright (c) 2018 人人开源 All rights reserved. + *

+ * https://www.renren.io + *

+ * 版权所有,侵权必究! + */ + +package io.renren.service; + +import com.github.pagehelper.Page; +import com.github.pagehelper.PageHelper; +import io.renren.config.MongoManager; +import io.renren.dao.GeneratorDao; +import io.renren.dao.MongoDBGeneratorDao; +import io.renren.entity.mongo.MongoDefinition; +import io.renren.factory.MongoDBCollectionFactory; +import io.renren.utils.GenUtils; +import io.renren.utils.PageUtils; +import io.renren.utils.Query; +import org.apache.commons.io.IOUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.io.ByteArrayOutputStream; +import java.util.List; +import java.util.Map; +import java.util.zip.ZipOutputStream; + +/** + * 代码生成器 + * + * @author Mark sunlightcs@gmail.com + */ +@Service +public class SysGeneratorService { + @Autowired + private GeneratorDao generatorDao; + + + public PageUtils queryList(Query query) { + Page page = PageHelper.startPage(query.getPage(), query.getLimit()); + List> list = generatorDao.queryList(query); + int total = (int) page.getTotal(); + if (generatorDao instanceof MongoDBGeneratorDao) { + total = MongoDBCollectionFactory.getCollectionTotal(query); + } + return new PageUtils(list, total, query.getLimit(), query.getPage()); + } + + public Map queryTable(String tableName) { + return generatorDao.queryTable(tableName); + } + + public List> queryColumns(String tableName) { + return generatorDao.queryColumns(tableName); + } + + + public byte[] generatorCode(String[] tableNames) { + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + ZipOutputStream zip = new ZipOutputStream(outputStream); + for (String tableName : tableNames) { + //查询表信息 + Map table = queryTable(tableName); + //查询列信息 + List> columns = queryColumns(tableName); + //生成代码 + GenUtils.generatorCode(table, columns, zip); + } + if (MongoManager.isMongo()) { + GenUtils.generatorMongoCode(tableNames, zip); + } + + + IOUtils.closeQuietly(zip); + return outputStream.toByteArray(); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/Constant.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/Constant.java new file mode 100644 index 00000000..ddbb6251 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/Constant.java @@ -0,0 +1,13 @@ +package io.renren.utils; + +/** + * 常量 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年11月15日 下午1:23:52 + */ +public class Constant { + + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/DateUtils.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/DateUtils.java new file mode 100644 index 00000000..ea01a69b --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/DateUtils.java @@ -0,0 +1,30 @@ +package io.renren.utils; + +import java.text.SimpleDateFormat; +import java.util.Date; + +/** + * 日期处理 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年12月21日 下午12:53:33 + */ +public class DateUtils { + /** 时间格式(yyyy-MM-dd) */ + public final static String DATE_PATTERN = "yyyy-MM-dd"; + /** 时间格式(yyyy-MM-dd HH:mm:ss) */ + public final static String DATE_TIME_PATTERN = "yyyy-MM-dd HH:mm:ss"; + + public static String format(Date date) { + return format(date, DATE_PATTERN); + } + + public static String format(Date date, String pattern) { + if(date != null){ + SimpleDateFormat df = new SimpleDateFormat(pattern); + return df.format(date); + } + return null; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/GenUtils.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/GenUtils.java new file mode 100644 index 00000000..15161ba2 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/GenUtils.java @@ -0,0 +1,353 @@ +package io.renren.utils; + +import io.renren.config.MongoManager; +import io.renren.entity.ColumnEntity; +import io.renren.entity.TableEntity; +import io.renren.entity.mongo.MongoDefinition; +import io.renren.entity.mongo.MongoGeneratorEntity; +import org.apache.commons.configuration.Configuration; +import org.apache.commons.configuration.ConfigurationException; +import org.apache.commons.configuration.PropertiesConfiguration; +import org.apache.commons.io.IOUtils; +import org.apache.commons.lang.StringUtils; +import org.apache.commons.lang.WordUtils; +import org.apache.velocity.Template; +import org.apache.velocity.VelocityContext; +import org.apache.velocity.app.Velocity; + +import java.io.File; +import java.io.IOException; +import java.io.StringWriter; +import java.util.*; +import java.util.zip.ZipEntry; +import java.util.zip.ZipOutputStream; + +/** + * 代码生成器 工具类 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年12月19日 下午11:40:24 + */ +public class GenUtils { + + private static String currentTableName; + + public static List getTemplates() { + List templates = new ArrayList(); + templates.add("template/Entity.java.vm"); + templates.add("template/Dao.xml.vm"); + + templates.add("template/menu.sql.vm"); + + templates.add("template/Service.java.vm"); + templates.add("template/ServiceImpl.java.vm"); + templates.add("template/Controller.java.vm"); + templates.add("template/Dao.java.vm"); + + templates.add("template/index.vue.vm"); + templates.add("template/add-or-update.vue.vm"); + if (MongoManager.isMongo()) { + // mongo不需要mapper、sql 实体类需要替换 + templates.remove(0); + templates.remove(1); + templates.remove(2); + templates.add("template/MongoEntity.java.vm"); + } + return templates; + } + + public static List getMongoChildTemplates() { + List templates = new ArrayList(); + templates.add("template/MongoChildrenEntity.java.vm"); + return templates; + } + + /** + * 生成代码 + */ + public static void generatorCode(Map table, + List> columns, ZipOutputStream zip) { + //配置信息 + Configuration config = getConfig(); + boolean hasBigDecimal = false; + boolean hasList = false; + //表信息 + TableEntity tableEntity = new TableEntity(); + tableEntity.setTableName(table.get("tableName")); + tableEntity.setComments(table.get("tableComment")); + //表名转换成Java类名 + String className = tableToJava(tableEntity.getTableName(), config.getStringArray("tablePrefix")); + tableEntity.setClassName(className); + tableEntity.setClassname(StringUtils.uncapitalize(className)); + + //列信息 + List columsList = new ArrayList<>(); + for (Map column : columns) { + ColumnEntity columnEntity = new ColumnEntity(); + columnEntity.setColumnName(column.get("columnName")); + columnEntity.setDataType(column.get("dataType")); + columnEntity.setComments(column.get("columnComment")); + columnEntity.setExtra(column.get("extra")); + + //列名转换成Java属性名 + String attrName = columnToJava(columnEntity.getColumnName()); + columnEntity.setAttrName(attrName); + columnEntity.setAttrname(StringUtils.uncapitalize(attrName)); + + //列的数据类型,转换成Java类型 + String attrType = config.getString(columnEntity.getDataType(), columnToJava(columnEntity.getDataType())); + columnEntity.setAttrType(attrType); + + + if (!hasBigDecimal && attrType.equals("BigDecimal")) { + hasBigDecimal = true; + } + if (!hasList && "array".equals(columnEntity.getExtra())) { + hasList = true; + } + //是否主键 + if ("PRI".equalsIgnoreCase(column.get("columnKey")) && tableEntity.getPk() == null) { + tableEntity.setPk(columnEntity); + } + + columsList.add(columnEntity); + } + tableEntity.setColumns(columsList); + + //没主键,则第一个字段为主键 + if (tableEntity.getPk() == null) { + tableEntity.setPk(tableEntity.getColumns().get(0)); + } + + //设置velocity资源加载器 + Properties prop = new Properties(); + prop.put("file.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"); + Velocity.init(prop); + String mainPath = config.getString("mainPath"); + mainPath = StringUtils.isBlank(mainPath) ? "io.renren" : mainPath; + //封装模板数据 + Map map = new HashMap<>(); + map.put("tableName", tableEntity.getTableName()); + map.put("comments", tableEntity.getComments()); + map.put("pk", tableEntity.getPk()); + map.put("className", tableEntity.getClassName()); + map.put("classname", tableEntity.getClassname()); + map.put("pathName", tableEntity.getClassname().toLowerCase()); + map.put("columns", tableEntity.getColumns()); + map.put("hasBigDecimal", hasBigDecimal); + map.put("hasList", hasList); + map.put("mainPath", mainPath); + map.put("package", config.getString("package")); + map.put("moduleName", config.getString("moduleName")); + map.put("author", config.getString("author")); + map.put("email", config.getString("email")); + map.put("datetime", DateUtils.format(new Date(), DateUtils.DATE_TIME_PATTERN)); + VelocityContext context = new VelocityContext(map); + + //获取模板列表 + List templates = getTemplates(); + for (String template : templates) { + //渲染模板 + StringWriter sw = new StringWriter(); + Template tpl = Velocity.getTemplate(template, "UTF-8"); + tpl.merge(context, sw); + + try { + //添加到zip + zip.putNextEntry(new ZipEntry(getFileName(template, tableEntity.getClassName(), config.getString("package"), config.getString("moduleName")))); + IOUtils.write(sw.toString(), zip, "UTF-8"); + IOUtils.closeQuietly(sw); + zip.closeEntry(); + } catch (IOException e) { + throw new RRException("渲染模板失败,表名:" + tableEntity.getTableName(), e); + } + } + } + + /** + * 生成mongo其他实体类的代码 + */ + public static void generatorMongoCode(String[] tableNames, ZipOutputStream zip) { + for (String tableName : tableNames) { + MongoDefinition info = MongoManager.getInfo(tableName); + currentTableName = tableName; + List childrenInfo = info.getChildrenInfo(tableName); + childrenInfo.remove(0); + for (MongoGeneratorEntity mongoGeneratorEntity : childrenInfo) { + generatorChildrenBeanCode(mongoGeneratorEntity, zip); + } + } + } + + private static void generatorChildrenBeanCode(MongoGeneratorEntity mongoGeneratorEntity, ZipOutputStream zip) { + //配置信息 + Configuration config = getConfig(); + boolean hasList = false; + //表信息 + TableEntity tableEntity = mongoGeneratorEntity.toTableEntity(); + //表名转换成Java类名 + String className = tableToJava(tableEntity.getTableName(), config.getStringArray("tablePrefix")); + tableEntity.setClassName(className); + tableEntity.setClassname(StringUtils.uncapitalize(className)); + //列信息 + List columsList = new ArrayList<>(); + for (Map column : mongoGeneratorEntity.getColumns()) { + ColumnEntity columnEntity = new ColumnEntity(); + String columnName = column.get("columnName"); + if (columnName.contains(".")) { + columnName = columnName.substring(columnName.lastIndexOf(".") + 1); + } + columnEntity.setColumnName(columnName); + columnEntity.setDataType(column.get("dataType")); + columnEntity.setExtra(column.get("extra")); + + //列名转换成Java属性名 + String attrName = columnToJava(columnEntity.getColumnName()); + columnEntity.setAttrName(attrName); + columnEntity.setAttrname(StringUtils.uncapitalize(attrName)); + + //列的数据类型,转换成Java类型 + String attrType = config.getString(columnEntity.getDataType(), columnToJava(columnEntity.getDataType())); + columnEntity.setAttrType(attrType); + + if (!hasList && "array".equals(columnEntity.getExtra())) { + hasList = true; + } + columsList.add(columnEntity); + } + tableEntity.setColumns(columsList); + + //设置velocity资源加载器 + Properties prop = new Properties(); + prop.put("file.resource.loader.class", "org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader"); + Velocity.init(prop); + String mainPath = config.getString("mainPath"); + mainPath = StringUtils.isBlank(mainPath) ? "io.renren" : mainPath; + //封装模板数据 + Map map = new HashMap<>(); + map.put("tableName", tableEntity.getTableName()); + map.put("comments", tableEntity.getComments()); + map.put("pk", tableEntity.getPk()); + map.put("className", tableEntity.getClassName()); + map.put("classname", tableEntity.getClassname()); + map.put("pathName", tableEntity.getClassname().toLowerCase()); + map.put("columns", tableEntity.getColumns()); + map.put("hasList", hasList); + map.put("mainPath", mainPath); + map.put("package", config.getString("package")); + map.put("moduleName", config.getString("moduleName")); + map.put("author", config.getString("author")); + map.put("email", config.getString("email")); + map.put("datetime", DateUtils.format(new Date(), DateUtils.DATE_TIME_PATTERN)); + VelocityContext context = new VelocityContext(map); + + //获取模板列表 + List templates = getMongoChildTemplates(); + for (String template : templates) { + //渲染模板 + StringWriter sw = new StringWriter(); + Template tpl = Velocity.getTemplate(template, "UTF-8"); + tpl.merge(context, sw); + try { + //添加到zip + zip.putNextEntry(new ZipEntry(getFileName(template, tableEntity.getClassName(), config.getString("package"), config.getString("moduleName")))); + IOUtils.write(sw.toString(), zip, "UTF-8"); + IOUtils.closeQuietly(sw); + zip.closeEntry(); + } catch (IOException e) { + throw new RRException("渲染模板失败,表名:" + tableEntity.getTableName(), e); + } + } + + } + + /** + * 列名转换成Java属性名 + */ + public static String columnToJava(String columnName) { + return WordUtils.capitalizeFully(columnName, new char[]{'_'}).replace("_", ""); + } + + /** + * 表名转换成Java类名 + */ + public static String tableToJava(String tableName, String[] tablePrefixArray) { + if (null != tablePrefixArray && tablePrefixArray.length > 0) { + for (String tablePrefix : tablePrefixArray) { + if (tableName.startsWith(tablePrefix)){ + tableName = tableName.replaceFirst(tablePrefix, ""); + } + } + } + return columnToJava(tableName); + } + + /** + * 获取配置信息 + */ + public static Configuration getConfig() { + try { + return new PropertiesConfiguration("generator.properties"); + } catch (ConfigurationException e) { + throw new RRException("获取配置文件失败,", e); + } + } + + /** + * 获取文件名 + */ + public static String getFileName(String template, String className, String packageName, String moduleName) { + String packagePath = "main" + File.separator + "java" + File.separator; + if (StringUtils.isNotBlank(packageName)) { + packagePath += packageName.replace(".", File.separator) + File.separator + moduleName + File.separator; + } + if (template.contains("MongoChildrenEntity.java.vm")) { + return packagePath + "entity" + File.separator + "inner" + File.separator + currentTableName+ File.separator + splitInnerName(className)+ "InnerEntity.java"; + } + if (template.contains("Entity.java.vm") || template.contains("MongoEntity.java.vm")) { + return packagePath + "entity" + File.separator + className + "Entity.java"; + } + + if (template.contains("Dao.java.vm")) { + return packagePath + "dao" + File.separator + className + "Dao.java"; + } + + if (template.contains("Service.java.vm")) { + return packagePath + "service" + File.separator + className + "Service.java"; + } + + if (template.contains("ServiceImpl.java.vm")) { + return packagePath + "service" + File.separator + "impl" + File.separator + className + "ServiceImpl.java"; + } + + if (template.contains("Controller.java.vm")) { + return packagePath + "controller" + File.separator + className + "Controller.java"; + } + + if (template.contains("Dao.xml.vm")) { + return "main" + File.separator + "resources" + File.separator + "mapper" + File.separator + moduleName + File.separator + className + "Dao.xml"; + } + + if (template.contains("menu.sql.vm")) { + return className.toLowerCase() + "_menu.sql"; + } + + if (template.contains("index.vue.vm")) { + return "main" + File.separator + "resources" + File.separator + "src" + File.separator + "views" + File.separator + "modules" + + File.separator + moduleName + File.separator + className.toLowerCase() + ".vue"; + } + + if (template.contains("add-or-update.vue.vm")) { + return "main" + File.separator + "resources" + File.separator + "src" + File.separator + "views" + File.separator + "modules" + + File.separator + moduleName + File.separator + className.toLowerCase() + "-add-or-update.vue"; + } + + return null; + } + + private static String splitInnerName(String name){ + name = name.replaceAll("\\.","_"); + return name; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/MongoScanner.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/MongoScanner.java new file mode 100644 index 00000000..778a4f8b --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/MongoScanner.java @@ -0,0 +1,301 @@ +package io.renren.utils; + +import com.mongodb.BasicDBObject; +import com.mongodb.MongoCommandException; +import com.mongodb.client.AggregateIterable; +import com.mongodb.client.MongoCollection; +import com.mongodb.client.MongoCursor; +import io.renren.config.MongoManager; +import io.renren.entity.mongo.MongoDefinition; +import io.renren.entity.mongo.Type; +import org.bson.Document; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.util.*; +import java.util.concurrent.ForkJoinPool; +import java.util.concurrent.ForkJoinTask; +import java.util.concurrent.RecursiveTask; +import java.util.stream.Collectors; + +/** + * @author: gxz 514190950@qq.com + **/ +public class MongoScanner { + private Logger logger = LoggerFactory.getLogger(getClass()); + + private MongoCollection collection; + + final private int scanCount; + + private List colNames; + + private MongoDefinition mongoDefinition; + + + private final static int[] TYPE = {3, 16, 18, 8, 9, 2, 1}; + + private final static int ARRAY_TYPE = 4; + + private final static int MAX_COUNT = 200000; + + private final static int DEFAULT_COUNT = 100000; + + + public MongoScanner(MongoCollection collection) { + this.collection = collection; + this.scanCount = DEFAULT_COUNT; + scan(); + } + + private void scan() { + // 初始化 + initColNames(); + // 解析属性值 + mongoDefinition = scanType(); + MongoManager.putInfo(collection.getNamespace().getCollectionName(), mongoDefinition); + // 解析完成之后释放链接资源 + this.collection = null; + + } + + public MongoDefinition getProduct() { + return mongoDefinition; + } + + + /** + * 功能描述:分组发送聚合函数(获得一级属性名) + * + * @author : gxz + */ + public List groupAggregation(Integer skip, Integer limit) throws MongoCommandException { + skip = skip == null ? 0 : skip; + limit = limit == null ? scanCount : limit; + MongoCollection collection = this.collection; + BasicDBObject $project = new BasicDBObject("$project", new BasicDBObject("arrayofkeyvalue", new BasicDBObject("$objectToArray", "$$ROOT"))); + BasicDBObject $unwind = new BasicDBObject("$unwind", "$arrayofkeyvalue"); + BasicDBObject $skip = new BasicDBObject("$skip", skip); + BasicDBObject $limit = new BasicDBObject("$limit", limit); + BasicDBObject filed = new BasicDBObject("_id", "null"); + filed.append("allkeys", new BasicDBObject("$addToSet", "$arrayofkeyvalue.k")); + BasicDBObject $group = new BasicDBObject("$group", filed); + List dbStages = Arrays.asList($project, $skip, $limit, $unwind, $group); + // System.out.println(dbStages); 发送的聚合函数 获得所有参数名称 + AggregateIterable aggregate = collection.aggregate(dbStages); + Document document = aggregate.first(); + if (document == null) { + BasicDBObject existsQuery = new BasicDBObject("$ROOT", new BasicDBObject("$exists", true)); + MongoCursor existsList = collection.find(existsQuery).limit(100).iterator(); + Set keySet = new HashSet<>(); + while (existsList.hasNext()) { + Document next = existsList.next(); + Map keyMap = (Document) next.get("$ROOT"); + keySet.addAll(keyMap.keySet()); + } + return new ArrayList<>(keySet); + } else { + return (List) document.get("allkeys"); + } + + } + + + /** + * 如果一个文档是对象类型 获得这个属性的下一级的属性名的集合 + * 例子: user:{name:"张三",age:12} 传入user 返回[name,age] + * + * @param parameterName 上层参数名 这个参数名可以包含一个或多个. + * 注: 参数传递之前需确认: 1.上层属性一定是对象类型 + * @return 返回这个属性内的所有属性名 + */ + public Set getNextParameterNames(String parameterName) { + Document condition = new Document(parameterName, new Document("$exists", true)); + Document match = new Document("$match", condition); + String unwindName = parameterName; + if (parameterName.contains(".")) { + unwindName = parameterName.split("\\.")[0]; + } + Document unwind = new Document("$unwind", "$" + unwindName); + Document limit = new Document("$limit", 3000); + Document project = new Document("$project", new Document("list", "$" + parameterName).append("_id", false)); + Document unwind2 = new Document("$unwind", "$list"); + AggregateIterable aggregate = this.collection.aggregate(Arrays.asList(match, unwind, limit, project, unwind2)); + Set names = new HashSet<>(); + for (Document document : aggregate) { + Object list = document.get("list"); + if (list instanceof Map) { + Set documentNames = ((Document) list).keySet(); + names.addAll(documentNames); + } + } + logger.info("解析" + parameterName + "有" + names.size() + "个子属性"); + return names; + } + + + /** + * 功能描述:提供属性名 解析属性类型 + * 获取相应的属性信息 封装成generator对象 + * + * @return : 解析之后的Model {@see #MongoDefinition} + * @param: propertyName 属性名 可以是层级名 比如 name 也可以是info.name + * @see MongoDefinition + */ + + public MongoDefinition processNameType(String propertyName) { + MongoCollection collection = this.collection; + MongoDefinition result = new MongoDefinition(); + if ("_id".equals(propertyName)) { + result.setType(2); + result.setPropertyName("_id"); + return result; + } + result.setPropertyName(propertyName); + MongoCursor isArray = collection.find(new Document(propertyName, new Document("$type", ARRAY_TYPE))).limit(1).iterator(); + if (isArray.hasNext()) { + result.setArray(true); + for (int i : TYPE) { + MongoCursor iterator = collection.find(new Document(propertyName, new Document("$type", i))).limit(1).iterator(); + if (iterator.hasNext()) { + if (i == 3) { + result.setChild(this.produceChildList(propertyName)); + } + //1是double 2是string 3是对象 4是数组 16是int 18 是long + result.setType(i); + logger.info("解析[" + propertyName + "]是[List][" + Type.typeInfo(result.getType()) + "]"); + return result; + } + } + } else { + for (int i : TYPE) { + MongoCursor iterator = collection.find(new Document(propertyName, new Document("$type", i))).limit(1).iterator(); + if (iterator.hasNext()) { + if (i == 3) { + result.setChild(this.produceChildList(propertyName)); + } + //1是double 2是string 3是对象 4是数组 16是int 18 是long + //到这里就是数组了 + result.setType(i); + logger.info("解析[" + propertyName + "]是[" + Type.typeInfo(result.getType()) + "]"); + return result; + } + } + result.setType(2); + } + logger.info("解析[" + propertyName + "]是[" + Type.typeInfo(result.getType()) + "]"); + return result; + } + + + private List produceChildList(String parentName) { + Set nextParameterNames = this.getNextParameterNames(parentName); + List strings = new ArrayList<>(nextParameterNames); + List collect = strings.stream().map(name -> parentName + "." + name).collect(Collectors.toList()); + ForkJoinPool pool = new ForkJoinPool(); + ForkJoinTask> task = new ForkJoinProcessType(collect); + return pool.invoke(task); + } + + private List distinctAndJoin(List a, List b) { + a.removeAll(b); + a.addAll(b); + return a; + } + + + /** + * 功能描述:解析这个集合的列名 用ForkJoin框架实现 + */ + private void initColNames() { + long start = System.currentTimeMillis(); + int scan = this.scanCount; + long count = this.collection.countDocuments(); + ForkJoinPool pool = new ForkJoinPool(); + ForkJoinTask> task; + if (count > (long) scan) { + task = new ForkJoinGetProcessName(0, scan); + } else { + task = new ForkJoinGetProcessName(0, (int) count); + } + this.colNames = pool.invoke(task); + logger.info("collection[" + this.collection.getNamespace().getCollectionName() + + "]初始化列名成功..... 用时: " + (System.currentTimeMillis() - start) + "毫秒"); + } + + private MongoDefinition scanType() { + MongoDefinition result = new MongoDefinition(); + List colNames = this.colNames; + ForkJoinPool pool = new ForkJoinPool(); + ForkJoinTask> task = new ForkJoinProcessType(colNames); + List invoke = pool.invoke(task); + return result.setChild(invoke).setPropertyName(this.collection.getNamespace().getCollectionName()); + } + + /** + * 功能描述:forkJoin多线程框架的实现 通过业务拆分解析类型 + */ + class ForkJoinProcessType extends RecursiveTask> { + List names; + private final int THRESHOLD = 6; + + ForkJoinProcessType(List names) { + this.names = names; + } + + @Override + protected List compute() { + if (names.size() <= THRESHOLD) { + List result = new ArrayList<>(); + for (String name : names) { + MongoDefinition childrenDefinition = processNameType(name); + result.add(childrenDefinition); + } + return result; + } else { + int size = names.size(); + int middle = size / 2; + List leftList = names.subList(0, middle); + List rightList = names.subList(middle, size); + ForkJoinProcessType pre = new ForkJoinProcessType(leftList); + pre.fork(); + ForkJoinProcessType next = new ForkJoinProcessType(rightList); + next.fork(); + return mergeList(pre.join(), next.join()); + } + } + } + + /** + * 功能描述:forkJoin多线程框架的实现 通过业务拆分获得属性名 + */ + class ForkJoinGetProcessName extends RecursiveTask> { + private int begin; //查询开始位置 + private int end; + private final int THRESHOLD = 5000; + + ForkJoinGetProcessName(int begin, int end) { + this.begin = begin; + this.end = end; + } + + @Override + protected List compute() { + int count = end - begin; + if (THRESHOLD >= count) { + return groupAggregation(begin, count); + } else { + int middle = (begin + end) / 2; + ForkJoinGetProcessName pre = new ForkJoinGetProcessName(begin, middle); + pre.fork(); + ForkJoinGetProcessName next = new ForkJoinGetProcessName(middle + 1, end); + next.fork(); + return distinctAndJoin(pre.join(), next.join()); //去重合并 + } + } + } + public List mergeList(List list1, List list2){ + list1.addAll(list2); + return list1; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/PageUtils.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/PageUtils.java new file mode 100644 index 00000000..6d7c917f --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/PageUtils.java @@ -0,0 +1,81 @@ +package io.renren.utils; + +import java.io.Serializable; +import java.util.List; + +/** + * 分页工具类 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年11月4日 下午12:59:00 + */ +public class PageUtils implements Serializable { + private static final long serialVersionUID = 1L; + //总记录数 + private int totalCount; + //每页记录数 + private int pageSize; + //总页数 + private int totalPage; + //当前页数 + private int currPage; + //列表数据 + private List list; + + /** + * 分页 + * @param list 列表数据 + * @param totalCount 总记录数 + * @param pageSize 每页记录数 + * @param currPage 当前页数 + */ + public PageUtils(List list, int totalCount, int pageSize, int currPage) { + this.list = list; + this.totalCount = totalCount; + this.pageSize = pageSize; + this.currPage = currPage; + this.totalPage = (int)Math.ceil((double)totalCount/pageSize); + } + + public int getTotalCount() { + return totalCount; + } + + public void setTotalCount(int totalCount) { + this.totalCount = totalCount; + } + + public int getPageSize() { + return pageSize; + } + + public void setPageSize(int pageSize) { + this.pageSize = pageSize; + } + + public int getTotalPage() { + return totalPage; + } + + public void setTotalPage(int totalPage) { + this.totalPage = totalPage; + } + + public int getCurrPage() { + return currPage; + } + + public void setCurrPage(int currPage) { + this.currPage = currPage; + } + + public List getList() { + return list; + } + + public void setList(List list) { + this.list = list; + } + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/Query.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/Query.java new file mode 100644 index 00000000..5111aad5 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/Query.java @@ -0,0 +1,48 @@ +package io.renren.utils; + + +import java.util.LinkedHashMap; +import java.util.Map; + +/** + * 查询参数 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2017-03-14 23:15 + */ +public class Query extends LinkedHashMap { + private static final long serialVersionUID = 1L; + //当前页码 + private int page; + //每页条数 + private int limit; + + public Query(Map params){ + this.putAll(params); + + //分页参数 + this.page = Integer.parseInt(params.get("page").toString()); + this.limit = Integer.parseInt(params.get("limit").toString()); + this.put("offset", (page - 1) * limit); + this.put("page", page); + this.put("limit", limit); + } + + + public int getPage() { + return page; + } + + public void setPage(int page) { + this.page = page; + } + + public int getLimit() { + return limit; + } + + public void setLimit(int limit) { + this.limit = limit; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/R.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/R.java new file mode 100644 index 00000000..8d7e6e27 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/R.java @@ -0,0 +1,55 @@ +package io.renren.utils; + +import java.util.HashMap; +import java.util.Map; + +/** + * 返回数据 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年10月27日 下午9:59:27 + */ +public class R extends HashMap { + private static final long serialVersionUID = 1L; + + public R() { + put("code", 0); + } + + public static R error() { + return error(500, "未知异常,请联系管理员"); + } + + public static R error(String msg) { + return error(500, msg); + } + + public static R error(int code, String msg) { + R r = new R(); + r.put("code", code); + r.put("msg", msg); + return r; + } + + public static R ok(String msg) { + R r = new R(); + r.put("msg", msg); + return r; + } + + public static R ok(Map map) { + R r = new R(); + r.putAll(map); + return r; + } + + public static R ok() { + return new R(); + } + + public R put(String key, Object value) { + super.put(key, value); + return this; + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/RRException.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/RRException.java new file mode 100644 index 00000000..fb0e01a7 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/RRException.java @@ -0,0 +1,55 @@ +package io.renren.utils; + +/** + * 自定义异常 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年10月27日 下午10:11:27 + */ +public class RRException extends RuntimeException { + private static final long serialVersionUID = 1L; + + private String msg; + private int code = 500; + + public RRException(String msg) { + super(msg); + this.msg = msg; + } + + public RRException(String msg, Throwable e) { + super(msg, e); + this.msg = msg; + } + + public RRException(String msg, int code) { + super(msg); + this.msg = msg; + this.code = code; + } + + public RRException(String msg, int code, Throwable e) { + super(msg, e); + this.msg = msg; + this.code = code; + } + + public String getMsg() { + return msg; + } + + public void setMsg(String msg) { + this.msg = msg; + } + + public int getCode() { + return code; + } + + public void setCode(int code) { + this.code = code; + } + + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/RRExceptionHandler.java b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/RRExceptionHandler.java new file mode 100644 index 00000000..a795666e --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/java/io/renren/utils/RRExceptionHandler.java @@ -0,0 +1,52 @@ +package io.renren.utils; + +import com.alibaba.fastjson.JSON; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DuplicateKeyException; +import org.springframework.stereotype.Component; +import org.springframework.web.servlet.HandlerExceptionResolver; +import org.springframework.web.servlet.ModelAndView; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +/** + * 异常处理器 + * + * @author chenshun + * @email sunlightcs@gmail.com + * @date 2016年10月27日 下午10:16:19 + */ +@Component +public class RRExceptionHandler implements HandlerExceptionResolver { + private Logger logger = LoggerFactory.getLogger(getClass()); + + @Override + public ModelAndView resolveException(HttpServletRequest request, + HttpServletResponse response, Object handler, Exception ex) { + R r = new R(); + try { + response.setContentType("application/json;charset=utf-8"); + response.setCharacterEncoding("utf-8"); + + if (ex instanceof RRException) { + r.put("code", ((RRException) ex).getCode()); + r.put("msg", ((RRException) ex).getMessage()); + }else if(ex instanceof DuplicateKeyException){ + r = R.error("数据库中已存在该记录"); + }else{ + r = R.error(); + } + + //记录异常日志 + logger.error(ex.getMessage(), ex); + + String json = JSON.toJSONString(r); + response.getWriter().print(json); + } catch (Exception e) { + logger.error("RRExceptionHandler 异常处理失败", e); + } + return new ModelAndView(); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/application.yml b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/application.yml new file mode 100644 index 00000000..bcc0b608 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/application.yml @@ -0,0 +1,59 @@ +server: + port: 7777 + +# mysql +spring: + datasource: + type: com.alibaba.druid.pool.DruidDataSource + #MySQL配置 + driverClassName: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/xjs-mall?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai + username: root + password: root + #oracle配置 + # driverClassName: oracle.jdbc.OracleDriver + # url: jdbc:oracle:thin:@47.100.206.162:1521:xe + # username: renren + # password: 123456 + #SQLServer配置 + # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver + # url: jdbc:sqlserver://192.168.10.10:1433;DatabaseName=renren_fast + # username: sa + # password: 123456 + #PostgreSQL配置 + # driverClassName: org.postgresql.Driver + # url: jdbc:postgresql://192.168.10.10:5432/renren_fast + # username: postgres + # password: 123456 + + + + jackson: + time-zone: GMT+8 + date-format: yyyy-MM-dd HH:mm:ss + resources: + static-locations: classpath:/static/,classpath:/views/ + +#mongodb: +# host: localhost +# port: 27017 +# auth: false #是否使用密码验证 +# username: tincery +# password: renren +# source: 123456 +# database: test + +mybatis-plus: + mapperLocations: classpath:mapper/**/*.xml + + +pagehelper: + reasonable: true + supportMethodsArguments: true + params: count=countSql + + +#指定数据库,可选值有【mysql、oracle、sqlserver、postgresql、mongodb】 +renren: + database: mysql + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/generator.properties b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/generator.properties new file mode 100644 index 00000000..0d3da4bc --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/generator.properties @@ -0,0 +1,62 @@ +#\u4EE3\u7801\u751F\u6210\u5668\uFF0C\u914D\u7F6E\u4FE1\u606F + +mainPath=com.xjs +#\u5305\u540D +package=com.xjs.mall +moduleName=order +#\u4F5C\u8005 +author=xiejs +#Email +email=1294405880@qq.com +#\u8868\u524D\u7F00(\u7C7B\u540D\u4E0D\u4F1A\u5305\u542B\u8868\u524D\u7F00) +tablePrefix=oms + +#\u7C7B\u578B\u8F6C\u6362\uFF0C\u914D\u7F6E\u4FE1\u606F +tinyint=Integer +smallint=Integer +mediumint=Integer +int=Integer +integer=Integer +bigint=Long +float=Float +double=Double +decimal=BigDecimal +bit=Boolean + +char=String +varchar=String +tinytext=String +text=String +mediumtext=String +longtext=String + +date=Date +datetime=Date +timestamp=Date + +NUMBER=Integer +INT=Integer +INTEGER=Integer +BINARY_INTEGER=Integer +LONG=String +FLOAT=Float +BINARY_FLOAT=Float +DOUBLE=Double +BINARY_DOUBLE=Double +DECIMAL=BigDecimal +CHAR=String +VARCHAR=String +VARCHAR2=String +NVARCHAR=String +NVARCHAR2=String +CLOB=String +BLOB=String +DATE=Date +DATETIME=Date +TIMESTAMP=Date +TIMESTAMP(6)=Date + +int8=Long +int4=Integer +int2=Integer +numeric=BigDecimal \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/MySQLGeneratorDao.xml b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/MySQLGeneratorDao.xml new file mode 100644 index 00000000..0e9ad8f5 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/MySQLGeneratorDao.xml @@ -0,0 +1,23 @@ + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/OracleGeneratorDao.xml b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/OracleGeneratorDao.xml new file mode 100644 index 00000000..30750282 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/OracleGeneratorDao.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/PostgreSQLGeneratorDao.xml b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/PostgreSQLGeneratorDao.xml new file mode 100644 index 00000000..88f6f7cf --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/PostgreSQLGeneratorDao.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/SQLServerGeneratorDao.xml b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/SQLServerGeneratorDao.xml new file mode 100644 index 00000000..78cb5a62 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/mapper/SQLServerGeneratorDao.xml @@ -0,0 +1,90 @@ + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/AdminLTE.min.css b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/AdminLTE.min.css new file mode 100644 index 00000000..8fbee1fc --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/AdminLTE.min.css @@ -0,0 +1,7 @@ +/*! + * AdminLTE v2.3.7 + * Author: Almsaeed Studio + * Website: Almsaeed Studio + * License: Open source - MIT + * Please visit http://opensource.org/licenses/MIT for more information +!*/html,body{min-height:100%}.layout-boxed html,.layout-boxed body{height:100%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;overflow-x:hidden;overflow-y:auto}.wrapper{min-height:100%;position:relative;overflow:hidden}.wrapper:before,.wrapper:after{content:" ";display:table}.wrapper:after{clear:both}.layout-boxed .wrapper{max-width:1250px;margin:0 auto;min-height:100%;box-shadow:0 0 8px rgba(0,0,0,0.5);position:relative}.layout-boxed{background:url('../img/boxed-bg.jpg') repeat fixed}.content-wrapper,.right-side,.main-footer{-webkit-transition:-webkit-transform .3s ease-in-out,margin .3s ease-in-out;-moz-transition:-moz-transform .3s ease-in-out,margin .3s ease-in-out;-o-transition:-o-transform .3s ease-in-out,margin .3s ease-in-out;transition:transform .3s ease-in-out,margin .3s ease-in-out;margin-left:230px;z-index:820}.layout-top-nav .content-wrapper,.layout-top-nav .right-side,.layout-top-nav .main-footer{margin-left:0}@media (max-width:767px){.content-wrapper,.right-side,.main-footer{margin-left:0}}@media (min-width:768px){.sidebar-collapse .content-wrapper,.sidebar-collapse .right-side,.sidebar-collapse .main-footer{margin-left:0}}@media (max-width:767px){.sidebar-open .content-wrapper,.sidebar-open .right-side,.sidebar-open .main-footer{-webkit-transform:translate(230px, 0);-ms-transform:translate(230px, 0);-o-transform:translate(230px, 0);transform:translate(230px, 0)}}.content-wrapper,.right-side{min-height:100%;background-color:#ecf0f5;z-index:800}.main-footer{background:#fff;padding:15px;color:#444;border-top:1px solid #d2d6de}.fixed .main-header,.fixed .main-sidebar,.fixed .left-side{position:fixed}.fixed .main-header{top:0;right:0;left:0}.fixed .content-wrapper,.fixed .right-side{padding-top:50px}@media (max-width:767px){.fixed .content-wrapper,.fixed .right-side{padding-top:100px}}.fixed.layout-boxed .wrapper{max-width:100%}body.hold-transition .content-wrapper,body.hold-transition .right-side,body.hold-transition .main-footer,body.hold-transition .main-sidebar,body.hold-transition .left-side,body.hold-transition .main-header .navbar,body.hold-transition .main-header .logo{-webkit-transition:none;-o-transition:none;transition:none}.content{min-height:250px;padding:15px;margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:'Source Sans Pro',sans-serif}a{color:#3c8dbc}a:hover,a:active,a:focus{outline:none;text-decoration:none;color:#72afd2}.page-header{margin:10px 0 20px 0;font-size:22px}.page-header>small{color:#666;display:block;margin-top:5px}.main-header{position:relative;max-height:100px;z-index:1030}.main-header .navbar{-webkit-transition:margin-left .3s ease-in-out;-o-transition:margin-left .3s ease-in-out;transition:margin-left .3s ease-in-out;margin-bottom:0;margin-left:230px;border:none;min-height:50px;border-radius:0}.layout-top-nav .main-header .navbar{margin-left:0}.main-header #navbar-search-input.form-control{background:rgba(255,255,255,0.2);border-color:transparent}.main-header #navbar-search-input.form-control:focus,.main-header #navbar-search-input.form-control:active{border-color:rgba(0,0,0,0.1);background:rgba(255,255,255,0.9)}.main-header #navbar-search-input.form-control::-moz-placeholder{color:#ccc;opacity:1}.main-header #navbar-search-input.form-control:-ms-input-placeholder{color:#ccc}.main-header #navbar-search-input.form-control::-webkit-input-placeholder{color:#ccc}.main-header .navbar-custom-menu,.main-header .navbar-right{float:right}@media (max-width:991px){.main-header .navbar-custom-menu a,.main-header .navbar-right a{color:inherit;background:transparent}}@media (max-width:767px){.main-header .navbar-right{float:none}.navbar-collapse .main-header .navbar-right{margin:7.5px -15px}.main-header .navbar-right>li{color:inherit;border:0}}.main-header .sidebar-toggle{float:left;background-color:transparent;background-image:none;padding:15px 15px;font-family:fontAwesome}.main-header .sidebar-toggle:before{content:"\f0c9"}.main-header .sidebar-toggle:hover{color:#fff}.main-header .sidebar-toggle:focus,.main-header .sidebar-toggle:active{background:transparent}.main-header .sidebar-toggle .icon-bar{display:none}.main-header .navbar .nav>li.user>a>.fa,.main-header .navbar .nav>li.user>a>.glyphicon,.main-header .navbar .nav>li.user>a>.ion{margin-right:5px}.main-header .navbar .nav>li>a>.label{position:absolute;top:9px;right:7px;text-align:center;font-size:9px;padding:2px 3px;line-height:.9}.main-header .logo{-webkit-transition:width .3s ease-in-out;-o-transition:width .3s ease-in-out;transition:width .3s ease-in-out;display:block;float:left;height:50px;font-size:20px;line-height:50px;text-align:center;width:230px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;padding:0 15px;font-weight:300;overflow:hidden}.main-header .logo .logo-lg{display:block}.main-header .logo .logo-mini{display:none}.main-header .navbar-brand{color:#fff}.content-header{position:relative;padding:15px 15px 0 15px}.content-header>h1{margin:0;font-size:24px}.content-header>h1>small{font-size:15px;display:inline-block;padding-left:4px;font-weight:300}.content-header>.breadcrumb{float:right;background:transparent;margin-top:0;margin-bottom:0;font-size:12px;padding:7px 5px;position:absolute;top:15px;right:10px;border-radius:2px}.content-header>.breadcrumb>li>a{color:#444;text-decoration:none;display:inline-block}.content-header>.breadcrumb>li>a>.fa,.content-header>.breadcrumb>li>a>.glyphicon,.content-header>.breadcrumb>li>a>.ion{margin-right:5px}.content-header>.breadcrumb>li+li:before{content:'>\00a0'}@media (max-width:991px){.content-header>.breadcrumb{position:relative;margin-top:5px;top:0;right:0;float:none;background:#d2d6de;padding-left:10px}.content-header>.breadcrumb li:before{color:#97a0b3}}.navbar-toggle{color:#fff;border:0;margin:0;padding:15px 15px}@media (max-width:991px){.navbar-custom-menu .navbar-nav>li{float:left}.navbar-custom-menu .navbar-nav{margin:0;float:left}.navbar-custom-menu .navbar-nav>li>a{padding-top:15px;padding-bottom:15px;line-height:20px}}@media (max-width:767px){.main-header{position:relative}.main-header .logo,.main-header .navbar{width:100%;float:none}.main-header .navbar{margin:0}.main-header .navbar-custom-menu{float:right}}@media (max-width:991px){.navbar-collapse.pull-left{float:none !important}.navbar-collapse.pull-left+.navbar-custom-menu{display:block;position:absolute;top:0;right:40px}}.main-sidebar,.left-side{position:absolute;top:0;left:0;padding-top:50px;min-height:100%;width:230px;z-index:810;-webkit-transition:-webkit-transform .3s ease-in-out,width .3s ease-in-out;-moz-transition:-moz-transform .3s ease-in-out,width .3s ease-in-out;-o-transition:-o-transform .3s ease-in-out,width .3s ease-in-out;transition:transform .3s ease-in-out,width .3s ease-in-out}@media (max-width:767px){.main-sidebar,.left-side{padding-top:100px}}@media (max-width:767px){.main-sidebar,.left-side{-webkit-transform:translate(-230px, 0);-ms-transform:translate(-230px, 0);-o-transform:translate(-230px, 0);transform:translate(-230px, 0)}}@media (min-width:768px){.sidebar-collapse .main-sidebar,.sidebar-collapse .left-side{-webkit-transform:translate(-230px, 0);-ms-transform:translate(-230px, 0);-o-transform:translate(-230px, 0);transform:translate(-230px, 0)}}@media (max-width:767px){.sidebar-open .main-sidebar,.sidebar-open .left-side{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}}.sidebar{padding-bottom:10px}.sidebar-form input:focus{border-color:transparent}.user-panel{position:relative;width:100%;padding:10px;overflow:hidden}.user-panel:before,.user-panel:after{content:" ";display:table}.user-panel:after{clear:both}.user-panel>.image>img{width:100%;max-width:45px;height:auto}.user-panel>.info{padding:5px 5px 5px 15px;line-height:1;position:absolute;left:55px}.user-panel>.info>p{font-weight:600;margin-bottom:9px}.user-panel>.info>a{text-decoration:none;padding-right:5px;margin-top:3px;font-size:11px}.user-panel>.info>a>.fa,.user-panel>.info>a>.ion,.user-panel>.info>a>.glyphicon{margin-right:3px}.sidebar-menu{list-style:none;margin:0;padding:0}.sidebar-menu>li{position:relative;margin:0;padding:0}.sidebar-menu>li>a{padding:12px 5px 12px 15px;display:block}.sidebar-menu>li>a>.fa,.sidebar-menu>li>a>.glyphicon,.sidebar-menu>li>a>.ion{width:20px}.sidebar-menu>li .label,.sidebar-menu>li .badge{margin-right:5px}.sidebar-menu>li .badge{margin-top:3px}.sidebar-menu li.header{padding:10px 25px 10px 15px;font-size:12px}.sidebar-menu li>a>.fa-angle-left,.sidebar-menu li>a>.pull-right-container>.fa-angle-left{width:auto;height:auto;padding:0;margin-right:10px}.sidebar-menu li.active>a>.fa-angle-left,.sidebar-menu li.active>a>.pull-right-container>.fa-angle-left{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);-o-transform:rotate(-90deg);transform:rotate(-90deg)}.sidebar-menu li.active>.treeview-menu{display:block}.sidebar-menu .treeview-menu{display:none;list-style:none;padding:0;margin:0;padding-left:5px}.sidebar-menu .treeview-menu .treeview-menu{padding-left:20px}.sidebar-menu .treeview-menu>li{margin:0}.sidebar-menu .treeview-menu>li>a{padding:5px 5px 5px 15px;display:block;font-size:14px}.sidebar-menu .treeview-menu>li>a>.fa,.sidebar-menu .treeview-menu>li>a>.glyphicon,.sidebar-menu .treeview-menu>li>a>.ion{width:20px}.sidebar-menu .treeview-menu>li>a>.pull-right-container>.fa-angle-left,.sidebar-menu .treeview-menu>li>a>.pull-right-container>.fa-angle-down,.sidebar-menu .treeview-menu>li>a>.fa-angle-left,.sidebar-menu .treeview-menu>li>a>.fa-angle-down{width:auto}@media (min-width:768px){.sidebar-mini.sidebar-collapse .content-wrapper,.sidebar-mini.sidebar-collapse .right-side,.sidebar-mini.sidebar-collapse .main-footer{margin-left:50px !important;z-index:840}.sidebar-mini.sidebar-collapse .main-sidebar{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0);width:50px !important;z-index:850}.sidebar-mini.sidebar-collapse .sidebar-menu>li{position:relative}.sidebar-mini.sidebar-collapse .sidebar-menu>li>a{margin-right:0}.sidebar-mini.sidebar-collapse .sidebar-menu>li>a>span{border-top-right-radius:4px}.sidebar-mini.sidebar-collapse .sidebar-menu>li:not(.treeview)>a>span{border-bottom-right-radius:4px}.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{padding-top:5px;padding-bottom:5px;border-bottom-right-radius:4px}.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>span:not(.pull-right),.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu{display:block !important;position:absolute;width:180px;left:50px}.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>span{top:0;margin-left:-3px;padding:12px 5px 12px 20px;background-color:inherit}.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>.pull-right-container{float:right;width:auto!important;left:200px!important;top:10px!important}.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>a>.pull-right-container>.label:not(:first-of-type){display:none}.sidebar-mini.sidebar-collapse .sidebar-menu>li:hover>.treeview-menu{top:44px;margin-left:0}.sidebar-mini.sidebar-collapse .main-sidebar .user-panel>.info,.sidebar-mini.sidebar-collapse .sidebar-form,.sidebar-mini.sidebar-collapse .sidebar-menu>li>a>span,.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu,.sidebar-mini.sidebar-collapse .sidebar-menu>li>a>.pull-right,.sidebar-mini.sidebar-collapse .sidebar-menu li.header{display:none !important;-webkit-transform:translateZ(0)}.sidebar-mini.sidebar-collapse .main-header .logo{width:50px}.sidebar-mini.sidebar-collapse .main-header .logo>.logo-mini{display:block;margin-left:-15px;margin-right:-15px;font-size:18px}.sidebar-mini.sidebar-collapse .main-header .logo>.logo-lg{display:none}.sidebar-mini.sidebar-collapse .main-header .navbar{margin-left:50px}}.sidebar-menu,.main-sidebar .user-panel,.sidebar-menu>li.header{white-space:nowrap;overflow:hidden}.sidebar-menu:hover{overflow:visible}.sidebar-form,.sidebar-menu>li.header{overflow:hidden;text-overflow:clip}.sidebar-menu li>a{position:relative}.sidebar-menu li>a>.pull-right-container{position:absolute;right:10px;top:50%;margin-top:-7px}.control-sidebar-bg{position:fixed;z-index:1000;bottom:0}.control-sidebar-bg,.control-sidebar{top:0;right:-230px;width:230px;-webkit-transition:right .3s ease-in-out;-o-transition:right .3s ease-in-out;transition:right .3s ease-in-out}.control-sidebar{position:absolute;padding-top:50px;z-index:1010}@media (max-width:768px){.control-sidebar{padding-top:100px}}.control-sidebar>.tab-content{padding:10px 15px}.control-sidebar.control-sidebar-open,.control-sidebar.control-sidebar-open+.control-sidebar-bg{right:0}.control-sidebar-open .control-sidebar-bg,.control-sidebar-open .control-sidebar{right:0}@media (min-width:768px){.control-sidebar-open .content-wrapper,.control-sidebar-open .right-side,.control-sidebar-open .main-footer{margin-right:230px}}.nav-tabs.control-sidebar-tabs>li:first-of-type>a,.nav-tabs.control-sidebar-tabs>li:first-of-type>a:hover,.nav-tabs.control-sidebar-tabs>li:first-of-type>a:focus{border-left-width:0}.nav-tabs.control-sidebar-tabs>li>a{border-radius:0}.nav-tabs.control-sidebar-tabs>li>a,.nav-tabs.control-sidebar-tabs>li>a:hover{border-top:none;border-right:none;border-left:1px solid transparent;border-bottom:1px solid transparent}.nav-tabs.control-sidebar-tabs>li>a .icon{font-size:16px}.nav-tabs.control-sidebar-tabs>li.active>a,.nav-tabs.control-sidebar-tabs>li.active>a:hover,.nav-tabs.control-sidebar-tabs>li.active>a:focus,.nav-tabs.control-sidebar-tabs>li.active>a:active{border-top:none;border-right:none;border-bottom:none}@media (max-width:768px){.nav-tabs.control-sidebar-tabs{display:table}.nav-tabs.control-sidebar-tabs>li{display:table-cell}}.control-sidebar-heading{font-weight:400;font-size:16px;padding:10px 0;margin-bottom:10px}.control-sidebar-subheading{display:block;font-weight:400;font-size:14px}.control-sidebar-menu{list-style:none;padding:0;margin:0 -15px}.control-sidebar-menu>li>a{display:block;padding:10px 15px}.control-sidebar-menu>li>a:before,.control-sidebar-menu>li>a:after{content:" ";display:table}.control-sidebar-menu>li>a:after{clear:both}.control-sidebar-menu>li>a>.control-sidebar-subheading{margin-top:0}.control-sidebar-menu .menu-icon{float:left;width:35px;height:35px;border-radius:50%;text-align:center;line-height:35px}.control-sidebar-menu .menu-info{margin-left:45px;margin-top:3px}.control-sidebar-menu .menu-info>.control-sidebar-subheading{margin:0}.control-sidebar-menu .menu-info>p{margin:0;font-size:11px}.control-sidebar-menu .progress{margin:0}.control-sidebar-dark{color:#b8c7ce}.control-sidebar-dark,.control-sidebar-dark+.control-sidebar-bg{background:#222d32}.control-sidebar-dark .nav-tabs.control-sidebar-tabs{border-bottom:#1c2529}.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a{background:#181f23;color:#b8c7ce}.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a,.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a:hover,.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a:focus{border-left-color:#141a1d;border-bottom-color:#141a1d}.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a:hover,.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a:focus,.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a:active{background:#1c2529}.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li>a:hover{color:#fff}.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li.active>a,.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li.active>a:hover,.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li.active>a:focus,.control-sidebar-dark .nav-tabs.control-sidebar-tabs>li.active>a:active{background:#222d32;color:#fff}.control-sidebar-dark .control-sidebar-heading,.control-sidebar-dark .control-sidebar-subheading{color:#fff}.control-sidebar-dark .control-sidebar-menu>li>a:hover{background:#1e282c}.control-sidebar-dark .control-sidebar-menu>li>a .menu-info>p{color:#b8c7ce}.control-sidebar-light{color:#5e5e5e}.control-sidebar-light,.control-sidebar-light+.control-sidebar-bg{background:#f9fafc;border-left:1px solid #d2d6de}.control-sidebar-light .nav-tabs.control-sidebar-tabs{border-bottom:#d2d6de}.control-sidebar-light .nav-tabs.control-sidebar-tabs>li>a{background:#e8ecf4;color:#444}.control-sidebar-light .nav-tabs.control-sidebar-tabs>li>a,.control-sidebar-light .nav-tabs.control-sidebar-tabs>li>a:hover,.control-sidebar-light .nav-tabs.control-sidebar-tabs>li>a:focus{border-left-color:#d2d6de;border-bottom-color:#d2d6de}.control-sidebar-light .nav-tabs.control-sidebar-tabs>li>a:hover,.control-sidebar-light .nav-tabs.control-sidebar-tabs>li>a:focus,.control-sidebar-light .nav-tabs.control-sidebar-tabs>li>a:active{background:#eff1f7}.control-sidebar-light .nav-tabs.control-sidebar-tabs>li.active>a,.control-sidebar-light .nav-tabs.control-sidebar-tabs>li.active>a:hover,.control-sidebar-light .nav-tabs.control-sidebar-tabs>li.active>a:focus,.control-sidebar-light .nav-tabs.control-sidebar-tabs>li.active>a:active{background:#f9fafc;color:#111}.control-sidebar-light .control-sidebar-heading,.control-sidebar-light .control-sidebar-subheading{color:#111}.control-sidebar-light .control-sidebar-menu{margin-left:-14px}.control-sidebar-light .control-sidebar-menu>li>a:hover{background:#f4f4f5}.control-sidebar-light .control-sidebar-menu>li>a .menu-info>p{color:#5e5e5e}.dropdown-menu{box-shadow:none;border-color:#eee}.dropdown-menu>li>a{color:#777}.dropdown-menu>li>a>.glyphicon,.dropdown-menu>li>a>.fa,.dropdown-menu>li>a>.ion{margin-right:10px}.dropdown-menu>li>a:hover{background-color:#e1e3e9;color:#333}.dropdown-menu>.divider{background-color:#eee}.navbar-nav>.notifications-menu>.dropdown-menu,.navbar-nav>.messages-menu>.dropdown-menu,.navbar-nav>.tasks-menu>.dropdown-menu{width:280px;padding:0 0 0 0;margin:0;top:100%}.navbar-nav>.notifications-menu>.dropdown-menu>li,.navbar-nav>.messages-menu>.dropdown-menu>li,.navbar-nav>.tasks-menu>.dropdown-menu>li{position:relative}.navbar-nav>.notifications-menu>.dropdown-menu>li.header,.navbar-nav>.messages-menu>.dropdown-menu>li.header,.navbar-nav>.tasks-menu>.dropdown-menu>li.header{border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0;background-color:#ffffff;padding:7px 10px;border-bottom:1px solid #f4f4f4;color:#444444;font-size:14px}.navbar-nav>.notifications-menu>.dropdown-menu>li.footer>a,.navbar-nav>.messages-menu>.dropdown-menu>li.footer>a,.navbar-nav>.tasks-menu>.dropdown-menu>li.footer>a{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px;font-size:12px;background-color:#fff;padding:7px 10px;border-bottom:1px solid #eeeeee;color:#444 !important;text-align:center}@media (max-width:991px){.navbar-nav>.notifications-menu>.dropdown-menu>li.footer>a,.navbar-nav>.messages-menu>.dropdown-menu>li.footer>a,.navbar-nav>.tasks-menu>.dropdown-menu>li.footer>a{background:#fff !important;color:#444 !important}}.navbar-nav>.notifications-menu>.dropdown-menu>li.footer>a:hover,.navbar-nav>.messages-menu>.dropdown-menu>li.footer>a:hover,.navbar-nav>.tasks-menu>.dropdown-menu>li.footer>a:hover{text-decoration:none;font-weight:normal}.navbar-nav>.notifications-menu>.dropdown-menu>li .menu,.navbar-nav>.messages-menu>.dropdown-menu>li .menu,.navbar-nav>.tasks-menu>.dropdown-menu>li .menu{max-height:200px;margin:0;padding:0;list-style:none;overflow-x:hidden}.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a,.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a,.navbar-nav>.tasks-menu>.dropdown-menu>li .menu>li>a{display:block;white-space:nowrap;border-bottom:1px solid #f4f4f4}.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a:hover,.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a:hover,.navbar-nav>.tasks-menu>.dropdown-menu>li .menu>li>a:hover{background:#f4f4f4;text-decoration:none}.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a{color:#444444;overflow:hidden;text-overflow:ellipsis;padding:10px}.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a>.glyphicon,.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a>.fa,.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a>.ion{width:20px}.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a{margin:0;padding:10px 10px}.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a>div>img{margin:auto 10px auto auto;width:40px;height:40px}.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a>h4{padding:0;margin:0 0 0 45px;color:#444444;font-size:15px;position:relative}.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a>h4>small{color:#999999;font-size:10px;position:absolute;top:0;right:0}.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a>p{margin:0 0 0 45px;font-size:12px;color:#888888}.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a:before,.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a:after{content:" ";display:table}.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a:after{clear:both}.navbar-nav>.tasks-menu>.dropdown-menu>li .menu>li>a{padding:10px}.navbar-nav>.tasks-menu>.dropdown-menu>li .menu>li>a>h3{font-size:14px;padding:0;margin:0 0 10px 0;color:#666666}.navbar-nav>.tasks-menu>.dropdown-menu>li .menu>li>a>.progress{padding:0;margin:0}.navbar-nav>.user-menu>.dropdown-menu{border-top-right-radius:0;border-top-left-radius:0;padding:1px 0 0 0;border-top-width:0;width:280px}.navbar-nav>.user-menu>.dropdown-menu,.navbar-nav>.user-menu>.dropdown-menu>.user-body{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.navbar-nav>.user-menu>.dropdown-menu>li.user-header{height:175px;padding:10px;text-align:center}.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img{z-index:5;height:90px;width:90px;border:3px solid;border-color:transparent;border-color:rgba(255,255,255,0.2)}.navbar-nav>.user-menu>.dropdown-menu>li.user-header>p{z-index:5;color:#fff;color:rgba(255,255,255,0.8);font-size:17px;margin-top:10px}.navbar-nav>.user-menu>.dropdown-menu>li.user-header>p>small{display:block;font-size:12px}.navbar-nav>.user-menu>.dropdown-menu>.user-body{padding:15px;border-bottom:1px solid #f4f4f4;border-top:1px solid #dddddd}.navbar-nav>.user-menu>.dropdown-menu>.user-body:before,.navbar-nav>.user-menu>.dropdown-menu>.user-body:after{content:" ";display:table}.navbar-nav>.user-menu>.dropdown-menu>.user-body:after{clear:both}.navbar-nav>.user-menu>.dropdown-menu>.user-body a{color:#444 !important}@media (max-width:991px){.navbar-nav>.user-menu>.dropdown-menu>.user-body a{background:#fff !important;color:#444 !important}}.navbar-nav>.user-menu>.dropdown-menu>.user-footer{background-color:#f9f9f9;padding:10px}.navbar-nav>.user-menu>.dropdown-menu>.user-footer:before,.navbar-nav>.user-menu>.dropdown-menu>.user-footer:after{content:" ";display:table}.navbar-nav>.user-menu>.dropdown-menu>.user-footer:after{clear:both}.navbar-nav>.user-menu>.dropdown-menu>.user-footer .btn-default{color:#666666}@media (max-width:991px){.navbar-nav>.user-menu>.dropdown-menu>.user-footer .btn-default:hover{background-color:#f9f9f9}}.navbar-nav>.user-menu .user-image{float:left;width:25px;height:25px;border-radius:50%;margin-right:10px;margin-top:-2px}@media (max-width:767px){.navbar-nav>.user-menu .user-image{float:none;margin-right:0;margin-top:-8px;line-height:10px}}.open:not(.dropup)>.animated-dropdown-menu{backface-visibility:visible !important;-webkit-animation:flipInX .7s both;-o-animation:flipInX .7s both;animation:flipInX .7s both}@keyframes flipInX{0%{transform:perspective(400px) rotate3d(1, 0, 0, 90deg);transition-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1, 0, 0, -20deg);transition-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1, 0, 0, 10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1, 0, 0, -5deg)}100%{transform:perspective(400px)}}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1, 0, 0, 90deg);-webkit-transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1, 0, 0, -20deg);-webkit-transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1, 0, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1, 0, 0, -5deg)}100%{-webkit-transform:perspective(400px)}}.navbar-custom-menu>.navbar-nav>li{position:relative}.navbar-custom-menu>.navbar-nav>li>.dropdown-menu{position:absolute;right:0;left:auto}@media (max-width:991px){.navbar-custom-menu>.navbar-nav{float:right}.navbar-custom-menu>.navbar-nav>li{position:static}.navbar-custom-menu>.navbar-nav>li>.dropdown-menu{position:absolute;right:5%;left:auto;border:1px solid #ddd;background:#fff}}.form-control{border-radius:0;box-shadow:none;border-color:#d2d6de}.form-control:focus{border-color:#3c8dbc;box-shadow:none}.form-control::-moz-placeholder,.form-control:-ms-input-placeholder,.form-control::-webkit-input-placeholder{color:#bbb;opacity:1}.form-control:not(select){-webkit-appearance:none;-moz-appearance:none;appearance:none}.form-group.has-success label{color:#00a65a}.form-group.has-success .form-control,.form-group.has-success .input-group-addon{border-color:#00a65a;box-shadow:none}.form-group.has-success .help-block{color:#00a65a}.form-group.has-warning label{color:#f39c12}.form-group.has-warning .form-control,.form-group.has-warning .input-group-addon{border-color:#f39c12;box-shadow:none}.form-group.has-warning .help-block{color:#f39c12}.form-group.has-error label{color:#dd4b39}.form-group.has-error .form-control,.form-group.has-error .input-group-addon{border-color:#dd4b39;box-shadow:none}.form-group.has-error .help-block{color:#dd4b39}.input-group .input-group-addon{border-radius:0;border-color:#d2d6de;background-color:#fff}.btn-group-vertical .btn.btn-flat:first-of-type,.btn-group-vertical .btn.btn-flat:last-of-type{border-radius:0}.icheck>label{padding-left:0}.form-control-feedback.fa{line-height:34px}.input-lg+.form-control-feedback.fa,.input-group-lg+.form-control-feedback.fa,.form-group-lg .form-control+.form-control-feedback.fa{line-height:46px}.input-sm+.form-control-feedback.fa,.input-group-sm+.form-control-feedback.fa,.form-group-sm .form-control+.form-control-feedback.fa{line-height:30px}.progress,.progress>.progress-bar{-webkit-box-shadow:none;box-shadow:none}.progress,.progress>.progress-bar,.progress .progress-bar,.progress>.progress-bar .progress-bar{border-radius:1px}.progress.sm,.progress-sm{height:10px}.progress.sm,.progress-sm,.progress.sm .progress-bar,.progress-sm .progress-bar{border-radius:1px}.progress.xs,.progress-xs{height:7px}.progress.xs,.progress-xs,.progress.xs .progress-bar,.progress-xs .progress-bar{border-radius:1px}.progress.xxs,.progress-xxs{height:3px}.progress.xxs,.progress-xxs,.progress.xxs .progress-bar,.progress-xxs .progress-bar{border-radius:1px}.progress.vertical{position:relative;width:30px;height:200px;display:inline-block;margin-right:10px}.progress.vertical>.progress-bar{width:100%;position:absolute;bottom:0}.progress.vertical.sm,.progress.vertical.progress-sm{width:20px}.progress.vertical.xs,.progress.vertical.progress-xs{width:10px}.progress.vertical.xxs,.progress.vertical.progress-xxs{width:3px}.progress-group .progress-text{font-weight:600}.progress-group .progress-number{float:right}.table tr>td .progress{margin:0}.progress-bar-light-blue,.progress-bar-primary{background-color:#3c8dbc}.progress-striped .progress-bar-light-blue,.progress-striped .progress-bar-primary{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-green,.progress-bar-success{background-color:#00a65a}.progress-striped .progress-bar-green,.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-aqua,.progress-bar-info{background-color:#00c0ef}.progress-striped .progress-bar-aqua,.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-yellow,.progress-bar-warning{background-color:#f39c12}.progress-striped .progress-bar-yellow,.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.progress-bar-red,.progress-bar-danger{background-color:#dd4b39}.progress-striped .progress-bar-red,.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(45deg, rgba(255,255,255,0.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0.15) 75%, transparent 75%, transparent)}.small-box{border-radius:2px;position:relative;display:block;margin-bottom:20px;box-shadow:0 1px 1px rgba(0,0,0,0.1)}.small-box>.inner{padding:10px}.small-box>.small-box-footer{position:relative;text-align:center;padding:3px 0;color:#fff;color:rgba(255,255,255,0.8);display:block;z-index:10;background:rgba(0,0,0,0.1);text-decoration:none}.small-box>.small-box-footer:hover{color:#fff;background:rgba(0,0,0,0.15)}.small-box h3{font-size:38px;font-weight:bold;margin:0 0 10px 0;white-space:nowrap;padding:0}.small-box p{font-size:15px}.small-box p>small{display:block;color:#f9f9f9;font-size:13px;margin-top:5px}.small-box h3,.small-box p{z-index:5}.small-box .icon{-webkit-transition:all .3s linear;-o-transition:all .3s linear;transition:all .3s linear;position:absolute;top:-10px;right:10px;z-index:0;font-size:90px;color:rgba(0,0,0,0.15)}.small-box:hover{text-decoration:none;color:#f9f9f9}.small-box:hover .icon{font-size:95px}@media (max-width:767px){.small-box{text-align:center}.small-box .icon{display:none}.small-box p{font-size:12px}}.box{position:relative;border-radius:3px;background:#ffffff;border-top:3px solid #d2d6de;margin-bottom:20px;width:100%;box-shadow:0 1px 1px rgba(0,0,0,0.1)}.box.box-primary{border-top-color:#3c8dbc}.box.box-info{border-top-color:#00c0ef}.box.box-danger{border-top-color:#dd4b39}.box.box-warning{border-top-color:#f39c12}.box.box-success{border-top-color:#00a65a}.box.box-default{border-top-color:#d2d6de}.box.collapsed-box .box-body,.box.collapsed-box .box-footer{display:none}.box .nav-stacked>li{border-bottom:1px solid #f4f4f4;margin:0}.box .nav-stacked>li:last-of-type{border-bottom:none}.box.height-control .box-body{max-height:300px;overflow:auto}.box .border-right{border-right:1px solid #f4f4f4}.box .border-left{border-left:1px solid #f4f4f4}.box.box-solid{border-top:0}.box.box-solid>.box-header .btn.btn-default{background:transparent}.box.box-solid>.box-header .btn:hover,.box.box-solid>.box-header a:hover{background:rgba(0,0,0,0.1)}.box.box-solid.box-default{border:1px solid #d2d6de}.box.box-solid.box-default>.box-header{color:#444;background:#d2d6de;background-color:#d2d6de}.box.box-solid.box-default>.box-header a,.box.box-solid.box-default>.box-header .btn{color:#444}.box.box-solid.box-primary{border:1px solid #3c8dbc}.box.box-solid.box-primary>.box-header{color:#fff;background:#3c8dbc;background-color:#3c8dbc}.box.box-solid.box-primary>.box-header a,.box.box-solid.box-primary>.box-header .btn{color:#fff}.box.box-solid.box-info{border:1px solid #00c0ef}.box.box-solid.box-info>.box-header{color:#fff;background:#00c0ef;background-color:#00c0ef}.box.box-solid.box-info>.box-header a,.box.box-solid.box-info>.box-header .btn{color:#fff}.box.box-solid.box-danger{border:1px solid #dd4b39}.box.box-solid.box-danger>.box-header{color:#fff;background:#dd4b39;background-color:#dd4b39}.box.box-solid.box-danger>.box-header a,.box.box-solid.box-danger>.box-header .btn{color:#fff}.box.box-solid.box-warning{border:1px solid #f39c12}.box.box-solid.box-warning>.box-header{color:#fff;background:#f39c12;background-color:#f39c12}.box.box-solid.box-warning>.box-header a,.box.box-solid.box-warning>.box-header .btn{color:#fff}.box.box-solid.box-success{border:1px solid #00a65a}.box.box-solid.box-success>.box-header{color:#fff;background:#00a65a;background-color:#00a65a}.box.box-solid.box-success>.box-header a,.box.box-solid.box-success>.box-header .btn{color:#fff}.box.box-solid>.box-header>.box-tools .btn{border:0;box-shadow:none}.box.box-solid[class*='bg']>.box-header{color:#fff}.box .box-group>.box{margin-bottom:5px}.box .knob-label{text-align:center;color:#333;font-weight:100;font-size:12px;margin-bottom:0.3em}.box>.overlay,.overlay-wrapper>.overlay,.box>.loading-img,.overlay-wrapper>.loading-img{position:absolute;top:0;left:0;width:100%;height:100%}.box .overlay,.overlay-wrapper .overlay{z-index:50;background:rgba(255,255,255,0.7);border-radius:3px}.box .overlay>.fa,.overlay-wrapper .overlay>.fa{position:absolute;top:50%;left:50%;margin-left:-15px;margin-top:-15px;color:#000;font-size:30px}.box .overlay.dark,.overlay-wrapper .overlay.dark{background:rgba(0,0,0,0.5)}.box-header:before,.box-body:before,.box-footer:before,.box-header:after,.box-body:after,.box-footer:after{content:" ";display:table}.box-header:after,.box-body:after,.box-footer:after{clear:both}.box-header{color:#444;display:block;padding:10px;position:relative}.box-header.with-border{border-bottom:1px solid #f4f4f4}.collapsed-box .box-header.with-border{border-bottom:none}.box-header>.fa,.box-header>.glyphicon,.box-header>.ion,.box-header .box-title{display:inline-block;font-size:18px;margin:0;line-height:1}.box-header>.fa,.box-header>.glyphicon,.box-header>.ion{margin-right:5px}.box-header>.box-tools{position:absolute;right:10px;top:5px}.box-header>.box-tools [data-toggle="tooltip"]{position:relative}.box-header>.box-tools.pull-right .dropdown-menu{right:0;left:auto}.btn-box-tool{padding:5px;font-size:12px;background:transparent;color:#97a0b3}.open .btn-box-tool,.btn-box-tool:hover{color:#606c84}.btn-box-tool.btn:active{box-shadow:none}.box-body{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;padding:10px}.no-header .box-body{border-top-right-radius:3px;border-top-left-radius:3px}.box-body>.table{margin-bottom:0}.box-body .fc{margin-top:5px}.box-body .full-width-chart{margin:-19px}.box-body.no-padding .full-width-chart{margin:-9px}.box-body .box-pane{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:3px}.box-body .box-pane-right{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:0}.box-footer{border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px;border-top:1px solid #f4f4f4;padding:10px;background-color:#fff}.chart-legend{margin:10px 0}@media (max-width:991px){.chart-legend>li{float:left;margin-right:10px}}.box-comments{background:#f7f7f7}.box-comments .box-comment{padding:8px 0;border-bottom:1px solid #eee}.box-comments .box-comment:before,.box-comments .box-comment:after{content:" ";display:table}.box-comments .box-comment:after{clear:both}.box-comments .box-comment:last-of-type{border-bottom:0}.box-comments .box-comment:first-of-type{padding-top:0}.box-comments .box-comment img{float:left}.box-comments .comment-text{margin-left:40px;color:#555}.box-comments .username{color:#444;display:block;font-weight:600}.box-comments .text-muted{font-weight:400;font-size:12px}.todo-list{margin:0;padding:0;list-style:none;overflow:auto}.todo-list>li{border-radius:2px;padding:10px;background:#f4f4f4;margin-bottom:2px;border-left:2px solid #e6e7e8;color:#444}.todo-list>li:last-of-type{margin-bottom:0}.todo-list>li>input[type='checkbox']{margin:0 10px 0 5px}.todo-list>li .text{display:inline-block;margin-left:5px;font-weight:600}.todo-list>li .label{margin-left:10px;font-size:9px}.todo-list>li .tools{display:none;float:right;color:#dd4b39}.todo-list>li .tools>.fa,.todo-list>li .tools>.glyphicon,.todo-list>li .tools>.ion{margin-right:5px;cursor:pointer}.todo-list>li:hover .tools{display:inline-block}.todo-list>li.done{color:#999}.todo-list>li.done .text{text-decoration:line-through;font-weight:500}.todo-list>li.done .label{background:#d2d6de !important}.todo-list .danger{border-left-color:#dd4b39}.todo-list .warning{border-left-color:#f39c12}.todo-list .info{border-left-color:#00c0ef}.todo-list .success{border-left-color:#00a65a}.todo-list .primary{border-left-color:#3c8dbc}.todo-list .handle{display:inline-block;cursor:move;margin:0 5px}.chat{padding:5px 20px 5px 10px}.chat .item{margin-bottom:10px}.chat .item:before,.chat .item:after{content:" ";display:table}.chat .item:after{clear:both}.chat .item>img{width:40px;height:40px;border:2px solid transparent;border-radius:50%}.chat .item>.online{border:2px solid #00a65a}.chat .item>.offline{border:2px solid #dd4b39}.chat .item>.message{margin-left:55px;margin-top:-40px}.chat .item>.message>.name{display:block;font-weight:600}.chat .item>.attachment{border-radius:3px;background:#f4f4f4;margin-left:65px;margin-right:15px;padding:10px}.chat .item>.attachment>h4{margin:0 0 5px 0;font-weight:600;font-size:14px}.chat .item>.attachment>p,.chat .item>.attachment>.filename{font-weight:600;font-size:13px;font-style:italic;margin:0}.chat .item>.attachment:before,.chat .item>.attachment:after{content:" ";display:table}.chat .item>.attachment:after{clear:both}.box-input{max-width:200px}.modal .panel-body{color:#444}.info-box{display:block;min-height:90px;background:#fff;width:100%;box-shadow:0 1px 1px rgba(0,0,0,0.1);border-radius:2px;margin-bottom:15px}.info-box small{font-size:14px}.info-box .progress{background:rgba(0,0,0,0.2);margin:5px -10px 5px -10px;height:2px}.info-box .progress,.info-box .progress .progress-bar{border-radius:0}.info-box .progress .progress-bar{background:#fff}.info-box-icon{border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px;display:block;float:left;height:90px;width:90px;text-align:center;font-size:45px;line-height:90px;background:rgba(0,0,0,0.2)}.info-box-icon>img{max-width:100%}.info-box-content{padding:5px 10px;margin-left:90px}.info-box-number{display:block;font-weight:bold;font-size:18px}.progress-description,.info-box-text{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info-box-text{text-transform:uppercase}.info-box-more{display:block}.progress-description{margin:0}.timeline{position:relative;margin:0 0 30px 0;padding:0;list-style:none}.timeline:before{content:'';position:absolute;top:0;bottom:0;width:4px;background:#ddd;left:31px;margin:0;border-radius:2px}.timeline>li{position:relative;margin-right:10px;margin-bottom:15px}.timeline>li:before,.timeline>li:after{content:" ";display:table}.timeline>li:after{clear:both}.timeline>li>.timeline-item{-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1);box-shadow:0 1px 1px rgba(0,0,0,0.1);border-radius:3px;margin-top:0;background:#fff;color:#444;margin-left:60px;margin-right:15px;padding:0;position:relative}.timeline>li>.timeline-item>.time{color:#999;float:right;padding:10px;font-size:12px}.timeline>li>.timeline-item>.timeline-header{margin:0;color:#555;border-bottom:1px solid #f4f4f4;padding:10px;font-size:16px;line-height:1.1}.timeline>li>.timeline-item>.timeline-header>a{font-weight:600}.timeline>li>.timeline-item>.timeline-body,.timeline>li>.timeline-item>.timeline-footer{padding:10px}.timeline>li>.fa,.timeline>li>.glyphicon,.timeline>li>.ion{width:30px;height:30px;font-size:15px;line-height:30px;position:absolute;color:#666;background:#d2d6de;border-radius:50%;text-align:center;left:18px;top:0}.timeline>.time-label>span{font-weight:600;padding:5px;display:inline-block;background-color:#fff;border-radius:4px}.timeline-inverse>li>.timeline-item{background:#f0f0f0;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none}.timeline-inverse>li>.timeline-item>.timeline-header{border-bottom-color:#ddd}.btn{border-radius:3px;-webkit-box-shadow:none;box-shadow:none;border:1px solid transparent}.btn.uppercase{text-transform:uppercase}.btn.btn-flat{border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-width:1px}.btn:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn:focus{outline:none}.btn.btn-file{position:relative;overflow:hidden}.btn.btn-file>input[type='file']{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;opacity:0;filter:alpha(opacity=0);outline:none;background:white;cursor:inherit;display:block}.btn-default{background-color:#f4f4f4;color:#444;border-color:#ddd}.btn-default:hover,.btn-default:active,.btn-default.hover{background-color:#e7e7e7}.btn-primary{background-color:#3c8dbc;border-color:#367fa9}.btn-primary:hover,.btn-primary:active,.btn-primary.hover{background-color:#367fa9}.btn-success{background-color:#00a65a;border-color:#008d4c}.btn-success:hover,.btn-success:active,.btn-success.hover{background-color:#008d4c}.btn-info{background-color:#00c0ef;border-color:#00acd6}.btn-info:hover,.btn-info:active,.btn-info.hover{background-color:#00acd6}.btn-danger{background-color:#dd4b39;border-color:#d73925}.btn-danger:hover,.btn-danger:active,.btn-danger.hover{background-color:#d73925}.btn-warning{background-color:#f39c12;border-color:#e08e0b}.btn-warning:hover,.btn-warning:active,.btn-warning.hover{background-color:#e08e0b}.btn-outline{border:1px solid #fff;background:transparent;color:#fff}.btn-outline:hover,.btn-outline:focus,.btn-outline:active{color:rgba(255,255,255,0.7);border-color:rgba(255,255,255,0.7)}.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn[class*='bg-']:hover{-webkit-box-shadow:inset 0 0 100px rgba(0,0,0,0.2);box-shadow:inset 0 0 100px rgba(0,0,0,0.2)}.btn-app{border-radius:3px;position:relative;padding:15px 5px;margin:0 0 10px 10px;min-width:80px;height:60px;text-align:center;color:#666;border:1px solid #ddd;background-color:#f4f4f4;font-size:12px}.btn-app>.fa,.btn-app>.glyphicon,.btn-app>.ion{font-size:20px;display:block}.btn-app:hover{background:#f4f4f4;color:#444;border-color:#aaa}.btn-app:active,.btn-app:focus{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);-moz-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-app>.badge{position:absolute;top:-3px;right:-10px;font-size:10px;font-weight:400}.callout{border-radius:3px;margin:0 0 20px 0;padding:15px 30px 15px 15px;border-left:5px solid #eee}.callout a{color:#fff;text-decoration:underline}.callout a:hover{color:#eee}.callout h4{margin-top:0;font-weight:600}.callout p:last-child{margin-bottom:0}.callout code,.callout .highlight{background-color:#fff}.callout.callout-danger{border-color:#c23321}.callout.callout-warning{border-color:#c87f0a}.callout.callout-info{border-color:#0097bc}.callout.callout-success{border-color:#00733e}.alert{border-radius:3px}.alert h4{font-weight:600}.alert .icon{margin-right:10px}.alert .close{color:#000;opacity:.2;filter:alpha(opacity=20)}.alert .close:hover{opacity:.5;filter:alpha(opacity=50)}.alert a{color:#fff;text-decoration:underline}.alert-success{border-color:#008d4c}.alert-danger,.alert-error{border-color:#d73925}.alert-warning{border-color:#e08e0b}.alert-info{border-color:#00acd6}.nav>li>a:hover,.nav>li>a:active,.nav>li>a:focus{color:#444;background:#f7f7f7}.nav-pills>li>a{border-radius:0;border-top:3px solid transparent;color:#444}.nav-pills>li>a>.fa,.nav-pills>li>a>.glyphicon,.nav-pills>li>a>.ion{margin-right:5px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{border-top-color:#3c8dbc}.nav-pills>li.active>a{font-weight:600}.nav-stacked>li>a{border-radius:0;border-top:0;border-left:3px solid transparent;color:#444}.nav-stacked>li.active>a,.nav-stacked>li.active>a:hover{background:transparent;color:#444;border-top:0;border-left-color:#3c8dbc}.nav-stacked>li.header{border-bottom:1px solid #ddd;color:#777;margin-bottom:10px;padding:5px 10px;text-transform:uppercase}.nav-tabs-custom{margin-bottom:20px;background:#fff;box-shadow:0 1px 1px rgba(0,0,0,0.1);border-radius:3px}.nav-tabs-custom>.nav-tabs{margin:0;border-bottom-color:#f4f4f4;border-top-right-radius:3px;border-top-left-radius:3px}.nav-tabs-custom>.nav-tabs>li{border-top:3px solid transparent;margin-bottom:-2px;margin-right:5px}.nav-tabs-custom>.nav-tabs>li>a{color:#444;border-radius:0}.nav-tabs-custom>.nav-tabs>li>a.text-muted{color:#999}.nav-tabs-custom>.nav-tabs>li>a,.nav-tabs-custom>.nav-tabs>li>a:hover{background:transparent;margin:0}.nav-tabs-custom>.nav-tabs>li>a:hover{color:#999}.nav-tabs-custom>.nav-tabs>li:not(.active)>a:hover,.nav-tabs-custom>.nav-tabs>li:not(.active)>a:focus,.nav-tabs-custom>.nav-tabs>li:not(.active)>a:active{border-color:transparent}.nav-tabs-custom>.nav-tabs>li.active{border-top-color:#3c8dbc}.nav-tabs-custom>.nav-tabs>li.active>a,.nav-tabs-custom>.nav-tabs>li.active:hover>a{background-color:#fff;color:#444}.nav-tabs-custom>.nav-tabs>li.active>a{border-top-color:transparent;border-left-color:#f4f4f4;border-right-color:#f4f4f4}.nav-tabs-custom>.nav-tabs>li:first-of-type{margin-left:0}.nav-tabs-custom>.nav-tabs>li:first-of-type.active>a{border-left-color:transparent}.nav-tabs-custom>.nav-tabs.pull-right{float:none !important}.nav-tabs-custom>.nav-tabs.pull-right>li{float:right}.nav-tabs-custom>.nav-tabs.pull-right>li:first-of-type{margin-right:0}.nav-tabs-custom>.nav-tabs.pull-right>li:first-of-type>a{border-left-width:1px}.nav-tabs-custom>.nav-tabs.pull-right>li:first-of-type.active>a{border-left-color:#f4f4f4;border-right-color:transparent}.nav-tabs-custom>.nav-tabs>li.header{line-height:35px;padding:0 10px;font-size:20px;color:#444}.nav-tabs-custom>.nav-tabs>li.header>.fa,.nav-tabs-custom>.nav-tabs>li.header>.glyphicon,.nav-tabs-custom>.nav-tabs>li.header>.ion{margin-right:5px}.nav-tabs-custom>.tab-content{background:#fff;padding:10px;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.nav-tabs-custom .dropdown.open>a:active,.nav-tabs-custom .dropdown.open>a:focus{background:transparent;color:#999}.nav-tabs-custom.tab-primary>.nav-tabs>li.active{border-top-color:#3c8dbc}.nav-tabs-custom.tab-info>.nav-tabs>li.active{border-top-color:#00c0ef}.nav-tabs-custom.tab-danger>.nav-tabs>li.active{border-top-color:#dd4b39}.nav-tabs-custom.tab-warning>.nav-tabs>li.active{border-top-color:#f39c12}.nav-tabs-custom.tab-success>.nav-tabs>li.active{border-top-color:#00a65a}.nav-tabs-custom.tab-default>.nav-tabs>li.active{border-top-color:#d2d6de}.pagination>li>a{background:#fafafa;color:#666}.pagination.pagination-flat>li>a{border-radius:0 !important}.products-list{list-style:none;margin:0;padding:0}.products-list>.item{border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.1);box-shadow:0 1px 1px rgba(0,0,0,0.1);padding:10px 0;background:#fff}.products-list>.item:before,.products-list>.item:after{content:" ";display:table}.products-list>.item:after{clear:both}.products-list .product-img{float:left}.products-list .product-img img{width:50px;height:50px}.products-list .product-info{margin-left:60px}.products-list .product-title{font-weight:600}.products-list .product-description{display:block;color:#999;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.product-list-in-box>.item{-webkit-box-shadow:none;box-shadow:none;border-radius:0;border-bottom:1px solid #f4f4f4}.product-list-in-box>.item:last-of-type{border-bottom-width:0}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{border-top:1px solid #f4f4f4}.table>thead>tr>th{border-bottom:2px solid #f4f4f4}.table tr td .progress{margin-top:5px}.table-bordered{border:1px solid #f4f4f4}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #f4f4f4}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table.no-border,.table.no-border td,.table.no-border th{border:0}table.text-center,table.text-center td,table.text-center th{text-align:center}.table.align th{text-align:left}.table.align td{text-align:right}.label-default{background-color:#d2d6de;color:#444}.direct-chat .box-body{border-bottom-right-radius:0;border-bottom-left-radius:0;position:relative;overflow-x:hidden;padding:0}.direct-chat.chat-pane-open .direct-chat-contacts{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.direct-chat-messages{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0);padding:10px;height:250px;overflow:auto}.direct-chat-msg,.direct-chat-text{display:block}.direct-chat-msg{margin-bottom:10px}.direct-chat-msg:before,.direct-chat-msg:after{content:" ";display:table}.direct-chat-msg:after{clear:both}.direct-chat-messages,.direct-chat-contacts{-webkit-transition:-webkit-transform .5s ease-in-out;-moz-transition:-moz-transform .5s ease-in-out;-o-transition:-o-transform .5s ease-in-out;transition:transform .5s ease-in-out}.direct-chat-text{border-radius:5px;position:relative;padding:5px 10px;background:#d2d6de;border:1px solid #d2d6de;margin:5px 0 0 50px;color:#444}.direct-chat-text:after,.direct-chat-text:before{position:absolute;right:100%;top:15px;border:solid transparent;border-right-color:#d2d6de;content:' ';height:0;width:0;pointer-events:none}.direct-chat-text:after{border-width:5px;margin-top:-5px}.direct-chat-text:before{border-width:6px;margin-top:-6px}.right .direct-chat-text{margin-right:50px;margin-left:0}.right .direct-chat-text:after,.right .direct-chat-text:before{right:auto;left:100%;border-right-color:transparent;border-left-color:#d2d6de}.direct-chat-img{border-radius:50%;float:left;width:40px;height:40px}.right .direct-chat-img{float:right}.direct-chat-info{display:block;margin-bottom:2px;font-size:12px}.direct-chat-name{font-weight:600}.direct-chat-timestamp{color:#999}.direct-chat-contacts-open .direct-chat-contacts{-webkit-transform:translate(0, 0);-ms-transform:translate(0, 0);-o-transform:translate(0, 0);transform:translate(0, 0)}.direct-chat-contacts{-webkit-transform:translate(101%, 0);-ms-transform:translate(101%, 0);-o-transform:translate(101%, 0);transform:translate(101%, 0);position:absolute;top:0;bottom:0;height:250px;width:100%;background:#222d32;color:#fff;overflow:auto}.contacts-list>li{border-bottom:1px solid rgba(0,0,0,0.2);padding:10px;margin:0}.contacts-list>li:before,.contacts-list>li:after{content:" ";display:table}.contacts-list>li:after{clear:both}.contacts-list>li:last-of-type{border-bottom:none}.contacts-list-img{border-radius:50%;width:40px;float:left}.contacts-list-info{margin-left:45px;color:#fff}.contacts-list-name,.contacts-list-status{display:block}.contacts-list-name{font-weight:600}.contacts-list-status{font-size:12px}.contacts-list-date{color:#aaa;font-weight:normal}.contacts-list-msg{color:#999}.direct-chat-danger .right>.direct-chat-text{background:#dd4b39;border-color:#dd4b39;color:#fff}.direct-chat-danger .right>.direct-chat-text:after,.direct-chat-danger .right>.direct-chat-text:before{border-left-color:#dd4b39}.direct-chat-primary .right>.direct-chat-text{background:#3c8dbc;border-color:#3c8dbc;color:#fff}.direct-chat-primary .right>.direct-chat-text:after,.direct-chat-primary .right>.direct-chat-text:before{border-left-color:#3c8dbc}.direct-chat-warning .right>.direct-chat-text{background:#f39c12;border-color:#f39c12;color:#fff}.direct-chat-warning .right>.direct-chat-text:after,.direct-chat-warning .right>.direct-chat-text:before{border-left-color:#f39c12}.direct-chat-info .right>.direct-chat-text{background:#00c0ef;border-color:#00c0ef;color:#fff}.direct-chat-info .right>.direct-chat-text:after,.direct-chat-info .right>.direct-chat-text:before{border-left-color:#00c0ef}.direct-chat-success .right>.direct-chat-text{background:#00a65a;border-color:#00a65a;color:#fff}.direct-chat-success .right>.direct-chat-text:after,.direct-chat-success .right>.direct-chat-text:before{border-left-color:#00a65a}.users-list>li{width:25%;float:left;padding:10px;text-align:center}.users-list>li img{border-radius:50%;max-width:100%;height:auto}.users-list>li>a:hover,.users-list>li>a:hover .users-list-name{color:#999}.users-list-name,.users-list-date{display:block}.users-list-name{font-weight:600;color:#444;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.users-list-date{color:#999;font-size:12px}.carousel-control.left,.carousel-control.right{background-image:none}.carousel-control>.fa{font-size:40px;position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-20px}.modal{background:rgba(0,0,0,0.3)}.modal-content{border-radius:0;-webkit-box-shadow:0 2px 3px rgba(0,0,0,0.125);box-shadow:0 2px 3px rgba(0,0,0,0.125);border:0}@media (min-width:768px){.modal-content{-webkit-box-shadow:0 2px 3px rgba(0,0,0,0.125);box-shadow:0 2px 3px rgba(0,0,0,0.125)}}.modal-header{border-bottom-color:#f4f4f4}.modal-footer{border-top-color:#f4f4f4}.modal-primary .modal-header,.modal-primary .modal-footer{border-color:#307095}.modal-warning .modal-header,.modal-warning .modal-footer{border-color:#c87f0a}.modal-info .modal-header,.modal-info .modal-footer{border-color:#0097bc}.modal-success .modal-header,.modal-success .modal-footer{border-color:#00733e}.modal-danger .modal-header,.modal-danger .modal-footer{border-color:#c23321}.box-widget{border:none;position:relative}.widget-user .widget-user-header{padding:20px;height:120px;border-top-right-radius:3px;border-top-left-radius:3px}.widget-user .widget-user-username{margin-top:0;margin-bottom:5px;font-size:25px;font-weight:300;text-shadow:0 1px 1px rgba(0,0,0,0.2)}.widget-user .widget-user-desc{margin-top:0}.widget-user .widget-user-image{position:absolute;top:65px;left:50%;margin-left:-45px}.widget-user .widget-user-image>img{width:90px;height:auto;border:3px solid #fff}.widget-user .box-footer{padding-top:30px}.widget-user-2 .widget-user-header{padding:20px;border-top-right-radius:3px;border-top-left-radius:3px}.widget-user-2 .widget-user-username{margin-top:5px;margin-bottom:5px;font-size:25px;font-weight:300}.widget-user-2 .widget-user-desc{margin-top:0}.widget-user-2 .widget-user-username,.widget-user-2 .widget-user-desc{margin-left:75px}.widget-user-2 .widget-user-image>img{width:65px;height:auto;float:left}.mailbox-messages>.table{margin:0}.mailbox-controls{padding:5px}.mailbox-controls.with-border{border-bottom:1px solid #f4f4f4}.mailbox-read-info{border-bottom:1px solid #f4f4f4;padding:10px}.mailbox-read-info h3{font-size:20px;margin:0}.mailbox-read-info h5{margin:0;padding:5px 0 0 0}.mailbox-read-time{color:#999;font-size:13px}.mailbox-read-message{padding:10px}.mailbox-attachments li{float:left;width:200px;border:1px solid #eee;margin-bottom:10px;margin-right:10px}.mailbox-attachment-name{font-weight:bold;color:#666}.mailbox-attachment-icon,.mailbox-attachment-info,.mailbox-attachment-size{display:block}.mailbox-attachment-info{padding:10px;background:#f4f4f4}.mailbox-attachment-size{color:#999;font-size:12px}.mailbox-attachment-icon{text-align:center;font-size:65px;color:#666;padding:20px 10px}.mailbox-attachment-icon.has-img{padding:0}.mailbox-attachment-icon.has-img>img{max-width:100%;height:auto}.lockscreen{background:#d2d6de}.lockscreen-logo{font-size:35px;text-align:center;margin-bottom:25px;font-weight:300}.lockscreen-logo a{color:#444}.lockscreen-wrapper{max-width:400px;margin:0 auto;margin-top:10%}.lockscreen .lockscreen-name{text-align:center;font-weight:600}.lockscreen-item{border-radius:4px;padding:0;background:#fff;position:relative;margin:10px auto 30px auto;width:290px}.lockscreen-image{border-radius:50%;position:absolute;left:-10px;top:-25px;background:#fff;padding:5px;z-index:10}.lockscreen-image>img{border-radius:50%;width:70px;height:70px}.lockscreen-credentials{margin-left:70px}.lockscreen-credentials .form-control{border:0}.lockscreen-credentials .btn{background-color:#fff;border:0;padding:0 10px}.lockscreen-footer{margin-top:10px}.login-logo,.register-logo{font-size:35px;text-align:center;margin-bottom:25px;font-weight:300}.login-logo a,.register-logo a{color:#444}.login-page,.register-page{background:#d2d6de}.login-box,.register-box{width:360px;margin:7% auto}@media (max-width:768px){.login-box,.register-box{width:90%;margin-top:20px}}.login-box-body,.register-box-body{background:#fff;padding:20px;border-top:0;color:#666}.login-box-body .form-control-feedback,.register-box-body .form-control-feedback{color:#777}.login-box-msg,.register-box-msg{margin:0;text-align:center;padding:0 20px 20px 20px}.social-auth-links{margin:10px 0}.error-page{width:600px;margin:20px auto 0 auto}@media (max-width:991px){.error-page{width:100%}}.error-page>.headline{float:left;font-size:100px;font-weight:300}@media (max-width:991px){.error-page>.headline{float:none;text-align:center}}.error-page>.error-content{margin-left:190px;display:block}@media (max-width:991px){.error-page>.error-content{margin-left:0}}.error-page>.error-content>h3{font-weight:300;font-size:25px}@media (max-width:991px){.error-page>.error-content>h3{text-align:center}}.invoice{position:relative;background:#fff;border:1px solid #f4f4f4;padding:20px;margin:10px 25px}.invoice-title{margin-top:0}.profile-user-img{margin:0 auto;width:100px;padding:3px;border:3px solid #d2d6de}.profile-username{font-size:21px;margin-top:5px}.post{border-bottom:1px solid #d2d6de;margin-bottom:15px;padding-bottom:15px;color:#666}.post:last-of-type{border-bottom:0;margin-bottom:0;padding-bottom:0}.post .user-block{margin-bottom:15px}.btn-social{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.btn-social>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}.btn-social.btn-lg{padding-left:61px}.btn-social.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em}.btn-social.btn-sm{padding-left:38px}.btn-social.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em}.btn-social.btn-xs{padding-left:30px}.btn-social.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em}.btn-social-icon{position:relative;padding-left:44px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:34px;width:34px;padding:0}.btn-social-icon>:first-child{position:absolute;left:0;top:0;bottom:0;width:32px;line-height:34px;font-size:1.6em;text-align:center;border-right:1px solid rgba(0,0,0,0.2)}.btn-social-icon.btn-lg{padding-left:61px}.btn-social-icon.btn-lg>:first-child{line-height:45px;width:45px;font-size:1.8em}.btn-social-icon.btn-sm{padding-left:38px}.btn-social-icon.btn-sm>:first-child{line-height:28px;width:28px;font-size:1.4em}.btn-social-icon.btn-xs{padding-left:30px}.btn-social-icon.btn-xs>:first-child{line-height:20px;width:20px;font-size:1.2em}.btn-social-icon>:first-child{border:none;text-align:center;width:100%}.btn-social-icon.btn-lg{height:45px;width:45px;padding-left:0;padding-right:0}.btn-social-icon.btn-sm{height:30px;width:30px;padding-left:0;padding-right:0}.btn-social-icon.btn-xs{height:22px;width:22px;padding-left:0;padding-right:0}.btn-adn{color:#fff;background-color:#d87a68;border-color:rgba(0,0,0,0.2)}.btn-adn:focus,.btn-adn.focus{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)}.btn-adn:hover{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)}.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{color:#fff;background-color:#ce563f;border-color:rgba(0,0,0,0.2)}.btn-adn:active,.btn-adn.active,.open>.dropdown-toggle.btn-adn{background-image:none}.btn-adn .badge{color:#d87a68;background-color:#fff}.btn-bitbucket{color:#fff;background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:focus,.btn-bitbucket.focus{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:hover{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{color:#fff;background-color:#163758;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:active,.btn-bitbucket.active,.open>.dropdown-toggle.btn-bitbucket{background-image:none}.btn-bitbucket .badge{color:#205081;background-color:#fff}.btn-dropbox{color:#fff;background-color:#1087dd;border-color:rgba(0,0,0,0.2)}.btn-dropbox:focus,.btn-dropbox.focus{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)}.btn-dropbox:hover{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)}.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{color:#fff;background-color:#0d6aad;border-color:rgba(0,0,0,0.2)}.btn-dropbox:active,.btn-dropbox.active,.open>.dropdown-toggle.btn-dropbox{background-image:none}.btn-dropbox .badge{color:#1087dd;background-color:#fff}.btn-facebook{color:#fff;background-color:#3b5998;border-color:rgba(0,0,0,0.2)}.btn-facebook:focus,.btn-facebook.focus{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)}.btn-facebook:hover{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)}.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{color:#fff;background-color:#2d4373;border-color:rgba(0,0,0,0.2)}.btn-facebook:active,.btn-facebook.active,.open>.dropdown-toggle.btn-facebook{background-image:none}.btn-facebook .badge{color:#3b5998;background-color:#fff}.btn-flickr{color:#fff;background-color:#ff0084;border-color:rgba(0,0,0,0.2)}.btn-flickr:focus,.btn-flickr.focus{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)}.btn-flickr:hover{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)}.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2)}.btn-flickr:active,.btn-flickr.active,.open>.dropdown-toggle.btn-flickr{background-image:none}.btn-flickr .badge{color:#ff0084;background-color:#fff}.btn-foursquare{color:#fff;background-color:#f94877;border-color:rgba(0,0,0,0.2)}.btn-foursquare:focus,.btn-foursquare.focus{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)}.btn-foursquare:hover{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)}.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{color:#fff;background-color:#f71752;border-color:rgba(0,0,0,0.2)}.btn-foursquare:active,.btn-foursquare.active,.open>.dropdown-toggle.btn-foursquare{background-image:none}.btn-foursquare .badge{color:#f94877;background-color:#fff}.btn-github{color:#fff;background-color:#444;border-color:rgba(0,0,0,0.2)}.btn-github:focus,.btn-github.focus{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)}.btn-github:hover{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)}.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{color:#fff;background-color:#2b2b2b;border-color:rgba(0,0,0,0.2)}.btn-github:active,.btn-github.active,.open>.dropdown-toggle.btn-github{background-image:none}.btn-github .badge{color:#444;background-color:#fff}.btn-google{color:#fff;background-color:#dd4b39;border-color:rgba(0,0,0,0.2)}.btn-google:focus,.btn-google.focus{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)}.btn-google:hover{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)}.btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{color:#fff;background-color:#c23321;border-color:rgba(0,0,0,0.2)}.btn-google:active,.btn-google.active,.open>.dropdown-toggle.btn-google{background-image:none}.btn-google .badge{color:#dd4b39;background-color:#fff}.btn-instagram{color:#fff;background-color:#3f729b;border-color:rgba(0,0,0,0.2)}.btn-instagram:focus,.btn-instagram.focus{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)}.btn-instagram:hover{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)}.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2)}.btn-instagram:active,.btn-instagram.active,.open>.dropdown-toggle.btn-instagram{background-image:none}.btn-instagram .badge{color:#3f729b;background-color:#fff}.btn-linkedin{color:#fff;background-color:#007bb6;border-color:rgba(0,0,0,0.2)}.btn-linkedin:focus,.btn-linkedin.focus{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)}.btn-linkedin:hover{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)}.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2)}.btn-linkedin:active,.btn-linkedin.active,.open>.dropdown-toggle.btn-linkedin{background-image:none}.btn-linkedin .badge{color:#007bb6;background-color:#fff}.btn-microsoft{color:#fff;background-color:#2672ec;border-color:rgba(0,0,0,0.2)}.btn-microsoft:focus,.btn-microsoft.focus{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)}.btn-microsoft:hover{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)}.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2)}.btn-microsoft:active,.btn-microsoft.active,.open>.dropdown-toggle.btn-microsoft{background-image:none}.btn-microsoft .badge{color:#2672ec;background-color:#fff}.btn-openid{color:#fff;background-color:#f7931e;border-color:rgba(0,0,0,0.2)}.btn-openid:focus,.btn-openid.focus{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)}.btn-openid:hover{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)}.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{color:#fff;background-color:#da7908;border-color:rgba(0,0,0,0.2)}.btn-openid:active,.btn-openid.active,.open>.dropdown-toggle.btn-openid{background-image:none}.btn-openid .badge{color:#f7931e;background-color:#fff}.btn-pinterest{color:#fff;background-color:#cb2027;border-color:rgba(0,0,0,0.2)}.btn-pinterest:focus,.btn-pinterest.focus{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)}.btn-pinterest:hover{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)}.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{color:#fff;background-color:#9f191f;border-color:rgba(0,0,0,0.2)}.btn-pinterest:active,.btn-pinterest.active,.open>.dropdown-toggle.btn-pinterest{background-image:none}.btn-pinterest .badge{color:#cb2027;background-color:#fff}.btn-reddit{color:#000;background-color:#eff7ff;border-color:rgba(0,0,0,0.2)}.btn-reddit:focus,.btn-reddit.focus{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)}.btn-reddit:hover{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)}.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{color:#000;background-color:#bcddff;border-color:rgba(0,0,0,0.2)}.btn-reddit:active,.btn-reddit.active,.open>.dropdown-toggle.btn-reddit{background-image:none}.btn-reddit .badge{color:#eff7ff;background-color:#000}.btn-soundcloud{color:#fff;background-color:#f50;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:focus,.btn-soundcloud.focus{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:hover{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2)}.btn-soundcloud:active,.btn-soundcloud.active,.open>.dropdown-toggle.btn-soundcloud{background-image:none}.btn-soundcloud .badge{color:#f50;background-color:#fff}.btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2)}.btn-tumblr:focus,.btn-tumblr.focus{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)}.btn-tumblr:hover{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)}.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2)}.btn-tumblr:active,.btn-tumblr.active,.open>.dropdown-toggle.btn-tumblr{background-image:none}.btn-tumblr .badge{color:#2c4762;background-color:#fff}.btn-twitter{color:#fff;background-color:#55acee;border-color:rgba(0,0,0,0.2)}.btn-twitter:focus,.btn-twitter.focus{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)}.btn-twitter:hover{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)}.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2)}.btn-twitter:active,.btn-twitter.active,.open>.dropdown-toggle.btn-twitter{background-image:none}.btn-twitter .badge{color:#55acee;background-color:#fff}.btn-vimeo{color:#fff;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2)}.btn-vimeo:focus,.btn-vimeo.focus{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)}.btn-vimeo:hover{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)}.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2)}.btn-vimeo:active,.btn-vimeo.active,.open>.dropdown-toggle.btn-vimeo{background-image:none}.btn-vimeo .badge{color:#1ab7ea;background-color:#fff}.btn-vk{color:#fff;background-color:#587ea3;border-color:rgba(0,0,0,0.2)}.btn-vk:focus,.btn-vk.focus{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)}.btn-vk:hover{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)}.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2)}.btn-vk:active,.btn-vk.active,.open>.dropdown-toggle.btn-vk{background-image:none}.btn-vk .badge{color:#587ea3;background-color:#fff}.btn-yahoo{color:#fff;background-color:#720e9e;border-color:rgba(0,0,0,0.2)}.btn-yahoo:focus,.btn-yahoo.focus{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)}.btn-yahoo:hover{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)}.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2)}.btn-yahoo:active,.btn-yahoo.active,.open>.dropdown-toggle.btn-yahoo{background-image:none}.btn-yahoo .badge{color:#720e9e;background-color:#fff}.fc-button{background:#f4f4f4;background-image:none;color:#444;border-color:#ddd;border-bottom-color:#ddd}.fc-button:hover,.fc-button:active,.fc-button.hover{background-color:#e9e9e9}.fc-header-title h2{font-size:15px;line-height:1.6em;color:#666;margin-left:10px}.fc-header-right{padding-right:10px}.fc-header-left{padding-left:10px}.fc-widget-header{background:#fafafa}.fc-grid{width:100%;border:0}.fc-widget-header:first-of-type,.fc-widget-content:first-of-type{border-left:0;border-right:0}.fc-widget-header:last-of-type,.fc-widget-content:last-of-type{border-right:0}.fc-toolbar{padding:10px;margin:0}.fc-day-number{font-size:20px;font-weight:300;padding-right:10px}.fc-color-picker{list-style:none;margin:0;padding:0}.fc-color-picker>li{float:left;font-size:30px;margin-right:5px;line-height:30px}.fc-color-picker>li .fa{-webkit-transition:-webkit-transform linear .3s;-moz-transition:-moz-transform linear .3s;-o-transition:-o-transform linear .3s;transition:transform linear .3s}.fc-color-picker>li .fa:hover{-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);-o-transform:rotate(30deg);transform:rotate(30deg)}#add-new-event{-webkit-transition:all linear .3s;-o-transition:all linear .3s;transition:all linear .3s}.external-event{padding:5px 10px;font-weight:bold;margin-bottom:4px;box-shadow:0 1px 1px rgba(0,0,0,0.1);text-shadow:0 1px 1px rgba(0,0,0,0.1);border-radius:3px;cursor:move}.external-event:hover{box-shadow:inset 0 0 90px rgba(0,0,0,0.2)}.select2-container--default.select2-container--focus,.select2-selection.select2-container--focus,.select2-container--default:focus,.select2-selection:focus,.select2-container--default:active,.select2-selection:active{outline:none}.select2-container--default .select2-selection--single,.select2-selection .select2-selection--single{border:1px solid #d2d6de;border-radius:0;padding:6px 12px;height:34px}.select2-container--default.select2-container--open{border-color:#3c8dbc}.select2-dropdown{border:1px solid #d2d6de;border-radius:0}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#3c8dbc;color:white}.select2-results__option{padding:6px 12px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{padding-left:0;padding-right:0;height:auto;margin-top:-4px}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:6px;padding-left:20px}.select2-container--default .select2-selection--single .select2-selection__arrow{height:28px;right:3px}.select2-container--default .select2-selection--single .select2-selection__arrow b{margin-top:0}.select2-dropdown .select2-search__field,.select2-search--inline .select2-search__field{border:1px solid #d2d6de}.select2-dropdown .select2-search__field:focus,.select2-search--inline .select2-search__field:focus{outline:none;border:1px solid #3c8dbc}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option[aria-selected=true],.select2-container--default .select2-results__option[aria-selected=true]:hover{color:#444}.select2-container--default .select2-selection--multiple{border:1px solid #d2d6de;border-radius:0}.select2-container--default .select2-selection--multiple:focus{border-color:#3c8dbc}.select2-container--default.select2-container--focus .select2-selection--multiple{border-color:#d2d6de}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#3c8dbc;border-color:#367fa9;padding:1px 10px;color:#fff}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{margin-right:5px;color:rgba(255,255,255,0.7)}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#fff}.select2-container .select2-selection--single .select2-selection__rendered{padding-right:10px}.pad{padding:10px}.margin{margin:10px}.margin-bottom{margin-bottom:20px}.margin-bottom-none{margin-bottom:0}.margin-r-5{margin-right:5px}.inline{display:inline}.description-block{display:block;margin:10px 0;text-align:center}.description-block.margin-bottom{margin-bottom:25px}.description-block>.description-header{margin:0;padding:0;font-weight:600;font-size:16px}.description-block>.description-text{text-transform:uppercase}.bg-red,.bg-yellow,.bg-aqua,.bg-blue,.bg-light-blue,.bg-green,.bg-navy,.bg-teal,.bg-olive,.bg-lime,.bg-orange,.bg-fuchsia,.bg-purple,.bg-maroon,.bg-black,.bg-red-active,.bg-yellow-active,.bg-aqua-active,.bg-blue-active,.bg-light-blue-active,.bg-green-active,.bg-navy-active,.bg-teal-active,.bg-olive-active,.bg-lime-active,.bg-orange-active,.bg-fuchsia-active,.bg-purple-active,.bg-maroon-active,.bg-black-active,.callout.callout-danger,.callout.callout-warning,.callout.callout-info,.callout.callout-success,.alert-success,.alert-danger,.alert-error,.alert-warning,.alert-info,.label-danger,.label-info,.label-warning,.label-primary,.label-success,.modal-primary .modal-body,.modal-primary .modal-header,.modal-primary .modal-footer,.modal-warning .modal-body,.modal-warning .modal-header,.modal-warning .modal-footer,.modal-info .modal-body,.modal-info .modal-header,.modal-info .modal-footer,.modal-success .modal-body,.modal-success .modal-header,.modal-success .modal-footer,.modal-danger .modal-body,.modal-danger .modal-header,.modal-danger .modal-footer{color:#fff !important}.bg-gray{color:#000;background-color:#d2d6de !important}.bg-gray-light{background-color:#f7f7f7}.bg-black{background-color:#111 !important}.bg-red,.callout.callout-danger,.alert-danger,.alert-error,.label-danger,.modal-danger .modal-body{background-color:#dd4b39 !important}.bg-yellow,.callout.callout-warning,.alert-warning,.label-warning,.modal-warning .modal-body{background-color:#f39c12 !important}.bg-aqua,.callout.callout-info,.alert-info,.label-info,.modal-info .modal-body{background-color:#00c0ef !important}.bg-blue{background-color:#0073b7 !important}.bg-light-blue,.label-primary,.modal-primary .modal-body{background-color:#3c8dbc !important}.bg-green,.callout.callout-success,.alert-success,.label-success,.modal-success .modal-body{background-color:#00a65a !important}.bg-navy{background-color:#001f3f !important}.bg-teal{background-color:#39cccc !important}.bg-olive{background-color:#3d9970 !important}.bg-lime{background-color:#01ff70 !important}.bg-orange{background-color:#ff851b !important}.bg-fuchsia{background-color:#f012be !important}.bg-purple{background-color:#605ca8 !important}.bg-maroon{background-color:#d81b60 !important}.bg-gray-active{color:#000;background-color:#b5bbc8 !important}.bg-black-active{background-color:#000 !important}.bg-red-active,.modal-danger .modal-header,.modal-danger .modal-footer{background-color:#d33724 !important}.bg-yellow-active,.modal-warning .modal-header,.modal-warning .modal-footer{background-color:#db8b0b !important}.bg-aqua-active,.modal-info .modal-header,.modal-info .modal-footer{background-color:#00a7d0 !important}.bg-blue-active{background-color:#005384 !important}.bg-light-blue-active,.modal-primary .modal-header,.modal-primary .modal-footer{background-color:#357ca5 !important}.bg-green-active,.modal-success .modal-header,.modal-success .modal-footer{background-color:#008d4c !important}.bg-navy-active{background-color:#001a35 !important}.bg-teal-active{background-color:#30bbbb !important}.bg-olive-active{background-color:#368763 !important}.bg-lime-active{background-color:#00e765 !important}.bg-orange-active{background-color:#ff7701 !important}.bg-fuchsia-active{background-color:#db0ead !important}.bg-purple-active{background-color:#555299 !important}.bg-maroon-active{background-color:#ca195a !important}[class^="bg-"].disabled{opacity:.65;filter:alpha(opacity=65)}.text-red{color:#dd4b39 !important}.text-yellow{color:#f39c12 !important}.text-aqua{color:#00c0ef !important}.text-blue{color:#0073b7 !important}.text-black{color:#111 !important}.text-light-blue{color:#3c8dbc !important}.text-green{color:#00a65a !important}.text-gray{color:#d2d6de !important}.text-navy{color:#001f3f !important}.text-teal{color:#39cccc !important}.text-olive{color:#3d9970 !important}.text-lime{color:#01ff70 !important}.text-orange{color:#ff851b !important}.text-fuchsia{color:#f012be !important}.text-purple{color:#605ca8 !important}.text-maroon{color:#d81b60 !important}.link-muted{color:#7a869d}.link-muted:hover,.link-muted:focus{color:#606c84}.link-black{color:#666}.link-black:hover,.link-black:focus{color:#999}.hide{display:none !important}.no-border{border:0 !important}.no-padding{padding:0 !important}.no-margin{margin:0 !important}.no-shadow{box-shadow:none !important}.list-unstyled,.chart-legend,.contacts-list,.users-list,.mailbox-attachments{list-style:none;margin:0;padding:0}.list-group-unbordered>.list-group-item{border-left:0;border-right:0;border-radius:0;padding-left:0;padding-right:0}.flat{border-radius:0 !important}.text-bold,.text-bold.table td,.text-bold.table th{font-weight:700}.text-sm{font-size:12px}.jqstooltip{padding:5px !important;width:auto !important;height:auto !important}.bg-teal-gradient{background:#39cccc !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #39cccc), color-stop(1, #7adddd)) !important;background:-ms-linear-gradient(bottom, #39cccc, #7adddd) !important;background:-moz-linear-gradient(center bottom, #39cccc 0, #7adddd 100%) !important;background:-o-linear-gradient(#7adddd, #39cccc) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#7adddd', endColorstr='#39cccc', GradientType=0) !important;color:#fff}.bg-light-blue-gradient{background:#3c8dbc !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #3c8dbc), color-stop(1, #67a8ce)) !important;background:-ms-linear-gradient(bottom, #3c8dbc, #67a8ce) !important;background:-moz-linear-gradient(center bottom, #3c8dbc 0, #67a8ce 100%) !important;background:-o-linear-gradient(#67a8ce, #3c8dbc) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#67a8ce', endColorstr='#3c8dbc', GradientType=0) !important;color:#fff}.bg-blue-gradient{background:#0073b7 !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #0073b7), color-stop(1, #0089db)) !important;background:-ms-linear-gradient(bottom, #0073b7, #0089db) !important;background:-moz-linear-gradient(center bottom, #0073b7 0, #0089db 100%) !important;background:-o-linear-gradient(#0089db, #0073b7) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0089db', endColorstr='#0073b7', GradientType=0) !important;color:#fff}.bg-aqua-gradient{background:#00c0ef !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #00c0ef), color-stop(1, #14d1ff)) !important;background:-ms-linear-gradient(bottom, #00c0ef, #14d1ff) !important;background:-moz-linear-gradient(center bottom, #00c0ef 0, #14d1ff 100%) !important;background:-o-linear-gradient(#14d1ff, #00c0ef) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#14d1ff', endColorstr='#00c0ef', GradientType=0) !important;color:#fff}.bg-yellow-gradient{background:#f39c12 !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #f39c12), color-stop(1, #f7bc60)) !important;background:-ms-linear-gradient(bottom, #f39c12, #f7bc60) !important;background:-moz-linear-gradient(center bottom, #f39c12 0, #f7bc60 100%) !important;background:-o-linear-gradient(#f7bc60, #f39c12) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7bc60', endColorstr='#f39c12', GradientType=0) !important;color:#fff}.bg-purple-gradient{background:#605ca8 !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #605ca8), color-stop(1, #9491c4)) !important;background:-ms-linear-gradient(bottom, #605ca8, #9491c4) !important;background:-moz-linear-gradient(center bottom, #605ca8 0, #9491c4 100%) !important;background:-o-linear-gradient(#9491c4, #605ca8) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9491c4', endColorstr='#605ca8', GradientType=0) !important;color:#fff}.bg-green-gradient{background:#00a65a !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #00a65a), color-stop(1, #00ca6d)) !important;background:-ms-linear-gradient(bottom, #00a65a, #00ca6d) !important;background:-moz-linear-gradient(center bottom, #00a65a 0, #00ca6d 100%) !important;background:-o-linear-gradient(#00ca6d, #00a65a) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ca6d', endColorstr='#00a65a', GradientType=0) !important;color:#fff}.bg-red-gradient{background:#dd4b39 !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #dd4b39), color-stop(1, #e47365)) !important;background:-ms-linear-gradient(bottom, #dd4b39, #e47365) !important;background:-moz-linear-gradient(center bottom, #dd4b39 0, #e47365 100%) !important;background:-o-linear-gradient(#e47365, #dd4b39) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e47365', endColorstr='#dd4b39', GradientType=0) !important;color:#fff}.bg-black-gradient{background:#111 !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #111), color-stop(1, #2b2b2b)) !important;background:-ms-linear-gradient(bottom, #111, #2b2b2b) !important;background:-moz-linear-gradient(center bottom, #111 0, #2b2b2b 100%) !important;background:-o-linear-gradient(#2b2b2b, #111) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2b2b2b', endColorstr='#111111', GradientType=0) !important;color:#fff}.bg-maroon-gradient{background:#d81b60 !important;background:-webkit-gradient(linear, left bottom, left top, color-stop(0, #d81b60), color-stop(1, #e73f7c)) !important;background:-ms-linear-gradient(bottom, #d81b60, #e73f7c) !important;background:-moz-linear-gradient(center bottom, #d81b60 0, #e73f7c 100%) !important;background:-o-linear-gradient(#e73f7c, #d81b60) !important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e73f7c', endColorstr='#d81b60', GradientType=0) !important;color:#fff}.description-block .description-icon{font-size:16px}.no-pad-top{padding-top:0}.position-static{position:static !important}.list-header{font-size:15px;padding:10px 4px;font-weight:bold;color:#666}.list-seperator{height:1px;background:#f4f4f4;margin:15px 0 9px 0}.list-link>a{padding:4px;color:#777}.list-link>a:hover{color:#222}.font-light{font-weight:300}.user-block:before,.user-block:after{content:" ";display:table}.user-block:after{clear:both}.user-block img{width:40px;height:40px;float:left}.user-block .username,.user-block .description,.user-block .comment{display:block;margin-left:50px}.user-block .username{font-size:16px;font-weight:600}.user-block .description{color:#999;font-size:13px}.user-block.user-block-sm .username,.user-block.user-block-sm .description,.user-block.user-block-sm .comment{margin-left:40px}.user-block.user-block-sm .username{font-size:14px}.img-sm,.img-md,.img-lg,.box-comments .box-comment img,.user-block.user-block-sm img{float:left}.img-sm,.box-comments .box-comment img,.user-block.user-block-sm img{width:30px !important;height:30px !important}.img-sm+.img-push{margin-left:40px}.img-md{width:60px;height:60px}.img-md+.img-push{margin-left:70px}.img-lg{width:100px;height:100px}.img-lg+.img-push{margin-left:110px}.img-bordered{border:3px solid #d2d6de;padding:3px}.img-bordered-sm{border:2px solid #d2d6de;padding:2px}.attachment-block{border:1px solid #f4f4f4;padding:5px;margin-bottom:10px;background:#f7f7f7}.attachment-block .attachment-img{max-width:100px;max-height:100px;height:auto;float:left}.attachment-block .attachment-pushed{margin-left:110px}.attachment-block .attachment-heading{margin:0}.attachment-block .attachment-text{color:#555}.connectedSortable{min-height:100px}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sort-highlight{background:#f4f4f4;border:1px dashed #ddd;margin-bottom:10px}.full-opacity-hover{opacity:.65;filter:alpha(opacity=65)}.full-opacity-hover:hover{opacity:1;filter:alpha(opacity=100)}.chart{position:relative;overflow:hidden;width:100%}.chart svg,.chart canvas{width:100% !important}@media print{.no-print,.main-sidebar,.left-side,.main-header,.content-header{display:none !important}.content-wrapper,.right-side,.main-footer{margin-left:0 !important;min-height:0 !important;-webkit-transform:translate(0, 0) !important;-ms-transform:translate(0, 0) !important;-o-transform:translate(0, 0) !important;transform:translate(0, 0) !important}.fixed .content-wrapper,.fixed .right-side{padding-top:0 !important}.invoice{width:100%;border:0;margin:0;padding:0}.invoice-col{float:left;width:33.3333333%}.table-responsive{overflow:auto}.table-responsive>.table tr th,.table-responsive>.table tr td{white-space:normal !important}} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/all-skins.min.css b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/all-skins.min.css new file mode 100644 index 00000000..e1d2398f --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/all-skins.min.css @@ -0,0 +1 @@ +.skin-blue .main-header .navbar{background-color:#3c8dbc}.skin-blue .main-header .navbar .nav>li>a{color:#fff}.skin-blue .main-header .navbar .nav>li>a:hover,.skin-blue .main-header .navbar .nav>li>a:active,.skin-blue .main-header .navbar .nav>li>a:focus,.skin-blue .main-header .navbar .nav .open>a,.skin-blue .main-header .navbar .nav .open>a:hover,.skin-blue .main-header .navbar .nav .open>a:focus,.skin-blue .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-blue .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-blue .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue .main-header .navbar .sidebar-toggle:hover{background-color:#367fa9}@media (max-width:767px){.skin-blue .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-blue .main-header .navbar .dropdown-menu li a{color:#fff}.skin-blue .main-header .navbar .dropdown-menu li a:hover{background:#367fa9}}.skin-blue .main-header .logo{background-color:#367fa9;color:#fff;border-bottom:0 solid transparent}.skin-blue .main-header .logo:hover{background-color:#357ca5}.skin-blue .main-header li.user-header{background-color:#3c8dbc}.skin-blue .content-header{background:transparent}.skin-blue .wrapper,.skin-blue .main-sidebar,.skin-blue .left-side{background-color:#222d32}.skin-blue .user-panel>.info,.skin-blue .user-panel>.info>a{color:#fff}.skin-blue .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-blue .sidebar-menu>li>a{border-left:3px solid transparent}.skin-blue .sidebar-menu>li:hover>a,.skin-blue .sidebar-menu>li.active>a{color:#fff;background:#1e282c;border-left-color:#3c8dbc}.skin-blue .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-blue .sidebar a{color:#b8c7ce}.skin-blue .sidebar a:hover{text-decoration:none}.skin-blue .treeview-menu>li>a{color:#8aa4af}.skin-blue .treeview-menu>li.active>a,.skin-blue .treeview-menu>li>a:hover{color:#fff}.skin-blue .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-blue .sidebar-form input[type="text"],.skin-blue .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-blue .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-blue .sidebar-form input[type="text"]:focus,.skin-blue .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-blue .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-blue .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-blue.layout-top-nav .main-header>.logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue.layout-top-nav .main-header>.logo:hover{background-color:#3b8ab8}.skin-blue-light .main-header .navbar{background-color:#3c8dbc}.skin-blue-light .main-header .navbar .nav>li>a{color:#fff}.skin-blue-light .main-header .navbar .nav>li>a:hover,.skin-blue-light .main-header .navbar .nav>li>a:active,.skin-blue-light .main-header .navbar .nav>li>a:focus,.skin-blue-light .main-header .navbar .nav .open>a,.skin-blue-light .main-header .navbar .nav .open>a:hover,.skin-blue-light .main-header .navbar .nav .open>a:focus,.skin-blue-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-blue-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-blue-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-blue-light .main-header .navbar .sidebar-toggle:hover{background-color:#367fa9}@media (max-width:767px){.skin-blue-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-blue-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-blue-light .main-header .navbar .dropdown-menu li a:hover{background:#367fa9}}.skin-blue-light .main-header .logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue-light .main-header .logo:hover{background-color:#3b8ab8}.skin-blue-light .main-header li.user-header{background-color:#3c8dbc}.skin-blue-light .content-header{background:transparent}.skin-blue-light .wrapper,.skin-blue-light .main-sidebar,.skin-blue-light .left-side{background-color:#f9fafc}.skin-blue-light .content-wrapper,.skin-blue-light .main-footer{border-left:1px solid #d2d6de}.skin-blue-light .user-panel>.info,.skin-blue-light .user-panel>.info>a{color:#444}.skin-blue-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-blue-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-blue-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-blue-light .sidebar-menu>li:hover>a,.skin-blue-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-blue-light .sidebar-menu>li.active{border-left-color:#3c8dbc}.skin-blue-light .sidebar-menu>li.active>a{font-weight:600}.skin-blue-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-blue-light .sidebar a{color:#444}.skin-blue-light .sidebar a:hover{text-decoration:none}.skin-blue-light .treeview-menu>li>a{color:#777}.skin-blue-light .treeview-menu>li.active>a,.skin-blue-light .treeview-menu>li>a:hover{color:#000}.skin-blue-light .treeview-menu>li.active>a{font-weight:600}.skin-blue-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-blue-light .sidebar-form input[type="text"],.skin-blue-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-blue-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-blue-light .sidebar-form input[type="text"]:focus,.skin-blue-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-blue-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-blue-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-blue-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}.skin-blue-light .main-footer{border-top-color:#d2d6de}.skin-blue.layout-top-nav .main-header>.logo{background-color:#3c8dbc;color:#fff;border-bottom:0 solid transparent}.skin-blue.layout-top-nav .main-header>.logo:hover{background-color:#3b8ab8}.skin-black .main-header{-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.skin-black .main-header .navbar-toggle{color:#333}.skin-black .main-header .navbar-brand{color:#333;border-right:1px solid #eee}.skin-black .main-header .navbar{background-color:#fff}.skin-black .main-header .navbar .nav>li>a{color:#333}.skin-black .main-header .navbar .nav>li>a:hover,.skin-black .main-header .navbar .nav>li>a:active,.skin-black .main-header .navbar .nav>li>a:focus,.skin-black .main-header .navbar .nav .open>a,.skin-black .main-header .navbar .nav .open>a:hover,.skin-black .main-header .navbar .nav .open>a:focus,.skin-black .main-header .navbar .nav>.active>a{background:#fff;color:#999}.skin-black .main-header .navbar .sidebar-toggle{color:#333}.skin-black .main-header .navbar .sidebar-toggle:hover{color:#999;background:#fff}.skin-black .main-header .navbar>.sidebar-toggle{color:#333;border-right:1px solid #eee}.skin-black .main-header .navbar .navbar-nav>li>a{border-right:1px solid #eee}.skin-black .main-header .navbar .navbar-custom-menu .navbar-nav>li>a,.skin-black .main-header .navbar .navbar-right>li>a{border-left:1px solid #eee;border-right-width:0}.skin-black .main-header>.logo{background-color:#fff;color:#333;border-bottom:0 solid transparent;border-right:1px solid #eee}.skin-black .main-header>.logo:hover{background-color:#fcfcfc}@media (max-width:767px){.skin-black .main-header>.logo{background-color:#222;color:#fff;border-bottom:0 solid transparent;border-right:none}.skin-black .main-header>.logo:hover{background-color:#1f1f1f}}.skin-black .main-header li.user-header{background-color:#222}.skin-black .content-header{background:transparent;box-shadow:none}.skin-black .wrapper,.skin-black .main-sidebar,.skin-black .left-side{background-color:#222d32}.skin-black .user-panel>.info,.skin-black .user-panel>.info>a{color:#fff}.skin-black .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-black .sidebar-menu>li>a{border-left:3px solid transparent}.skin-black .sidebar-menu>li:hover>a,.skin-black .sidebar-menu>li.active>a{color:#fff;background:#1e282c;border-left-color:#fff}.skin-black .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-black .sidebar a{color:#b8c7ce}.skin-black .sidebar a:hover{text-decoration:none}.skin-black .treeview-menu>li>a{color:#8aa4af}.skin-black .treeview-menu>li.active>a,.skin-black .treeview-menu>li>a:hover{color:#fff}.skin-black .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-black .sidebar-form input[type="text"],.skin-black .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-black .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-black .sidebar-form input[type="text"]:focus,.skin-black .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-black .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-black .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-black .pace .pace-progress{background:#222}.skin-black .pace .pace-activity{border-top-color:#222;border-left-color:#222}.skin-black-light .main-header{-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.skin-black-light .main-header .navbar-toggle{color:#333}.skin-black-light .main-header .navbar-brand{color:#333;border-right:1px solid #eee}.skin-black-light .main-header .navbar{background-color:#fff}.skin-black-light .main-header .navbar .nav>li>a{color:#333}.skin-black-light .main-header .navbar .nav>li>a:hover,.skin-black-light .main-header .navbar .nav>li>a:active,.skin-black-light .main-header .navbar .nav>li>a:focus,.skin-black-light .main-header .navbar .nav .open>a,.skin-black-light .main-header .navbar .nav .open>a:hover,.skin-black-light .main-header .navbar .nav .open>a:focus,.skin-black-light .main-header .navbar .nav>.active>a{background:#fff;color:#999}.skin-black-light .main-header .navbar .sidebar-toggle{color:#333}.skin-black-light .main-header .navbar .sidebar-toggle:hover{color:#999;background:#fff}.skin-black-light .main-header .navbar>.sidebar-toggle{color:#333;border-right:1px solid #eee}.skin-black-light .main-header .navbar .navbar-nav>li>a{border-right:1px solid #eee}.skin-black-light .main-header .navbar .navbar-custom-menu .navbar-nav>li>a,.skin-black-light .main-header .navbar .navbar-right>li>a{border-left:1px solid #eee;border-right-width:0}.skin-black-light .main-header>.logo{background-color:#fff;color:#333;border-bottom:0 solid transparent;border-right:1px solid #eee}.skin-black-light .main-header>.logo:hover{background-color:#fcfcfc}@media (max-width:767px){.skin-black-light .main-header>.logo{background-color:#222;color:#fff;border-bottom:0 solid transparent;border-right:none}.skin-black-light .main-header>.logo:hover{background-color:#1f1f1f}}.skin-black-light .main-header li.user-header{background-color:#222}.skin-black-light .content-header{background:transparent;box-shadow:none}.skin-black-light .wrapper,.skin-black-light .main-sidebar,.skin-black-light .left-side{background-color:#f9fafc}.skin-black-light .content-wrapper,.skin-black-light .main-footer{border-left:1px solid #d2d6de}.skin-black-light .user-panel>.info,.skin-black-light .user-panel>.info>a{color:#444}.skin-black-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-black-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-black-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-black-light .sidebar-menu>li:hover>a,.skin-black-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-black-light .sidebar-menu>li.active{border-left-color:#fff}.skin-black-light .sidebar-menu>li.active>a{font-weight:600}.skin-black-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-black-light .sidebar a{color:#444}.skin-black-light .sidebar a:hover{text-decoration:none}.skin-black-light .treeview-menu>li>a{color:#777}.skin-black-light .treeview-menu>li.active>a,.skin-black-light .treeview-menu>li>a:hover{color:#000}.skin-black-light .treeview-menu>li.active>a{font-weight:600}.skin-black-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-black-light .sidebar-form input[type="text"],.skin-black-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-black-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-black-light .sidebar-form input[type="text"]:focus,.skin-black-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-black-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-black-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-black-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}.skin-green .main-header .navbar{background-color:#00a65a}.skin-green .main-header .navbar .nav>li>a{color:#fff}.skin-green .main-header .navbar .nav>li>a:hover,.skin-green .main-header .navbar .nav>li>a:active,.skin-green .main-header .navbar .nav>li>a:focus,.skin-green .main-header .navbar .nav .open>a,.skin-green .main-header .navbar .nav .open>a:hover,.skin-green .main-header .navbar .nav .open>a:focus,.skin-green .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-green .main-header .navbar .sidebar-toggle{color:#fff}.skin-green .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-green .main-header .navbar .sidebar-toggle{color:#fff}.skin-green .main-header .navbar .sidebar-toggle:hover{background-color:#008d4c}@media (max-width:767px){.skin-green .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-green .main-header .navbar .dropdown-menu li a{color:#fff}.skin-green .main-header .navbar .dropdown-menu li a:hover{background:#008d4c}}.skin-green .main-header .logo{background-color:#008d4c;color:#fff;border-bottom:0 solid transparent}.skin-green .main-header .logo:hover{background-color:#008749}.skin-green .main-header li.user-header{background-color:#00a65a}.skin-green .content-header{background:transparent}.skin-green .wrapper,.skin-green .main-sidebar,.skin-green .left-side{background-color:#222d32}.skin-green .user-panel>.info,.skin-green .user-panel>.info>a{color:#fff}.skin-green .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-green .sidebar-menu>li>a{border-left:3px solid transparent}.skin-green .sidebar-menu>li:hover>a,.skin-green .sidebar-menu>li.active>a{color:#fff;background:#1e282c;border-left-color:#00a65a}.skin-green .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-green .sidebar a{color:#b8c7ce}.skin-green .sidebar a:hover{text-decoration:none}.skin-green .treeview-menu>li>a{color:#8aa4af}.skin-green .treeview-menu>li.active>a,.skin-green .treeview-menu>li>a:hover{color:#fff}.skin-green .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-green .sidebar-form input[type="text"],.skin-green .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-green .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-green .sidebar-form input[type="text"]:focus,.skin-green .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-green .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-green .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-green-light .main-header .navbar{background-color:#00a65a}.skin-green-light .main-header .navbar .nav>li>a{color:#fff}.skin-green-light .main-header .navbar .nav>li>a:hover,.skin-green-light .main-header .navbar .nav>li>a:active,.skin-green-light .main-header .navbar .nav>li>a:focus,.skin-green-light .main-header .navbar .nav .open>a,.skin-green-light .main-header .navbar .nav .open>a:hover,.skin-green-light .main-header .navbar .nav .open>a:focus,.skin-green-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-green-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-green-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-green-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-green-light .main-header .navbar .sidebar-toggle:hover{background-color:#008d4c}@media (max-width:767px){.skin-green-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-green-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-green-light .main-header .navbar .dropdown-menu li a:hover{background:#008d4c}}.skin-green-light .main-header .logo{background-color:#00a65a;color:#fff;border-bottom:0 solid transparent}.skin-green-light .main-header .logo:hover{background-color:#00a157}.skin-green-light .main-header li.user-header{background-color:#00a65a}.skin-green-light .content-header{background:transparent}.skin-green-light .wrapper,.skin-green-light .main-sidebar,.skin-green-light .left-side{background-color:#f9fafc}.skin-green-light .content-wrapper,.skin-green-light .main-footer{border-left:1px solid #d2d6de}.skin-green-light .user-panel>.info,.skin-green-light .user-panel>.info>a{color:#444}.skin-green-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-green-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-green-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-green-light .sidebar-menu>li:hover>a,.skin-green-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-green-light .sidebar-menu>li.active{border-left-color:#00a65a}.skin-green-light .sidebar-menu>li.active>a{font-weight:600}.skin-green-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-green-light .sidebar a{color:#444}.skin-green-light .sidebar a:hover{text-decoration:none}.skin-green-light .treeview-menu>li>a{color:#777}.skin-green-light .treeview-menu>li.active>a,.skin-green-light .treeview-menu>li>a:hover{color:#000}.skin-green-light .treeview-menu>li.active>a{font-weight:600}.skin-green-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-green-light .sidebar-form input[type="text"],.skin-green-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-green-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-green-light .sidebar-form input[type="text"]:focus,.skin-green-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-green-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-green-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-green-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}.skin-red .main-header .navbar{background-color:#dd4b39}.skin-red .main-header .navbar .nav>li>a{color:#fff}.skin-red .main-header .navbar .nav>li>a:hover,.skin-red .main-header .navbar .nav>li>a:active,.skin-red .main-header .navbar .nav>li>a:focus,.skin-red .main-header .navbar .nav .open>a,.skin-red .main-header .navbar .nav .open>a:hover,.skin-red .main-header .navbar .nav .open>a:focus,.skin-red .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-red .main-header .navbar .sidebar-toggle{color:#fff}.skin-red .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-red .main-header .navbar .sidebar-toggle{color:#fff}.skin-red .main-header .navbar .sidebar-toggle:hover{background-color:#d73925}@media (max-width:767px){.skin-red .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-red .main-header .navbar .dropdown-menu li a{color:#fff}.skin-red .main-header .navbar .dropdown-menu li a:hover{background:#d73925}}.skin-red .main-header .logo{background-color:#d73925;color:#fff;border-bottom:0 solid transparent}.skin-red .main-header .logo:hover{background-color:#d33724}.skin-red .main-header li.user-header{background-color:#dd4b39}.skin-red .content-header{background:transparent}.skin-red .wrapper,.skin-red .main-sidebar,.skin-red .left-side{background-color:#222d32}.skin-red .user-panel>.info,.skin-red .user-panel>.info>a{color:#fff}.skin-red .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-red .sidebar-menu>li>a{border-left:3px solid transparent}.skin-red .sidebar-menu>li:hover>a,.skin-red .sidebar-menu>li.active>a{color:#fff;background:#1e282c;border-left-color:#dd4b39}.skin-red .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-red .sidebar a{color:#b8c7ce}.skin-red .sidebar a:hover{text-decoration:none}.skin-red .treeview-menu>li>a{color:#8aa4af}.skin-red .treeview-menu>li.active>a,.skin-red .treeview-menu>li>a:hover{color:#fff}.skin-red .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-red .sidebar-form input[type="text"],.skin-red .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-red .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-red .sidebar-form input[type="text"]:focus,.skin-red .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-red .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-red .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-red-light .main-header .navbar{background-color:#dd4b39}.skin-red-light .main-header .navbar .nav>li>a{color:#fff}.skin-red-light .main-header .navbar .nav>li>a:hover,.skin-red-light .main-header .navbar .nav>li>a:active,.skin-red-light .main-header .navbar .nav>li>a:focus,.skin-red-light .main-header .navbar .nav .open>a,.skin-red-light .main-header .navbar .nav .open>a:hover,.skin-red-light .main-header .navbar .nav .open>a:focus,.skin-red-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-red-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-red-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-red-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-red-light .main-header .navbar .sidebar-toggle:hover{background-color:#d73925}@media (max-width:767px){.skin-red-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-red-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-red-light .main-header .navbar .dropdown-menu li a:hover{background:#d73925}}.skin-red-light .main-header .logo{background-color:#dd4b39;color:#fff;border-bottom:0 solid transparent}.skin-red-light .main-header .logo:hover{background-color:#dc4735}.skin-red-light .main-header li.user-header{background-color:#dd4b39}.skin-red-light .content-header{background:transparent}.skin-red-light .wrapper,.skin-red-light .main-sidebar,.skin-red-light .left-side{background-color:#f9fafc}.skin-red-light .content-wrapper,.skin-red-light .main-footer{border-left:1px solid #d2d6de}.skin-red-light .user-panel>.info,.skin-red-light .user-panel>.info>a{color:#444}.skin-red-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-red-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-red-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-red-light .sidebar-menu>li:hover>a,.skin-red-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-red-light .sidebar-menu>li.active{border-left-color:#dd4b39}.skin-red-light .sidebar-menu>li.active>a{font-weight:600}.skin-red-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-red-light .sidebar a{color:#444}.skin-red-light .sidebar a:hover{text-decoration:none}.skin-red-light .treeview-menu>li>a{color:#777}.skin-red-light .treeview-menu>li.active>a,.skin-red-light .treeview-menu>li>a:hover{color:#000}.skin-red-light .treeview-menu>li.active>a{font-weight:600}.skin-red-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-red-light .sidebar-form input[type="text"],.skin-red-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-red-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-red-light .sidebar-form input[type="text"]:focus,.skin-red-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-red-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-red-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-red-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}.skin-yellow .main-header .navbar{background-color:#f39c12}.skin-yellow .main-header .navbar .nav>li>a{color:#fff}.skin-yellow .main-header .navbar .nav>li>a:hover,.skin-yellow .main-header .navbar .nav>li>a:active,.skin-yellow .main-header .navbar .nav>li>a:focus,.skin-yellow .main-header .navbar .nav .open>a,.skin-yellow .main-header .navbar .nav .open>a:hover,.skin-yellow .main-header .navbar .nav .open>a:focus,.skin-yellow .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-yellow .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-yellow .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow .main-header .navbar .sidebar-toggle:hover{background-color:#e08e0b}@media (max-width:767px){.skin-yellow .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-yellow .main-header .navbar .dropdown-menu li a{color:#fff}.skin-yellow .main-header .navbar .dropdown-menu li a:hover{background:#e08e0b}}.skin-yellow .main-header .logo{background-color:#e08e0b;color:#fff;border-bottom:0 solid transparent}.skin-yellow .main-header .logo:hover{background-color:#db8b0b}.skin-yellow .main-header li.user-header{background-color:#f39c12}.skin-yellow .content-header{background:transparent}.skin-yellow .wrapper,.skin-yellow .main-sidebar,.skin-yellow .left-side{background-color:#222d32}.skin-yellow .user-panel>.info,.skin-yellow .user-panel>.info>a{color:#fff}.skin-yellow .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-yellow .sidebar-menu>li>a{border-left:3px solid transparent}.skin-yellow .sidebar-menu>li:hover>a,.skin-yellow .sidebar-menu>li.active>a{color:#fff;background:#1e282c;border-left-color:#f39c12}.skin-yellow .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-yellow .sidebar a{color:#b8c7ce}.skin-yellow .sidebar a:hover{text-decoration:none}.skin-yellow .treeview-menu>li>a{color:#8aa4af}.skin-yellow .treeview-menu>li.active>a,.skin-yellow .treeview-menu>li>a:hover{color:#fff}.skin-yellow .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-yellow .sidebar-form input[type="text"],.skin-yellow .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-yellow .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-yellow .sidebar-form input[type="text"]:focus,.skin-yellow .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-yellow .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-yellow .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-yellow-light .main-header .navbar{background-color:#f39c12}.skin-yellow-light .main-header .navbar .nav>li>a{color:#fff}.skin-yellow-light .main-header .navbar .nav>li>a:hover,.skin-yellow-light .main-header .navbar .nav>li>a:active,.skin-yellow-light .main-header .navbar .nav>li>a:focus,.skin-yellow-light .main-header .navbar .nav .open>a,.skin-yellow-light .main-header .navbar .nav .open>a:hover,.skin-yellow-light .main-header .navbar .nav .open>a:focus,.skin-yellow-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-yellow-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-yellow-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-yellow-light .main-header .navbar .sidebar-toggle:hover{background-color:#e08e0b}@media (max-width:767px){.skin-yellow-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-yellow-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-yellow-light .main-header .navbar .dropdown-menu li a:hover{background:#e08e0b}}.skin-yellow-light .main-header .logo{background-color:#f39c12;color:#fff;border-bottom:0 solid transparent}.skin-yellow-light .main-header .logo:hover{background-color:#f39a0d}.skin-yellow-light .main-header li.user-header{background-color:#f39c12}.skin-yellow-light .content-header{background:transparent}.skin-yellow-light .wrapper,.skin-yellow-light .main-sidebar,.skin-yellow-light .left-side{background-color:#f9fafc}.skin-yellow-light .content-wrapper,.skin-yellow-light .main-footer{border-left:1px solid #d2d6de}.skin-yellow-light .user-panel>.info,.skin-yellow-light .user-panel>.info>a{color:#444}.skin-yellow-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-yellow-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-yellow-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-yellow-light .sidebar-menu>li:hover>a,.skin-yellow-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-yellow-light .sidebar-menu>li.active{border-left-color:#f39c12}.skin-yellow-light .sidebar-menu>li.active>a{font-weight:600}.skin-yellow-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-yellow-light .sidebar a{color:#444}.skin-yellow-light .sidebar a:hover{text-decoration:none}.skin-yellow-light .treeview-menu>li>a{color:#777}.skin-yellow-light .treeview-menu>li.active>a,.skin-yellow-light .treeview-menu>li>a:hover{color:#000}.skin-yellow-light .treeview-menu>li.active>a{font-weight:600}.skin-yellow-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-yellow-light .sidebar-form input[type="text"],.skin-yellow-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-yellow-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-yellow-light .sidebar-form input[type="text"]:focus,.skin-yellow-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-yellow-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-yellow-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-yellow-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}}.skin-purple .main-header .navbar{background-color:#605ca8}.skin-purple .main-header .navbar .nav>li>a{color:#fff}.skin-purple .main-header .navbar .nav>li>a:hover,.skin-purple .main-header .navbar .nav>li>a:active,.skin-purple .main-header .navbar .nav>li>a:focus,.skin-purple .main-header .navbar .nav .open>a,.skin-purple .main-header .navbar .nav .open>a:hover,.skin-purple .main-header .navbar .nav .open>a:focus,.skin-purple .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-purple .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-purple .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple .main-header .navbar .sidebar-toggle:hover{background-color:#555299}@media (max-width:767px){.skin-purple .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-purple .main-header .navbar .dropdown-menu li a{color:#fff}.skin-purple .main-header .navbar .dropdown-menu li a:hover{background:#555299}}.skin-purple .main-header .logo{background-color:#555299;color:#fff;border-bottom:0 solid transparent}.skin-purple .main-header .logo:hover{background-color:#545096}.skin-purple .main-header li.user-header{background-color:#605ca8}.skin-purple .content-header{background:transparent}.skin-purple .wrapper,.skin-purple .main-sidebar,.skin-purple .left-side{background-color:#222d32}.skin-purple .user-panel>.info,.skin-purple .user-panel>.info>a{color:#fff}.skin-purple .sidebar-menu>li.header{color:#4b646f;background:#1a2226}.skin-purple .sidebar-menu>li>a{border-left:3px solid transparent}.skin-purple .sidebar-menu>li:hover>a,.skin-purple .sidebar-menu>li.active>a{color:#fff;background:#1e282c;border-left-color:#605ca8}.skin-purple .sidebar-menu>li>.treeview-menu{margin:0 1px;background:#2c3b41}.skin-purple .sidebar a{color:#b8c7ce}.skin-purple .sidebar a:hover{text-decoration:none}.skin-purple .treeview-menu>li>a{color:#8aa4af}.skin-purple .treeview-menu>li.active>a,.skin-purple .treeview-menu>li>a:hover{color:#fff}.skin-purple .sidebar-form{border-radius:3px;border:1px solid #374850;margin:10px 10px}.skin-purple .sidebar-form input[type="text"],.skin-purple .sidebar-form .btn{box-shadow:none;background-color:#374850;border:1px solid transparent;height:35px}.skin-purple .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-purple .sidebar-form input[type="text"]:focus,.skin-purple .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-purple .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-purple .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}.skin-purple-light .main-header .navbar{background-color:#605ca8}.skin-purple-light .main-header .navbar .nav>li>a{color:#fff}.skin-purple-light .main-header .navbar .nav>li>a:hover,.skin-purple-light .main-header .navbar .nav>li>a:active,.skin-purple-light .main-header .navbar .nav>li>a:focus,.skin-purple-light .main-header .navbar .nav .open>a,.skin-purple-light .main-header .navbar .nav .open>a:hover,.skin-purple-light .main-header .navbar .nav .open>a:focus,.skin-purple-light .main-header .navbar .nav>.active>a{background:rgba(0,0,0,0.1);color:#f6f6f6}.skin-purple-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple-light .main-header .navbar .sidebar-toggle:hover{color:#f6f6f6;background:rgba(0,0,0,0.1)}.skin-purple-light .main-header .navbar .sidebar-toggle{color:#fff}.skin-purple-light .main-header .navbar .sidebar-toggle:hover{background-color:#555299}@media (max-width:767px){.skin-purple-light .main-header .navbar .dropdown-menu li.divider{background-color:rgba(255,255,255,0.1)}.skin-purple-light .main-header .navbar .dropdown-menu li a{color:#fff}.skin-purple-light .main-header .navbar .dropdown-menu li a:hover{background:#555299}}.skin-purple-light .main-header .logo{background-color:#605ca8;color:#fff;border-bottom:0 solid transparent}.skin-purple-light .main-header .logo:hover{background-color:#5d59a6}.skin-purple-light .main-header li.user-header{background-color:#605ca8}.skin-purple-light .content-header{background:transparent}.skin-purple-light .wrapper,.skin-purple-light .main-sidebar,.skin-purple-light .left-side{background-color:#f9fafc}.skin-purple-light .content-wrapper,.skin-purple-light .main-footer{border-left:1px solid #d2d6de}.skin-purple-light .user-panel>.info,.skin-purple-light .user-panel>.info>a{color:#444}.skin-purple-light .sidebar-menu>li{-webkit-transition:border-left-color .3s ease;-o-transition:border-left-color .3s ease;transition:border-left-color .3s ease}.skin-purple-light .sidebar-menu>li.header{color:#848484;background:#f9fafc}.skin-purple-light .sidebar-menu>li>a{border-left:3px solid transparent;font-weight:600}.skin-purple-light .sidebar-menu>li:hover>a,.skin-purple-light .sidebar-menu>li.active>a{color:#000;background:#f4f4f5}.skin-purple-light .sidebar-menu>li.active{border-left-color:#605ca8}.skin-purple-light .sidebar-menu>li.active>a{font-weight:600}.skin-purple-light .sidebar-menu>li>.treeview-menu{background:#f4f4f5}.skin-purple-light .sidebar a{color:#444}.skin-purple-light .sidebar a:hover{text-decoration:none}.skin-purple-light .treeview-menu>li>a{color:#777}.skin-purple-light .treeview-menu>li.active>a,.skin-purple-light .treeview-menu>li>a:hover{color:#000}.skin-purple-light .treeview-menu>li.active>a{font-weight:600}.skin-purple-light .sidebar-form{border-radius:3px;border:1px solid #d2d6de;margin:10px 10px}.skin-purple-light .sidebar-form input[type="text"],.skin-purple-light .sidebar-form .btn{box-shadow:none;background-color:#fff;border:1px solid transparent;height:35px}.skin-purple-light .sidebar-form input[type="text"]{color:#666;border-top-left-radius:2px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:2px}.skin-purple-light .sidebar-form input[type="text"]:focus,.skin-purple-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{background-color:#fff;color:#666}.skin-purple-light .sidebar-form input[type="text"]:focus+.input-group-btn .btn{border-left-color:#fff}.skin-purple-light .sidebar-form .btn{color:#999;border-top-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:0}@media (min-width:768px){.skin-purple-light.sidebar-mini.sidebar-collapse .sidebar-menu>li>.treeview-menu{border-left:1px solid #d2d6de}} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/bootstrap.min.css b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/bootstrap.min.css new file mode 100644 index 00000000..ed3905e0 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/bootstrap.min.css @@ -0,0 +1,6 @@ +/*! + * Bootstrap v3.3.7 (http://getbootstrap.com) + * Copyright 2011-2016 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\002a"}.glyphicon-plus:before{content:"\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-btc:before{content:"\e227"}.glyphicon-xbt:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-jpy:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-rub:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;filter:alpha(opacity=0);opacity:0;line-break:auto}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);line-break:auto}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-block{display:block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline{display:inline!important}}@media (min-width:992px) and (max-width:1199px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1200px){.visible-lg-block{display:block!important}}@media (min-width:1200px){.visible-lg-inline{display:inline!important}}@media (min-width:1200px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}@media (min-width:1200px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} +/*# sourceMappingURL=bootstrap.min.css.map */ \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/font-awesome.min.css b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/font-awesome.min.css new file mode 100644 index 00000000..540440ce --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/font-awesome.min.css @@ -0,0 +1,4 @@ +/*! + * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome + * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) + */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/main.css b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/main.css new file mode 100644 index 00000000..a6ed176e --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/css/main.css @@ -0,0 +1,54 @@ +html { overflow-x:hidden; } +.content-header { + position: relative; + padding: 0 0 3px 8px +} + +.content-header>.breadcrumb { + position: relative; + top: 0; + right: 0; + float: none; + margin-top: 0px; + padding-left: 10px; + background: #ecf0f5; +} + +.main-footer { + padding: 7px; + color: #444; + border-top: 1px solid #eee; +} + +[v-cloak] { + display: none; +} + +.grid-btn{ + margin-bottom:12px; +} +.grid-btn .btn{ + margin-right:10px; +} +.pointer{cursor: pointer;} + +.ml-10 { margin-left:0 !important; } +@media (min-width: 768px) { + .ml-10 { margin-left:10px !important; } + .col-sm-10 {width: 70%;padding-left: 0px;} + .col-sm-2 {width: 24%;} +} +tbody > tr > th {font-weight: normal; } +.panel .table { margin:0 0; } +.panel .pagination { margin:0; } +.panel-default>.panel-heading {background-color: #f5f5f5;} +.row{ + border-top: 1px solid #ddd; + margin:0; + padding:20px 2px 0px 2px; +} +.col-xs-6{padding-left: 0px;padding-right: 0px;} +.form-horizontal .form-group {margin-left:0px;margin-right:0px;} +.form-horizontal{ + width:550px;padding-top:20px; +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/favicon.ico b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/favicon.ico new file mode 100644 index 00000000..2bd581ce Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/favicon.ico differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/FontAwesome.otf b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/FontAwesome.otf new file mode 100644 index 00000000..401ec0f3 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/FontAwesome.otf differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.eot b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.eot new file mode 100644 index 00000000..e9f60ca9 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.eot differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.svg b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.svg new file mode 100644 index 00000000..855c845e --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.svg @@ -0,0 +1,2671 @@ + + + + +Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016 + By ,,, +Copyright Dave Gandy 2016. All rights reserved. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.ttf b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.ttf new file mode 100644 index 00000000..35acda2f Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.ttf differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.woff b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.woff new file mode 100644 index 00000000..400014a4 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.woff differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.woff2 b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.woff2 new file mode 100644 index 00000000..4d13fc60 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/fontawesome-webfont.woff2 differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.eot b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 00000000..b93a4953 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.eot differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.svg b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 00000000..94fb5490 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.ttf b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 00000000..1413fc60 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.ttf differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.woff b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 00000000..9e612858 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.woff differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.woff2 b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 00000000..64539b54 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/common.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/common.js new file mode 100644 index 00000000..2594d4ca --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/common.js @@ -0,0 +1,83 @@ +//jqGrid的配置信息 +$.jgrid.defaults.width = 1000; +$.jgrid.defaults.responsive = true; +$.jgrid.defaults.styleUI = 'Bootstrap'; + +//工具集合Tools +window.T = {}; + +// 获取请求参数 +// 使用示例 +// location.href = http://localhost:8080/index.html?id=123 +// T.p('id') --> 123; +var url = function(name) { + var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); + var r = window.location.search.substr(1).match(reg); + if(r!=null)return unescape(r[2]); return null; +}; +T.p = url; + +//全局配置 +$.ajaxSetup({ + dataType: "json", + contentType: "application/json", + cache: false +}); + +function hasPermission(permission) { + if (window.parent.permissions.indexOf(permission) > -1) { + return true; + } else { + return false; + } +} + +//重写alert +window.alert = function(msg, callback){ + parent.layer.alert(msg, function(index){ + parent.layer.close(index); + if(typeof(callback) === "function"){ + callback("ok"); + } + }); +} + +//重写confirm式样框 +window.confirm = function(msg, callback){ + parent.layer.confirm(msg, {btn: ['确定','取消']}, + function(){//确定事件 + if(typeof(callback) === "function"){ + callback("ok"); + } + }); +} + +//选择一条记录 +function getSelectedRow() { + var grid = $("#jqGrid"); + var rowKey = grid.getGridParam("selrow"); + if(!rowKey){ + alert("请选择一条记录"); + return ; + } + + var selectedIDs = grid.getGridParam("selarrrow"); + if(selectedIDs.length > 1){ + alert("只能选择一条记录"); + return ; + } + + return selectedIDs[0]; +} + +//选择多条记录 +function getSelectedRows() { + var grid = $("#jqGrid"); + var rowKey = grid.getGridParam("selrow"); + if(!rowKey){ + alert("请选择一条记录"); + return ; + } + + return grid.getGridParam("selarrrow"); +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/generator.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/generator.js new file mode 100644 index 00000000..df2e64e9 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/generator.js @@ -0,0 +1,61 @@ +$(function () { + $("#jqGrid").jqGrid({ + url: 'sys/generator/list', + datatype: "json", + colModel: [ + { label: '表名', name: 'tableName', width: 100, key: true }, + { label: 'Engine', name: 'engine', width: 70}, + { label: '表备注', name: 'tableComment', width: 100 }, + { label: '创建时间', name: 'createTime', width: 100 } + ], + viewrecords: true, + height: 385, + rowNum: 10, + rowList : [10,30,50,100,200], + rownumbers: true, + rownumWidth: 25, + autowidth:true, + multiselect: true, + pager: "#jqGridPager", + jsonReader : { + root: "page.list", + page: "page.currPage", + total: "page.totalPage", + records: "page.totalCount" + }, + prmNames : { + page:"page", + rows:"limit", + order: "order" + }, + gridComplete:function(){ + //隐藏grid底部滚动条 + $("#jqGrid").closest(".ui-jqgrid-bdiv").css({ "overflow-x" : "hidden" }); + } + }); +}); + +var vm = new Vue({ + el:'#rrapp', + data:{ + q:{ + tableName: null + } + }, + methods: { + query: function () { + $("#jqGrid").jqGrid('setGridParam',{ + postData:{'tableName': vm.q.tableName}, + page:1 + }).trigger("reloadGrid"); + }, + generator: function() { + var tableNames = getSelectedRows(); + if(tableNames == null){ + return ; + } + location.href = "sys/generator/code?tables=" + tableNames.join(); + } + } +}); + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/index.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/index.js new file mode 100644 index 00000000..3a8d1229 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/js/index.js @@ -0,0 +1,52 @@ +//iframe自适应 +$(window).on('resize', function() { + var $content = $('.content'); + $content.height($(this).height() - 120); + $content.find('iframe').each(function() { + $(this).height($content.height()); + }); +}).resize(); + + +var vm = new Vue({ + el:'#rrapp', + data:{ + main:"main.html", + navTitle:"欢迎页" + }, + methods: { + donate: function () { + layer.open({ + type: 2, + title: false, + area: ['806px', '467px'], + closeBtn: 1, + shadeClose: false, + content: ['http://cdn.renren.io/donate.jpg', 'no'] + }); + } + } +}); + +//路由 +var router = new Router(); +var menus = ["main.html","generator.html"]; +routerList(router, menus); +router.start(); + +function routerList(router, menus){ + for(var index in menus){ + router.add('#'+menus[index], function() { + var url = window.location.hash; + + //替换iframe的url + vm.main = url.replace('#', ''); + + //导航菜单展开 + $(".treeview-menu li").removeClass("active"); + $("a[href='"+url+"']").parents("li").addClass("active"); + + vm.navTitle = $("a[href='"+url+"']").text(); + }); + } +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/app.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/app.js new file mode 100644 index 00000000..bd5ecd2d --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/app.js @@ -0,0 +1,763 @@ +/*! AdminLTE app.js + * ================ + * Main JS application file for AdminLTE v2. This file + * should be included in all pages. It controls some layout + * options and implements exclusive AdminLTE plugins. + * + * @Author Almsaeed Studio + * @Support + * @Email + * @version 2.3.7 + * @license MIT + */ + +//Make sure jQuery has been loaded before app.js +if (typeof jQuery === "undefined") { + throw new Error("AdminLTE requires jQuery"); +} + +/* AdminLTE + * + * @type Object + * @description $.AdminLTE is the main object for the template's app. + * It's used for implementing functions and options related + * to the template. Keeping everything wrapped in an object + * prevents conflict with other plugins and is a better + * way to organize our code. + */ +$.AdminLTE = {}; + +/* -------------------- + * - AdminLTE Options - + * -------------------- + * Modify these options to suit your implementation + */ +$.AdminLTE.options = { + //Add slimscroll to navbar menus + //This requires you to load the slimscroll plugin + //in every page before app.js + navbarMenuSlimscroll: true, + navbarMenuSlimscrollWidth: "3px", //The width of the scroll bar + navbarMenuHeight: "200px", //The height of the inner menu + //General animation speed for JS animated elements such as box collapse/expand and + //sidebar treeview slide up/down. This options accepts an integer as milliseconds, + //'fast', 'normal', or 'slow' + animationSpeed: 'fast', + //Sidebar push menu toggle button selector + sidebarToggleSelector: "[data-toggle='offcanvas']", + //Activate sidebar push menu + sidebarPushMenu: true, + //Activate sidebar slimscroll if the fixed layout is set (requires SlimScroll Plugin) + sidebarSlimScroll: true, + //Enable sidebar expand on hover effect for sidebar mini + //This option is forced to true if both the fixed layout and sidebar mini + //are used together + sidebarExpandOnHover: false, + //BoxRefresh Plugin + enableBoxRefresh: true, + //Bootstrap.js tooltip + enableBSToppltip: true, + BSTooltipSelector: "[data-toggle='tooltip']", + //Enable Fast Click. Fastclick.js creates a more + //native touch experience with touch devices. If you + //choose to enable the plugin, make sure you load the script + //before AdminLTE's app.js + enableFastclick: false, + //Control Sidebar Options + enableControlSidebar: true, + controlSidebarOptions: { + //Which button should trigger the open/close event + toggleBtnSelector: "[data-toggle='control-sidebar']", + //The sidebar selector + selector: ".control-sidebar", + //Enable slide over content + slide: true + }, + //Box Widget Plugin. Enable this plugin + //to allow boxes to be collapsed and/or removed + enableBoxWidget: true, + //Box Widget plugin options + boxWidgetOptions: { + boxWidgetIcons: { + //Collapse icon + collapse: 'fa-minus', + //Open icon + open: 'fa-plus', + //Remove icon + remove: 'fa-times' + }, + boxWidgetSelectors: { + //Remove button selector + remove: '[data-widget="remove"]', + //Collapse button selector + collapse: '[data-widget="collapse"]' + } + }, + //Direct Chat plugin options + directChat: { + //Enable direct chat by default + enable: true, + //The button to open and close the chat contacts pane + contactToggleSelector: '[data-widget="chat-pane-toggle"]' + }, + //Define the set of colors to use globally around the website + colors: { + lightBlue: "#3c8dbc", + red: "#f56954", + green: "#00a65a", + aqua: "#00c0ef", + yellow: "#f39c12", + blue: "#0073b7", + navy: "#001F3F", + teal: "#39CCCC", + olive: "#3D9970", + lime: "#01FF70", + orange: "#FF851B", + fuchsia: "#F012BE", + purple: "#8E24AA", + maroon: "#D81B60", + black: "#222222", + gray: "#d2d6de" + }, + //The standard screen sizes that bootstrap uses. + //If you change these in the variables.less file, change + //them here too. + screenSizes: { + xs: 480, + sm: 768, + md: 992, + lg: 1200 + } +}; + +/* ------------------ + * - Implementation - + * ------------------ + * The next block of code implements AdminLTE's + * functions and plugins as specified by the + * options above. + */ +$(function () { + "use strict"; + + //Fix for IE page transitions + $("body").removeClass("hold-transition"); + + //Extend options if external options exist + if (typeof AdminLTEOptions !== "undefined") { + $.extend(true, + $.AdminLTE.options, + AdminLTEOptions); + } + + //Easy access to options + var o = $.AdminLTE.options; + + //Set up the object + _init(); + + //Activate the layout maker + $.AdminLTE.layout.activate(); + + //Enable sidebar tree view controls + $.AdminLTE.tree('.sidebar'); + + //Enable control sidebar + if (o.enableControlSidebar) { + $.AdminLTE.controlSidebar.activate(); + } + + //Add slimscroll to navbar dropdown + if (o.navbarMenuSlimscroll && typeof $.fn.slimscroll != 'undefined') { + $(".navbar .menu").slimscroll({ + height: o.navbarMenuHeight, + alwaysVisible: false, + size: o.navbarMenuSlimscrollWidth + }).css("width", "100%"); + } + + //Activate sidebar push menu + if (o.sidebarPushMenu) { + $.AdminLTE.pushMenu.activate(o.sidebarToggleSelector); + } + + //Activate Bootstrap tooltip + if (o.enableBSToppltip) { + $('body').tooltip({ + selector: o.BSTooltipSelector + }); + } + + //Activate box widget + if (o.enableBoxWidget) { + $.AdminLTE.boxWidget.activate(); + } + + //Activate fast click + if (o.enableFastclick && typeof FastClick != 'undefined') { + FastClick.attach(document.body); + } + + //Activate direct chat widget + if (o.directChat.enable) { + $(document).on('click', o.directChat.contactToggleSelector, function () { + var box = $(this).parents('.direct-chat').first(); + box.toggleClass('direct-chat-contacts-open'); + }); + } + + /* + * INITIALIZE BUTTON TOGGLE + * ------------------------ + */ + $('.btn-group[data-toggle="btn-toggle"]').each(function () { + var group = $(this); + $(this).find(".btn").on('click', function (e) { + group.find(".btn.active").removeClass("active"); + $(this).addClass("active"); + e.preventDefault(); + }); + + }); +}); + +/* ---------------------------------- + * - Initialize the AdminLTE Object - + * ---------------------------------- + * All AdminLTE functions are implemented below. + */ +function _init() { + 'use strict'; + /* Layout + * ====== + * Fixes the layout height in case min-height fails. + * + * @type Object + * @usage $.AdminLTE.layout.activate() + * $.AdminLTE.layout.fix() + * $.AdminLTE.layout.fixSidebar() + */ + $.AdminLTE.layout = { + activate: function () { + var _this = this; + _this.fix(); + _this.fixSidebar(); + $(window, ".wrapper").resize(function () { + _this.fix(); + _this.fixSidebar(); + }); + }, + fix: function () { + //Get window height and the wrapper height + var neg = $('.main-header').outerHeight() + $('.main-footer').outerHeight(); + var window_height = $(window).height(); + var sidebar_height = $(".sidebar").height(); + //Set the min-height of the content and sidebar based on the + //the height of the document. + if ($("body").hasClass("fixed")) { + $(".content-wrapper, .right-side").css('min-height', window_height - $('.main-footer').outerHeight()); + } else { + var postSetWidth; + if (window_height >= sidebar_height) { + $(".content-wrapper, .right-side").css('min-height', window_height - neg); + postSetWidth = window_height - neg; + } else { + $(".content-wrapper, .right-side").css('min-height', sidebar_height); + postSetWidth = sidebar_height; + } + + //Fix for the control sidebar height + var controlSidebar = $($.AdminLTE.options.controlSidebarOptions.selector); + if (typeof controlSidebar !== "undefined") { + if (controlSidebar.height() > postSetWidth) + $(".content-wrapper, .right-side").css('min-height', controlSidebar.height()); + } + + } + }, + fixSidebar: function () { + //Make sure the body tag has the .fixed class + if (!$("body").hasClass("fixed")) { + if (typeof $.fn.slimScroll != 'undefined') { + $(".sidebar").slimScroll({destroy: true}).height("auto"); + } + return; + } else if (typeof $.fn.slimScroll == 'undefined' && window.console) { + window.console.error("Error: the fixed layout requires the slimscroll plugin!"); + } + //Enable slimscroll for fixed layout + if ($.AdminLTE.options.sidebarSlimScroll) { + if (typeof $.fn.slimScroll != 'undefined') { + //Destroy if it exists + $(".sidebar").slimScroll({destroy: true}).height("auto"); + //Add slimscroll + $(".sidebar").slimscroll({ + height: ($(window).height() - $(".main-header").height()) + "px", + color: "rgba(0,0,0,0.2)", + size: "3px" + }); + } + } + } + }; + + /* PushMenu() + * ========== + * Adds the push menu functionality to the sidebar. + * + * @type Function + * @usage: $.AdminLTE.pushMenu("[data-toggle='offcanvas']") + */ + $.AdminLTE.pushMenu = { + activate: function (toggleBtn) { + //Get the screen sizes + var screenSizes = $.AdminLTE.options.screenSizes; + + //Enable sidebar toggle + $(document).on('click', toggleBtn, function (e) { + e.preventDefault(); + + //Enable sidebar push menu + if ($(window).width() > (screenSizes.sm - 1)) { + if ($("body").hasClass('sidebar-collapse')) { + $("body").removeClass('sidebar-collapse').trigger('expanded.pushMenu'); + } else { + $("body").addClass('sidebar-collapse').trigger('collapsed.pushMenu'); + } + } + //Handle sidebar push menu for small screens + else { + if ($("body").hasClass('sidebar-open')) { + $("body").removeClass('sidebar-open').removeClass('sidebar-collapse').trigger('collapsed.pushMenu'); + } else { + $("body").addClass('sidebar-open').trigger('expanded.pushMenu'); + } + } + }); + + $(".content-wrapper").click(function () { + //Enable hide menu when clicking on the content-wrapper on small screens + if ($(window).width() <= (screenSizes.sm - 1) && $("body").hasClass("sidebar-open")) { + $("body").removeClass('sidebar-open'); + } + }); + + //Enable expand on hover for sidebar mini + if ($.AdminLTE.options.sidebarExpandOnHover + || ($('body').hasClass('fixed') + && $('body').hasClass('sidebar-mini'))) { + this.expandOnHover(); + } + }, + expandOnHover: function () { + var _this = this; + var screenWidth = $.AdminLTE.options.screenSizes.sm - 1; + //Expand sidebar on hover + $('.main-sidebar').hover(function () { + if ($('body').hasClass('sidebar-mini') + && $("body").hasClass('sidebar-collapse') + && $(window).width() > screenWidth) { + _this.expand(); + } + }, function () { + if ($('body').hasClass('sidebar-mini') + && $('body').hasClass('sidebar-expanded-on-hover') + && $(window).width() > screenWidth) { + _this.collapse(); + } + }); + }, + expand: function () { + $("body").removeClass('sidebar-collapse').addClass('sidebar-expanded-on-hover'); + }, + collapse: function () { + if ($('body').hasClass('sidebar-expanded-on-hover')) { + $('body').removeClass('sidebar-expanded-on-hover').addClass('sidebar-collapse'); + } + } + }; + + /* Tree() + * ====== + * Converts the sidebar into a multilevel + * tree view menu. + * + * @type Function + * @Usage: $.AdminLTE.tree('.sidebar') + */ + $.AdminLTE.tree = function (menu) { + var _this = this; + var animationSpeed = $.AdminLTE.options.animationSpeed; + $(document).off('click', menu + ' li a') + .on('click', menu + ' li a', function (e) { + //Get the clicked link and the next element + var $this = $(this); + var checkElement = $this.next(); + + //Check if the next element is a menu and is visible + if ((checkElement.is('.treeview-menu')) && (checkElement.is(':visible')) && (!$('body').hasClass('sidebar-collapse'))) { + //Close the menu + checkElement.slideUp(animationSpeed, function () { + checkElement.removeClass('menu-open'); + //Fix the layout in case the sidebar stretches over the height of the window + //_this.layout.fix(); + }); + checkElement.parent("li").removeClass("active"); + } + //If the menu is not visible + else if ((checkElement.is('.treeview-menu')) && (!checkElement.is(':visible'))) { + //Get the parent menu + var parent = $this.parents('ul').first(); + //Close all open menus within the parent + var ul = parent.find('ul:visible').slideUp(animationSpeed); + //Remove the menu-open class from the parent + ul.removeClass('menu-open'); + //Get the parent li + var parent_li = $this.parent("li"); + + //Open the target menu and add the menu-open class + checkElement.slideDown(animationSpeed, function () { + //Add the class active to the parent li + checkElement.addClass('menu-open'); + parent.find('li.active').removeClass('active'); + parent_li.addClass('active'); + //Fix the layout in case the sidebar stretches over the height of the window + _this.layout.fix(); + }); + } + //if this isn't a link, prevent the page from being redirected + if (checkElement.is('.treeview-menu')) { + e.preventDefault(); + } + }); + }; + + /* ControlSidebar + * ============== + * Adds functionality to the right sidebar + * + * @type Object + * @usage $.AdminLTE.controlSidebar.activate(options) + */ + $.AdminLTE.controlSidebar = { + //instantiate the object + activate: function () { + //Get the object + var _this = this; + //Update options + var o = $.AdminLTE.options.controlSidebarOptions; + //Get the sidebar + var sidebar = $(o.selector); + //The toggle button + var btn = $(o.toggleBtnSelector); + + //Listen to the click event + btn.on('click', function (e) { + e.preventDefault(); + //If the sidebar is not open + if (!sidebar.hasClass('control-sidebar-open') + && !$('body').hasClass('control-sidebar-open')) { + //Open the sidebar + _this.open(sidebar, o.slide); + } else { + _this.close(sidebar, o.slide); + } + }); + + //If the body has a boxed layout, fix the sidebar bg position + var bg = $(".control-sidebar-bg"); + _this._fix(bg); + + //If the body has a fixed layout, make the control sidebar fixed + if ($('body').hasClass('fixed')) { + _this._fixForFixed(sidebar); + } else { + //If the content height is less than the sidebar's height, force max height + if ($('.content-wrapper, .right-side').height() < sidebar.height()) { + _this._fixForContent(sidebar); + } + } + }, + //Open the control sidebar + open: function (sidebar, slide) { + //Slide over content + if (slide) { + sidebar.addClass('control-sidebar-open'); + } else { + //Push the content by adding the open class to the body instead + //of the sidebar itself + $('body').addClass('control-sidebar-open'); + } + }, + //Close the control sidebar + close: function (sidebar, slide) { + if (slide) { + sidebar.removeClass('control-sidebar-open'); + } else { + $('body').removeClass('control-sidebar-open'); + } + }, + _fix: function (sidebar) { + var _this = this; + if ($("body").hasClass('layout-boxed')) { + sidebar.css('position', 'absolute'); + sidebar.height($(".wrapper").height()); + if (_this.hasBindedResize) { + return; + } + $(window).resize(function () { + _this._fix(sidebar); + }); + _this.hasBindedResize = true; + } else { + sidebar.css({ + 'position': 'fixed', + 'height': 'auto' + }); + } + }, + _fixForFixed: function (sidebar) { + sidebar.css({ + 'position': 'fixed', + 'max-height': '100%', + 'overflow': 'auto', + 'padding-bottom': '50px' + }); + }, + _fixForContent: function (sidebar) { + $(".content-wrapper, .right-side").css('min-height', sidebar.height()); + } + }; + + /* BoxWidget + * ========= + * BoxWidget is a plugin to handle collapsing and + * removing boxes from the screen. + * + * @type Object + * @usage $.AdminLTE.boxWidget.activate() + * Set all your options in the main $.AdminLTE.options object + */ + $.AdminLTE.boxWidget = { + selectors: $.AdminLTE.options.boxWidgetOptions.boxWidgetSelectors, + icons: $.AdminLTE.options.boxWidgetOptions.boxWidgetIcons, + animationSpeed: $.AdminLTE.options.animationSpeed, + activate: function (_box) { + var _this = this; + if (!_box) { + _box = document; // activate all boxes per default + } + //Listen for collapse event triggers + $(_box).on('click', _this.selectors.collapse, function (e) { + e.preventDefault(); + _this.collapse($(this)); + }); + + //Listen for remove event triggers + $(_box).on('click', _this.selectors.remove, function (e) { + e.preventDefault(); + _this.remove($(this)); + }); + }, + collapse: function (element) { + var _this = this; + //Find the box parent + var box = element.parents(".box").first(); + //Find the body and the footer + var box_content = box.find("> .box-body, > .box-footer, > form >.box-body, > form > .box-footer"); + if (!box.hasClass("collapsed-box")) { + //Convert minus into plus + element.children(":first") + .removeClass(_this.icons.collapse) + .addClass(_this.icons.open); + //Hide the content + box_content.slideUp(_this.animationSpeed, function () { + box.addClass("collapsed-box"); + }); + } else { + //Convert plus into minus + element.children(":first") + .removeClass(_this.icons.open) + .addClass(_this.icons.collapse); + //Show the content + box_content.slideDown(_this.animationSpeed, function () { + box.removeClass("collapsed-box"); + }); + } + }, + remove: function (element) { + //Find the box parent + var box = element.parents(".box").first(); + box.slideUp(this.animationSpeed); + } + }; +} + +/* ------------------ + * - Custom Plugins - + * ------------------ + * All custom plugins are defined below. + */ + +/* + * BOX REFRESH BUTTON + * ------------------ + * This is a custom plugin to use with the component BOX. It allows you to add + * a refresh button to the box. It converts the box's state to a loading state. + * + * @type plugin + * @usage $("#box-widget").boxRefresh( options ); + */ +(function ($) { + + "use strict"; + + $.fn.boxRefresh = function (options) { + + // Render options + var settings = $.extend({ + //Refresh button selector + trigger: ".refresh-btn", + //File source to be loaded (e.g: ajax/src.php) + source: "", + //Callbacks + onLoadStart: function (box) { + return box; + }, //Right after the button has been clicked + onLoadDone: function (box) { + return box; + } //When the source has been loaded + + }, options); + + //The overlay + var overlay = $('

'); + + return this.each(function () { + //if a source is specified + if (settings.source === "") { + if (window.console) { + window.console.log("Please specify a source first - boxRefresh()"); + } + return; + } + //the box + var box = $(this); + //the button + var rBtn = box.find(settings.trigger).first(); + + //On trigger click + rBtn.on('click', function (e) { + e.preventDefault(); + //Add loading overlay + start(box); + + //Perform ajax call + box.find(".box-body").load(settings.source, function () { + done(box); + }); + }); + }); + + function start(box) { + //Add overlay and loading img + box.append(overlay); + + settings.onLoadStart.call(box); + } + + function done(box) { + //Remove overlay and loading img + box.find(overlay).remove(); + + settings.onLoadDone.call(box); + } + + }; + +})(jQuery); + +/* + * EXPLICIT BOX CONTROLS + * ----------------------- + * This is a custom plugin to use with the component BOX. It allows you to activate + * a box inserted in the DOM after the app.js was loaded, toggle and remove box. + * + * @type plugin + * @usage $("#box-widget").activateBox(); + * @usage $("#box-widget").toggleBox(); + * @usage $("#box-widget").removeBox(); + */ +(function ($) { + + 'use strict'; + + $.fn.activateBox = function () { + $.AdminLTE.boxWidget.activate(this); + }; + + $.fn.toggleBox = function () { + var button = $($.AdminLTE.boxWidget.selectors.collapse, this); + $.AdminLTE.boxWidget.collapse(button); + }; + + $.fn.removeBox = function () { + var button = $($.AdminLTE.boxWidget.selectors.remove, this); + $.AdminLTE.boxWidget.remove(button); + }; + +})(jQuery); + +/* + * TODO LIST CUSTOM PLUGIN + * ----------------------- + * This plugin depends on iCheck plugin for checkbox and radio inputs + * + * @type plugin + * @usage $("#todo-widget").todolist( options ); + */ +(function ($) { + + 'use strict'; + + $.fn.todolist = function (options) { + // Render options + var settings = $.extend({ + //When the user checks the input + onCheck: function (ele) { + return ele; + }, + //When the user unchecks the input + onUncheck: function (ele) { + return ele; + } + }, options); + + return this.each(function () { + + if (typeof $.fn.iCheck != 'undefined') { + $('input', this).on('ifChecked', function () { + var ele = $(this).parents("li").first(); + ele.toggleClass("done"); + settings.onCheck.call(ele); + }); + + $('input', this).on('ifUnchecked', function () { + var ele = $(this).parents("li").first(); + ele.toggleClass("done"); + settings.onUncheck.call(ele); + }); + } else { + $('input', this).on('change', function () { + var ele = $(this).parents("li").first(); + ele.toggleClass("done"); + if ($('input', ele).is(":checked")) { + settings.onCheck.call(ele); + } else { + settings.onUncheck.call(ele); + } + }); + } + }); + }; +}(jQuery)); diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/app.min.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/app.min.js new file mode 100644 index 00000000..51d50100 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/app.min.js @@ -0,0 +1,13 @@ +/*! AdminLTE app.js + * ================ + * Main JS application file for AdminLTE v2. This file + * should be included in all pages. It controls some layout + * options and implements exclusive AdminLTE plugins. + * + * @Author Almsaeed Studio + * @Support + * @Email + * @version 2.3.7 + * @license MIT + */ +function _init(){"use strict";$.AdminLTE.layout={activate:function(){var a=this;a.fix(),a.fixSidebar(),$(window,".wrapper").resize(function(){a.fix(),a.fixSidebar()})},fix:function(){var a=$(".main-header").outerHeight()+$(".main-footer").outerHeight(),b=$(window).height(),c=$(".sidebar").height();if($("body").hasClass("fixed"))$(".content-wrapper, .right-side").css("min-height",b-$(".main-footer").outerHeight());else{var d;b>=c?($(".content-wrapper, .right-side").css("min-height",b-a),d=b-a):($(".content-wrapper, .right-side").css("min-height",c),d=c);var e=$($.AdminLTE.options.controlSidebarOptions.selector);"undefined"!=typeof e&&e.height()>d&&$(".content-wrapper, .right-side").css("min-height",e.height())}},fixSidebar:function(){return $("body").hasClass("fixed")?("undefined"==typeof $.fn.slimScroll&&window.console&&window.console.error("Error: the fixed layout requires the slimscroll plugin!"),void($.AdminLTE.options.sidebarSlimScroll&&"undefined"!=typeof $.fn.slimScroll&&($(".sidebar").slimScroll({destroy:!0}).height("auto"),$(".sidebar").slimscroll({height:$(window).height()-$(".main-header").height()+"px",color:"rgba(0,0,0,0.2)",size:"3px"})))):void("undefined"!=typeof $.fn.slimScroll&&$(".sidebar").slimScroll({destroy:!0}).height("auto"))}},$.AdminLTE.pushMenu={activate:function(a){var b=$.AdminLTE.options.screenSizes;$(document).on("click",a,function(a){a.preventDefault(),$(window).width()>b.sm-1?$("body").hasClass("sidebar-collapse")?$("body").removeClass("sidebar-collapse").trigger("expanded.pushMenu"):$("body").addClass("sidebar-collapse").trigger("collapsed.pushMenu"):$("body").hasClass("sidebar-open")?$("body").removeClass("sidebar-open").removeClass("sidebar-collapse").trigger("collapsed.pushMenu"):$("body").addClass("sidebar-open").trigger("expanded.pushMenu")}),$(".content-wrapper").click(function(){$(window).width()<=b.sm-1&&$("body").hasClass("sidebar-open")&&$("body").removeClass("sidebar-open")}),($.AdminLTE.options.sidebarExpandOnHover||$("body").hasClass("fixed")&&$("body").hasClass("sidebar-mini"))&&this.expandOnHover()},expandOnHover:function(){var a=this,b=$.AdminLTE.options.screenSizes.sm-1;$(".main-sidebar").hover(function(){$("body").hasClass("sidebar-mini")&&$("body").hasClass("sidebar-collapse")&&$(window).width()>b&&a.expand()},function(){$("body").hasClass("sidebar-mini")&&$("body").hasClass("sidebar-expanded-on-hover")&&$(window).width()>b&&a.collapse()})},expand:function(){$("body").removeClass("sidebar-collapse").addClass("sidebar-expanded-on-hover")},collapse:function(){$("body").hasClass("sidebar-expanded-on-hover")&&$("body").removeClass("sidebar-expanded-on-hover").addClass("sidebar-collapse")}},$.AdminLTE.tree=function(a){var b=this,c=$.AdminLTE.options.animationSpeed;$(document).off("click",a+" li a").on("click",a+" li a",function(a){var d=$(this),e=d.next();if(e.is(".treeview-menu")&&e.is(":visible")&&!$("body").hasClass("sidebar-collapse"))e.slideUp(c,function(){e.removeClass("menu-open")}),e.parent("li").removeClass("active");else if(e.is(".treeview-menu")&&!e.is(":visible")){var f=d.parents("ul").first(),g=f.find("ul:visible").slideUp(c);g.removeClass("menu-open");var h=d.parent("li");e.slideDown(c,function(){e.addClass("menu-open"),f.find("li.active").removeClass("active"),h.addClass("active"),b.layout.fix()})}e.is(".treeview-menu")&&a.preventDefault()})},$.AdminLTE.controlSidebar={activate:function(){var a=this,b=$.AdminLTE.options.controlSidebarOptions,c=$(b.selector),d=$(b.toggleBtnSelector);d.on("click",function(d){d.preventDefault(),c.hasClass("control-sidebar-open")||$("body").hasClass("control-sidebar-open")?a.close(c,b.slide):a.open(c,b.slide)});var e=$(".control-sidebar-bg");a._fix(e),$("body").hasClass("fixed")?a._fixForFixed(c):$(".content-wrapper, .right-side").height() .box-body, > .box-footer, > form >.box-body, > form > .box-footer");c.hasClass("collapsed-box")?(a.children(":first").removeClass(b.icons.open).addClass(b.icons.collapse),d.slideDown(b.animationSpeed,function(){c.removeClass("collapsed-box")})):(a.children(":first").removeClass(b.icons.collapse).addClass(b.icons.open),d.slideUp(b.animationSpeed,function(){c.addClass("collapsed-box")}))},remove:function(a){var b=a.parents(".box").first();b.slideUp(this.animationSpeed)}}}if("undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");$.AdminLTE={},$.AdminLTE.options={navbarMenuSlimscroll:!0,navbarMenuSlimscrollWidth:"3px",navbarMenuHeight:"200px",animationSpeed:500,sidebarToggleSelector:"[data-toggle='offcanvas']",sidebarPushMenu:!0,sidebarSlimScroll:!0,sidebarExpandOnHover:!1,enableBoxRefresh:!0,enableBSToppltip:!0,BSTooltipSelector:"[data-toggle='tooltip']",enableFastclick:!1,enableControlSidebar:!0,controlSidebarOptions:{toggleBtnSelector:"[data-toggle='control-sidebar']",selector:".control-sidebar",slide:!0},enableBoxWidget:!0,boxWidgetOptions:{boxWidgetIcons:{collapse:"fa-minus",open:"fa-plus",remove:"fa-times"},boxWidgetSelectors:{remove:'[data-widget="remove"]',collapse:'[data-widget="collapse"]'}},directChat:{enable:!0,contactToggleSelector:'[data-widget="chat-pane-toggle"]'},colors:{lightBlue:"#3c8dbc",red:"#f56954",green:"#00a65a",aqua:"#00c0ef",yellow:"#f39c12",blue:"#0073b7",navy:"#001F3F",teal:"#39CCCC",olive:"#3D9970",lime:"#01FF70",orange:"#FF851B",fuchsia:"#F012BE",purple:"#8E24AA",maroon:"#D81B60",black:"#222222",gray:"#d2d6de"},screenSizes:{xs:480,sm:768,md:992,lg:1200}},$(function(){"use strict";$("body").removeClass("hold-transition"),"undefined"!=typeof AdminLTEOptions&&$.extend(!0,$.AdminLTE.options,AdminLTEOptions);var a=$.AdminLTE.options;_init(),$.AdminLTE.layout.activate(),$.AdminLTE.tree(".sidebar"),a.enableControlSidebar&&$.AdminLTE.controlSidebar.activate(),a.navbarMenuSlimscroll&&"undefined"!=typeof $.fn.slimscroll&&$(".navbar .menu").slimscroll({height:a.navbarMenuHeight,alwaysVisible:!1,size:a.navbarMenuSlimscrollWidth}).css("width","100%"),a.sidebarPushMenu&&$.AdminLTE.pushMenu.activate(a.sidebarToggleSelector),a.enableBSToppltip&&$("body").tooltip({selector:a.BSTooltipSelector}),a.enableBoxWidget&&$.AdminLTE.boxWidget.activate(),a.enableFastclick&&"undefined"!=typeof FastClick&&FastClick.attach(document.body),a.directChat.enable&&$(document).on("click",a.directChat.contactToggleSelector,function(){var a=$(this).parents(".direct-chat").first();a.toggleClass("direct-chat-contacts-open")}),$('.btn-group[data-toggle="btn-toggle"]').each(function(){var a=$(this);$(this).find(".btn").on("click",function(b){a.find(".btn.active").removeClass("active"),$(this).addClass("active"),b.preventDefault()})})}),function(a){"use strict";a.fn.boxRefresh=function(b){function c(a){a.append(f),e.onLoadStart.call(a)}function d(a){a.find(f).remove(),e.onLoadDone.call(a)}var e=a.extend({trigger:".refresh-btn",source:"",onLoadStart:function(a){return a},onLoadDone:function(a){return a}},b),f=a('
');return this.each(function(){if(""===e.source)return void(window.console&&window.console.log("Please specify a source first - boxRefresh()"));var b=a(this),f=b.find(e.trigger).first();f.on("click",function(a){a.preventDefault(),c(b),b.find(".box-body").load(e.source,function(){d(b)})})})}}(jQuery),function(a){"use strict";a.fn.activateBox=function(){a.AdminLTE.boxWidget.activate(this)},a.fn.toggleBox=function(){var b=a(a.AdminLTE.boxWidget.selectors.collapse,this);a.AdminLTE.boxWidget.collapse(b)},a.fn.removeBox=function(){var b=a(a.AdminLTE.boxWidget.selectors.remove,this);a.AdminLTE.boxWidget.remove(b)}}(jQuery),function(a){"use strict";a.fn.todolist=function(b){var c=a.extend({onCheck:function(a){return a},onUncheck:function(a){return a}},b);return this.each(function(){"undefined"!=typeof a.fn.iCheck?(a("input",this).on("ifChecked",function(){var b=a(this).parents("li").first();b.toggleClass("done"),c.onCheck.call(b)}),a("input",this).on("ifUnchecked",function(){var b=a(this).parents("li").first();b.toggleClass("done"),c.onUncheck.call(b)})):a("input",this).on("change",function(){var b=a(this).parents("li").first();b.toggleClass("done"),a("input",b).is(":checked")?c.onCheck.call(b):c.onUncheck.call(b)})})}}(jQuery); \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/bootstrap.min.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/bootstrap.min.js new file mode 100644 index 00000000..9bcd2fcc --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/bootstrap.min.js @@ -0,0 +1,7 @@ +/*! + * Bootstrap v3.3.7 (http://getbootstrap.com) + * Copyright 2011-2016 Twitter, Inc. + * Licensed under the MIT license + */ +if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){if(a(b.target).is(this))return b.handleObj.handler.apply(this,arguments)}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.7",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a("#"===f?[]:f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.7",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c).prop(c,!0)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c).prop(c,!1))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target).closest(".btn");b.call(d,"toggle"),a(c.target).is('input[type="radio"], input[type="checkbox"]')||(c.preventDefault(),d.is("input,button")?d.trigger("focus"):d.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.7",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(a>this.$items.length-1||a<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.7",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.7",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);if(c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),!c.isInStateTrue())return clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide()},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null,a.$element=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;!e&&/destroy|hide/.test(b)||(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.7",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.7",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.7",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return e=a-d&&"bottom"},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery); \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/fastclick.min.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/fastclick.min.js new file mode 100644 index 00000000..131e29e4 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/fastclick.min.js @@ -0,0 +1 @@ +!function e(t,n,r){function i(s,a){if(!n[s]){if(!t[s]){var c="function"==typeof require&&require;if(!a&&c)return c(s,!0);if(o)return o(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return i(n?n:e)},u,u.exports,e,t,n,r)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;sc;c++)a[s[c]]=i(a[s[c]],a);r&&(t.addEventListener("mouseover",this.onMouse,!0),t.addEventListener("mousedown",this.onMouse,!0),t.addEventListener("mouseup",this.onMouse,!0)),t.addEventListener("click",this.onClick,!0),t.addEventListener("touchstart",this.onTouchStart,!1),t.addEventListener("touchmove",this.onTouchMove,!1),t.addEventListener("touchend",this.onTouchEnd,!1),t.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(t.removeEventListener=function(e,n,r){var i=Node.prototype.removeEventListener;"click"===e?i.call(t,e,n.hijacked||n,r):i.call(t,e,n,r)},t.addEventListener=function(e,n,r){var i=Node.prototype.addEventListener;"click"===e?i.call(t,e,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),r):i.call(t,e,n,r)}),"function"==typeof t.onclick&&(o=t.onclick,t.addEventListener("click",function(e){o(e)},!1),t.onclick=null)}}var n=navigator.userAgent.indexOf("Windows Phone")>=0,r=navigator.userAgent.indexOf("Android")>0&&!n,i=/iP(ad|hone|od)/.test(navigator.userAgent)&&!n,o=i&&/OS 4_\d(_\d)?/.test(navigator.userAgent),s=i&&/OS [6-7]_\d/.test(navigator.userAgent),a=navigator.userAgent.indexOf("BB10")>0;e.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(i&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},e.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!r;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},e.prototype.sendClick=function(e,t){var n,r;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),r=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},e.prototype.determineEventType=function(e){return r&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},e.prototype.focus=function(e){var t;i&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},e.prototype.updateScrollParent=function(e){var t,n;if(t=e.fastClickScrollParent,!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},e.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},e.prototype.onTouchStart=function(e){var t,n,r;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],i){if(r=window.getSelection(),r.rangeCount&&!r.isCollapsed)return!0;if(!o){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTimen||Math.abs(t.pageY-this.touchStartY)>n?!0:!1},e.prototype.onTouchMove=function(e){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},e.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},e.prototype.onTouchEnd=function(e){var t,n,a,c,l,u=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,n=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,s&&(l=e.changedTouches[0],u=document.elementFromPoint(l.pageX-window.pageXOffset,l.pageY-window.pageYOffset)||u,u.fastClickScrollParent=this.targetElement.fastClickScrollParent),a=u.tagName.toLowerCase(),"label"===a){if(t=this.findControl(u)){if(this.focus(u),r)return!1;u=t}}else if(this.needsFocus(u))return e.timeStamp-n>100||i&&window.top!==window&&"input"===a?(this.targetElement=null,!1):(this.focus(u),this.sendClick(u,e),i&&"select"===a||(this.targetElement=null,e.preventDefault()),!1);return i&&!o&&(c=u.fastClickScrollParent,c&&c.fastClickLastScrollTop!==c.scrollTop)?!0:(this.needsClick(u)||(e.preventDefault(),this.sendClick(u,e)),!1)},e.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},e.prototype.onMouse=function(e){return this.targetElement?e.forwardedTouchEvent?!0:e.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1):!0:!0},e.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail?!0:(t=this.onMouse(e),t||(this.targetElement=null),t)},e.prototype.destroy=function(){var e=this.layer;r&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},e.notNeeded=function(e){var t,n,i,o;if("undefined"==typeof window.ontouchstart)return!0;if(n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!r)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(n>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(a&&(i=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),i[1]>=10&&i[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction?!0:(o=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],o>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===e.style.touchAction||"manipulation"===e.style.touchAction?!0:!1)},e.attach=function(t,n){return new e(t,n)},"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return e}):"undefined"!=typeof t&&t.exports?(t.exports=e.attach,t.exports.FastClick=e):window.FastClick=e}()},{}],2:[function(e){window.Origami={fastclick:e("./bower_components/fastclick/lib/fastclick.js")}},{"./bower_components/fastclick/lib/fastclick.js":1}]},{},[2]);;(function() {function trigger(){document.dispatchEvent(new CustomEvent('o.load'))};document.addEventListener('load',trigger);if (document.readyState==='ready') trigger();}());(function() {function trigger(){document.dispatchEvent(new CustomEvent('o.DOMContentLoaded'))};document.addEventListener('DOMContentLoaded',trigger);if (document.readyState==='interactive') trigger();}()) \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/jquery.min.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/jquery.min.js new file mode 100644 index 00000000..4024b662 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/libs/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="2.2.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||k.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=d.createElement("script"),b.text=a,d.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:h.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(d=e.call(arguments,2),f=function(){return a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return h.call(b,a)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(n(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||n.uniqueSort(e),D.test(a)&&e.reverse()),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),n.ready()}n.ready.promise=function(b){return I||(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(n.ready):(d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J))),I.promise(b)},n.ready.promise();var K=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)K(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},L=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function M(){this.expando=n.expando+M.uid++}M.uid=1,M.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!L(a))return{};var b=a[this.expando];return b||(b={},L(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(G)||[])),c=d.length;while(c--)delete f[d[c]]}(void 0===b||n.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!n.isEmptyObject(b)}};var N=new M,O=new M,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function R(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Q,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:P.test(c)?n.parseJSON(c):c; +}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:function(a,b,c){return O.access(a,b,c)},removeData:function(a,b){O.remove(a,b)},_data:function(a,b,c){return N.access(a,b,c)},_removeData:function(a,b){N.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=O.get(f),1===f.nodeType&&!N.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),R(f,d,e[d])));N.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){O.set(this,a)}):K(this,function(b){var c,d;if(f&&void 0===b){if(c=O.get(f,a)||O.get(f,a.replace(Q,"-$&").toLowerCase()),void 0!==c)return c;if(d=n.camelCase(a),c=O.get(f,d),void 0!==c)return c;if(c=R(f,d,void 0),void 0!==c)return c}else d=n.camelCase(a),this.each(function(){var c=O.get(this,d);O.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&O.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){O.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=N.get(a,b),c&&(!d||n.isArray(c)?d=N.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return N.get(a,c)||N.access(a,c,{empty:n.Callbacks("once memory").add(function(){N.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;function _(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function aa(a,b){for(var c=0,d=a.length;d>c;c++)N.set(a[c],"globalEval",!b||N.get(b[c],"globalEval"))}var ba=/<|&#?\w+;/;function ca(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],o=0,p=a.length;p>o;o++)if(f=a[o],f||0===f)if("object"===n.type(f))n.merge(m,f.nodeType?[f]:f);else if(ba.test(f)){g=g||l.appendChild(b.createElement("div")),h=(Y.exec(f)||["",""])[1].toLowerCase(),i=$[h]||$._default,g.innerHTML=i[1]+n.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;n.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",o=0;while(f=m[o++])if(d&&n.inArray(f,d)>-1)e&&e.push(f);else if(j=n.contains(f.ownerDocument,f),g=_(l.appendChild(f),"script"),j&&aa(g),c){k=0;while(f=g[k++])Z.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var da=/^key/,ea=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fa=/^([^.]*)(?:\.(.+)|)/;function ga(){return!0}function ha(){return!1}function ia(){try{return d.activeElement}catch(a){}}function ja(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ja(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ha;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return"undefined"!=typeof n&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(G)||[""],j=b.length;while(j--)h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.hasData(a)&&N.get(a);if(r&&(i=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&N.remove(a,"handle events")}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(N.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,la=/\s*$/g;function pa(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function qa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function ra(a){var b=na.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function sa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(N.hasData(a)&&(f=N.access(a),g=N.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}O.hasData(a)&&(h=O.access(a),i=n.extend({},h),O.set(b,i))}}function ta(a,b){var c=b.nodeName.toLowerCase();"input"===c&&X.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function ua(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&ma.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),ua(f,b,c,d)});if(o&&(e=ca(b,a[0].ownerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){for(h=n.map(_(e,"script"),qa),i=h.length;o>m;m++)j=e,m!==p&&(j=n.clone(j,!0,!0),i&&n.merge(h,_(j,"script"))),c.call(a[m],j,m);if(i)for(k=h[h.length-1].ownerDocument,n.map(h,ra),m=0;i>m;m++)j=h[m],Z.test(j.type||"")&&!N.access(j,"globalEval")&&n.contains(k,j)&&(j.src?n._evalUrl&&n._evalUrl(j.src):n.globalEval(j.textContent.replace(oa,"")))}return a}function va(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(_(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&aa(_(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ka,"<$1>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=_(h),f=_(a),d=0,e=f.length;e>d;d++)ta(f[d],g[d]);if(b)if(c)for(f=f||_(a),g=g||_(h),d=0,e=f.length;e>d;d++)sa(f[d],g[d]);else sa(a,h);return g=_(h,"script"),g.length>0&&aa(g,!i&&_(a,"script")),h},cleanData:function(a){for(var b,c,d,e=n.event.special,f=0;void 0!==(c=a[f]);f++)if(L(c)){if(b=c[N.expando]){if(b.events)for(d in b.events)e[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);c[N.expando]=void 0}c[O.expando]&&(c[O.expando]=void 0)}}}),n.fn.extend({domManip:ua,detach:function(a){return va(this,a,!0)},remove:function(a){return va(this,a)},text:function(a){return K(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.appendChild(a)}})},prepend:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(_(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return K(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!la.test(a)&&!$[(Y.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(_(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return ua(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(_(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),f=e.length-1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),n(e[h])[b](c),g.apply(d,c.get());return this.pushStack(d)}});var wa,xa={HTML:"block",BODY:"block"};function ya(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function za(a){var b=d,c=xa[a];return c||(c=ya(a,b),"none"!==c&&c||(wa=(wa||n("';break;case 3:delete t.title,delete t.closeBtn,t.icon===-1&&0===t.icon,r.closeAll("loading");break;case 4:f||(t.content=[t.content,"body"]),t.follow=t.content[1],t.content=t.content[0]+'',delete t.title,t.tips="object"==typeof t.tips?t.tips:[t.tips,!0],t.tipsMore||r.closeAll("tips")}e.vessel(f,function(n,r,d){c.append(n[0]),f?function(){2==t.type||4==t.type?function(){i("body").append(n[1])}():function(){l.parents("."+s[0])[0]||(l.data("display",l.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]),i("#"+s[0]+a).find("."+s[5]).before(r))}()}():c.append(n[1]),i(".layui-layer-move")[0]||c.append(o.moveElem=d),e.layero=i("#"+s[0]+a),t.scrollbar||s.html.css("overflow","hidden").attr("layer-full",a)}).auto(a),2==t.type&&6==r.ie&&e.layero.find("iframe").attr("src",l[0]),4==t.type?e.tips():e.offset(),t.fixed&&n.on("resize",function(){e.offset(),(/^\d+%$/.test(t.area[0])||/^\d+%$/.test(t.area[1]))&&e.auto(a),4==t.type&&e.tips()}),t.time<=0||setTimeout(function(){r.close(e.index)},t.time),e.move().callback(),s.anim[t.anim]&&e.layero.addClass(s.anim[t.anim]).data("anim",!0)}},l.pt.auto=function(e){function t(e){e=l.find(e),e.height(f[1]-c-d-2*(0|parseFloat(e.css("padding"))))}var a=this,o=a.config,l=i("#"+s[0]+e);""===o.area[0]&&o.maxWidth>0&&(r.ie&&r.ie<8&&o.btn&&l.width(l.innerWidth()),l.outerWidth()>o.maxWidth&&l.width(o.maxWidth));var f=[l.innerWidth(),l.innerHeight()],c=l.find(s[1]).outerHeight()||0,d=l.find("."+s[6]).outerHeight()||0;switch(o.type){case 2:t("iframe");break;default:""===o.area[1]?o.fixed&&f[1]>=n.height()&&(f[1]=n.height(),t("."+s[5])):t("."+s[5])}return a},l.pt.offset=function(){var e=this,t=e.config,i=e.layero,a=[i.outerWidth(),i.outerHeight()],o="object"==typeof t.offset;e.offsetTop=(n.height()-a[1])/2,e.offsetLeft=(n.width()-a[0])/2,o?(e.offsetTop=t.offset[0],e.offsetLeft=t.offset[1]||e.offsetLeft):"auto"!==t.offset&&("t"===t.offset?e.offsetTop=0:"r"===t.offset?e.offsetLeft=n.width()-a[0]:"b"===t.offset?e.offsetTop=n.height()-a[1]:"l"===t.offset?e.offsetLeft=0:"lt"===t.offset?(e.offsetTop=0,e.offsetLeft=0):"lb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=0):"rt"===t.offset?(e.offsetTop=0,e.offsetLeft=n.width()-a[0]):"rb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=n.width()-a[0]):e.offsetTop=t.offset),t.fixed||(e.offsetTop=/%$/.test(e.offsetTop)?n.height()*parseFloat(e.offsetTop)/100:parseFloat(e.offsetTop),e.offsetLeft=/%$/.test(e.offsetLeft)?n.width()*parseFloat(e.offsetLeft)/100:parseFloat(e.offsetLeft),e.offsetTop+=n.scrollTop(),e.offsetLeft+=n.scrollLeft()),i.attr("minLeft")&&(e.offsetTop=n.height()-(i.find(s[1]).outerHeight()||0),e.offsetLeft=i.css("left")),i.css({top:e.offsetTop,left:e.offsetLeft})},l.pt.tips=function(){var e=this,t=e.config,a=e.layero,o=[a.outerWidth(),a.outerHeight()],r=i(t.follow);r[0]||(r=i("body"));var l={width:r.outerWidth(),height:r.outerHeight(),top:r.offset().top,left:r.offset().left},f=a.find(".layui-layer-TipsG"),c=t.tips[0];t.tips[1]||f.remove(),l.autoLeft=function(){l.left+o[0]-n.width()>0?(l.tipLeft=l.left+l.width-o[0],f.css({right:12,left:"auto"})):l.tipLeft=l.left},l.where=[function(){l.autoLeft(),l.tipTop=l.top-o[1]-10,f.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",t.tips[1])},function(){l.tipLeft=l.left+l.width+10,l.tipTop=l.top,f.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",t.tips[1])},function(){l.autoLeft(),l.tipTop=l.top+l.height+10,f.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",t.tips[1])},function(){l.tipLeft=l.left-o[0]-10,l.tipTop=l.top,f.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",t.tips[1])}],l.where[c-1](),1===c?l.top-(n.scrollTop()+o[1]+16)<0&&l.where[2]():2===c?n.width()-(l.left+l.width+o[0]+16)>0||l.where[3]():3===c?l.top-n.scrollTop()+l.height+o[1]+16-n.height()>0&&l.where[0]():4===c&&o[0]+16-l.left>0&&l.where[1](),a.find("."+s[5]).css({"background-color":t.tips[1],"padding-right":t.closeBtn?"30px":""}),a.css({left:l.tipLeft-(t.fixed?n.scrollLeft():0),top:l.tipTop-(t.fixed?n.scrollTop():0)})},l.pt.move=function(){var e=this,t=e.config,a=i(document),l=e.layero,s=l.find(t.move),f=l.find(".layui-layer-resize"),c={};return t.move&&s.css("cursor","move"),s.on("mousedown",function(e){e.preventDefault(),t.move&&(c.moveStart=!0,c.offset=[e.clientX-parseFloat(l.css("left")),e.clientY-parseFloat(l.css("top"))],o.moveElem.css("cursor","move").show())}),f.on("mousedown",function(e){e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],c.area=[l.outerWidth(),l.outerHeight()],o.moveElem.css("cursor","se-resize").show()}),a.on("mousemove",function(i){if(c.moveStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1],s="fixed"===l.css("position");if(i.preventDefault(),c.stX=s?0:n.scrollLeft(),c.stY=s?0:n.scrollTop(),!t.moveOut){var f=n.width()-l.outerWidth()+c.stX,d=n.height()-l.outerHeight()+c.stY;af&&(a=f),od&&(o=d)}l.css({left:a,top:o})}if(t.resize&&c.resizeStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1];i.preventDefault(),r.style(e.index,{width:c.area[0]+a,height:c.area[1]+o}),c.isResize=!0}}).on("mouseup",function(e){c.moveStart&&(delete c.moveStart,o.moveElem.hide(),t.moveEnd&&t.moveEnd()),c.resizeStart&&(delete c.resizeStart,o.moveElem.hide())}),e},l.pt.callback=function(){function e(){var e=a.cancel&&a.cancel(t.index,n);e===!1||r.close(t.index)}var t=this,n=t.layero,a=t.config;t.openLayer(),a.success&&(2==a.type?n.find("iframe").on("load",function(){a.success(n,t.index)}):a.success(n,t.index)),6==r.ie&&t.IE6(n),n.find("."+s[6]).children("a").on("click",function(){var e=i(this).index();if(0===e)a.yes?a.yes(t.index,n):a.btn1?a.btn1(t.index,n):r.close(t.index);else{var o=a["btn"+(e+1)]&&a["btn"+(e+1)](t.index,n);o===!1||r.close(t.index)}}),n.find("."+s[7]).on("click",e),a.shadeClose&&i("#layui-layer-shade"+t.index).on("click",function(){r.close(t.index)}),n.find(".layui-layer-min").on("click",function(){var e=a.min&&a.min(n);e===!1||r.min(t.index,a)}),n.find(".layui-layer-max").on("click",function(){i(this).hasClass("layui-layer-maxmin")?(r.restore(t.index),a.restore&&a.restore(n)):(r.full(t.index,a),setTimeout(function(){a.full&&a.full(n)},100))}),a.end&&(o.end[t.index]=a.end)},o.reselect=function(){i.each(i("select"),function(e,t){var n=i(this);n.parents("."+s[0])[0]||1==n.attr("layer")&&i("."+s[0]).length<1&&n.removeAttr("layer").show(),n=null})},l.pt.IE6=function(e){i("select").each(function(e,t){var n=i(this);n.parents("."+s[0])[0]||"none"===n.css("display")||n.attr({layer:"1"}).hide(),n=null})},l.pt.openLayer=function(){var e=this;r.zIndex=e.config.zIndex,r.setTop=function(e){var t=function(){r.zIndex++,e.css("z-index",r.zIndex+1)};return r.zIndex=parseInt(e[0].style.zIndex),e.on("mousedown",t),r.zIndex}},o.record=function(e){var t=[e.width(),e.height(),e.position().top,e.position().left+parseFloat(e.css("margin-left"))];e.find(".layui-layer-max").addClass("layui-layer-maxmin"),e.attr({area:t})},o.rescollbar=function(e){s.html.attr("layer-full")==e&&(s.html[0].style.removeProperty?s.html[0].style.removeProperty("overflow"):s.html[0].style.removeAttribute("overflow"),s.html.removeAttr("layer-full"))},e.layer=r,r.getChildFrame=function(e,t){return t=t||i("."+s[4]).attr("times"),i("#"+s[0]+t).find("iframe").contents().find(e)},r.getFrameIndex=function(e){return i("#"+e).parents("."+s[4]).attr("times")},r.iframeAuto=function(e){if(e){var t=r.getChildFrame("html",e).outerHeight(),n=i("#"+s[0]+e),a=n.find(s[1]).outerHeight()||0,o=n.find("."+s[6]).outerHeight()||0;n.css({height:t+a+o}),n.find("iframe").css({height:t})}},r.iframeSrc=function(e,t){i("#"+s[0]+e).find("iframe").attr("src",t)},r.style=function(e,t,n){var a=i("#"+s[0]+e),r=a.find(".layui-layer-content"),l=a.attr("type"),f=a.find(s[1]).outerHeight()||0,c=a.find("."+s[6]).outerHeight()||0;a.attr("minLeft");l!==o.type[3]&&l!==o.type[4]&&(n||(parseFloat(t.width)<=260&&(t.width=260),parseFloat(t.height)-f-c<=64&&(t.height=64+f+c)),a.css(t),c=a.find("."+s[6]).outerHeight(),l===o.type[2]?a.find("iframe").css({height:parseFloat(t.height)-f-c}):r.css({height:parseFloat(t.height)-f-c-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom"))}))},r.min=function(e,t){var a=i("#"+s[0]+e),l=a.find(s[1]).outerHeight()||0,f=a.attr("minLeft")||181*o.minIndex+"px",c=a.css("position");o.record(a),o.minLeft[0]&&(f=o.minLeft[0],o.minLeft.shift()),a.attr("position",c),r.style(e,{width:180,height:l,left:f,top:n.height()-l,position:"fixed",overflow:"hidden"},!0),a.find(".layui-layer-min").hide(),"page"===a.attr("type")&&a.find(s[4]).hide(),o.rescollbar(e),a.attr("minLeft")||o.minIndex++,a.attr("minLeft",f)},r.restore=function(e){var t=i("#"+s[0]+e),n=t.attr("area").split(",");t.attr("type");r.style(e,{width:parseFloat(n[0]),height:parseFloat(n[1]),top:parseFloat(n[2]),left:parseFloat(n[3]),position:t.attr("position"),overflow:"visible"},!0),t.find(".layui-layer-max").removeClass("layui-layer-maxmin"),t.find(".layui-layer-min").show(),"page"===t.attr("type")&&t.find(s[4]).show(),o.rescollbar(e)},r.full=function(e){var t,a=i("#"+s[0]+e);o.record(a),s.html.attr("layer-full")||s.html.css("overflow","hidden").attr("layer-full",e),clearTimeout(t),t=setTimeout(function(){var t="fixed"===a.css("position");r.style(e,{top:t?0:n.scrollTop(),left:t?0:n.scrollLeft(),width:n.width(),height:n.height()},!0),a.find(".layui-layer-min").hide()},100)},r.title=function(e,t){var n=i("#"+s[0]+(t||r.index)).find(s[1]);n.html(e)},r.close=function(e){var t=i("#"+s[0]+e),n=t.attr("type"),a="layer-anim-close";if(t[0]){var l="layui-layer-wrap",f=function(){if(n===o.type[1]&&"object"===t.attr("conType")){t.children(":not(."+s[5]+")").remove();for(var a=t.find("."+l),r=0;r<2;r++)a.unwrap();a.css("display",a.data("display")).removeClass(l)}else{if(n===o.type[2])try{var f=i("#"+s[4]+e)[0];f.contentWindow.document.write(""),f.contentWindow.close(),t.find("."+s[5])[0].removeChild(f)}catch(c){}t[0].innerHTML="",t.remove()}};t.data("anim")&&t.addClass(a),i("#layui-layer-moves, #layui-layer-shade"+e).remove(),6==r.ie&&o.reselect(),o.rescollbar(e),"function"==typeof o.end[e]&&o.end[e](),delete o.end[e],t.attr("minLeft")&&(o.minIndex--,o.minLeft.push(t.attr("minLeft"))),setTimeout(function(){f()},r.ie&&r.ie<10||!t.data("anim")?0:200)}},r.closeAll=function(e){i.each(i("."+s[0]),function(){var t=i(this),n=e?t.attr("type")===e:1;n&&r.close(t.attr("times")),n=null})};var f=r.cache||{},c=function(e){return f.skin?" "+f.skin+" "+f.skin+"-"+e:""};r.prompt=function(e,t){var a="";if(e=e||{},"function"==typeof e&&(t=e),e.area){var o=e.area;a='style="width: '+o[0]+"; height: "+o[1]+';"',delete e.area}var l,s=2==e.formType?'":function(){return''}();return r.open(i.extend({type:1,btn:["确定","取消"],content:s,skin:"layui-layer-prompt"+c("prompt"),maxWidth:n.width(),success:function(e){l=e.find(".layui-layer-input"),l.focus()},resize:!1,yes:function(i){var n=l.val();""===n?l.focus():n.length>(e.maxlength||500)?r.tips("最多输入"+(e.maxlength||500)+"个字数",l,{tips:1}):t&&t(n,i,l)}},e))},r.tab=function(e){e=e||{};var t=e.tab||{};return r.open(i.extend({type:1,skin:"layui-layer-tab"+c("tab"),resize:!1,title:function(){var e=t.length,i=1,n="";if(e>0)for(n=''+t[0].title+"";i"+t[i].title+"";return n}(),content:'
    '+function(){var e=t.length,i=1,n="";if(e>0)for(n='
  • '+(t[0].content||"no content")+"
  • ";i'+(t[i].content||"no content")+"";return n}()+"
",success:function(t){var n=t.find(".layui-layer-title").children(),a=t.find(".layui-layer-tabmain").children();n.on("mousedown",function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0;var n=i(this),o=n.index();n.addClass("layui-layer-tabnow").siblings().removeClass("layui-layer-tabnow"),a.eq(o).show().siblings().hide(),"function"==typeof e.change&&e.change(o)})}},e))},r.photos=function(t,n,a){function o(e,t,i){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,t(n)},void(n.onerror=function(e){n.onerror=null,i(e)}))}var l={};if(t=t||{},t.photos){var s=t.photos.constructor===Object,f=s?t.photos:{},d=f.data||[],u=f.start||0;if(l.imgIndex=(0|u)+1,t.img=t.img||"img",s){if(0===d.length)return r.msg("没有图片")}else{var y=i(t.photos),p=function(){d=[],y.find(t.img).each(function(e){var t=i(this);t.attr("layer-index",e),d.push({alt:t.attr("alt"),pid:t.attr("layer-pid"),src:t.attr("layer-src")||t.attr("src"),thumb:t.attr("src")})})};if(p(),0===d.length)return;if(n||y.on("click",t.img,function(){var e=i(this),n=e.attr("layer-index");r.photos(i.extend(t,{photos:{start:n,data:d,tab:t.tab},full:t.full}),!0),p()}),!n)return}l.imgprev=function(e){l.imgIndex--,l.imgIndex<1&&(l.imgIndex=d.length),l.tabimg(e)},l.imgnext=function(e,t){l.imgIndex++,l.imgIndex>d.length&&(l.imgIndex=1,t)||l.tabimg(e)},l.keyup=function(e){if(!l.end){var t=e.keyCode;e.preventDefault(),37===t?l.imgprev(!0):39===t?l.imgnext(!0):27===t&&r.close(l.index)}},l.tabimg=function(e){d.length<=1||(f.start=l.imgIndex-1,r.close(l.index),r.photos(t,!0,e))},l.event=function(){l.bigimg.hover(function(){l.imgsee.show()},function(){l.imgsee.hide()}),l.bigimg.find(".layui-layer-imgprev").on("click",function(e){e.preventDefault(),l.imgprev()}),l.bigimg.find(".layui-layer-imgnext").on("click",function(e){e.preventDefault(),l.imgnext()}),i(document).on("keyup",l.keyup)},l.loadi=r.load(1,{shade:!("shade"in t)&&.9,scrollbar:!1}),o(d[u].src,function(n){r.close(l.loadi),l.index=r.open(i.extend({type:1,area:function(){var a=[n.width,n.height],o=[i(e).width()-100,i(e).height()-100];if(!t.full&&(a[0]>o[0]||a[1]>o[1])){var r=[a[0]/o[0],a[1]/o[1]];r[0]>r[1]?(a[0]=a[0]/r[0],a[1]=a[1]/r[0]):r[0]'+(d[u].alt||
'+(d.length>1?'':"")+'
'+(d[u].alt||"")+""+l.imgIndex+"/"+d.length+"
",success:function(e,i){l.bigimg=e.find(".layui-layer-phimg"),l.imgsee=e.find(".layui-layer-imguide,.layui-layer-imgbar"),l.event(e),t.tab&&t.tab(d[u],e)},end:function(){l.end=!0,i(document).off("keyup",l.keyup)}},t))},function(){r.close(l.loadi),r.msg("当前图片地址异常
是否继续查看下一张?",{time:3e4,btn:["下一张","不看了"],yes:function(){d.length>1&&l.imgnext(!0,!0)}})})}},o.run=function(t){i=t,n=i(e),s.html=i("html"),r.open=function(e){var t=new l(e);return t.index}},e.layui&&layui.define?(r.ready(),layui.define("jquery",function(t){r.path=layui.cache.dir,o.run(layui.jquery),e.layer=r,t("layer",r)})):"function"==typeof define?define(["jquery"],function(){return o.run(e.jQuery),r}):function(){o.run(e.jQuery),r.ready()}()}(window); \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/mobile/layer.js b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/mobile/layer.js new file mode 100644 index 00000000..f9cf6931 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/mobile/layer.js @@ -0,0 +1,2 @@ +/*! layer mobile-v2.0.0 Web弹层组件 MIT License http://layer.layui.com/mobile By 贤心 */ + ;!function(e){"use strict";var t=document,n="querySelectorAll",i="getElementsByClassName",a=function(e){return t[n](e)},s={type:0,shade:!0,shadeClose:!0,fixed:!0,anim:"scale"},l={extend:function(e){var t=JSON.parse(JSON.stringify(s));for(var n in e)t[n]=e[n];return t},timer:{},end:{}};l.touch=function(e,t){e.addEventListener("click",function(e){t.call(this,e)},!1)};var r=0,o=["layui-m-layer"],c=function(e){var t=this;t.config=l.extend(e),t.view()};c.prototype.view=function(){var e=this,n=e.config,s=t.createElement("div");e.id=s.id=o[0]+r,s.setAttribute("class",o[0]+" "+o[0]+(n.type||0)),s.setAttribute("index",r);var l=function(){var e="object"==typeof n.title;return n.title?'

'+(e?n.title[0]:n.title)+"

":""}(),c=function(){"string"==typeof n.btn&&(n.btn=[n.btn]);var e,t=(n.btn||[]).length;return 0!==t&&n.btn?(e=''+n.btn[0]+"",2===t&&(e=''+n.btn[1]+""+e),'
'+e+"
"):""}();if(n.fixed||(n.top=n.hasOwnProperty("top")?n.top:100,n.style=n.style||"",n.style+=" top:"+(t.body.scrollTop+n.top)+"px"),2===n.type&&(n.content='

'+(n.content||"")+"

"),n.skin&&(n.anim="up"),"msg"===n.skin&&(n.shade=!1),s.innerHTML=(n.shade?"
':"")+'
"+l+'
'+n.content+"
"+c+"
",!n.type||2===n.type){var d=t[i](o[0]+n.type),y=d.length;y>=1&&layer.close(d[0].getAttribute("index"))}document.body.appendChild(s);var u=e.elem=a("#"+e.id)[0];n.success&&n.success(u),e.index=r++,e.action(n,u)},c.prototype.action=function(e,t){var n=this;e.time&&(l.timer[n.index]=setTimeout(function(){layer.close(n.index)},1e3*e.time));var a=function(){var t=this.getAttribute("type");0==t?(e.no&&e.no(),layer.close(n.index)):e.yes?e.yes(n.index):layer.close(n.index)};if(e.btn)for(var s=t[i]("layui-m-layerbtn")[0].children,r=s.length,o=0;odiv{line-height:22px;padding-top:7px;margin-bottom:20px;font-size:14px}.layui-m-layerbtn{display:box;display:-moz-box;display:-webkit-box;width:100%;height:50px;line-height:50px;font-size:0;border-top:1px solid #D0D0D0;background-color:#F2F2F2}.layui-m-layerbtn span{display:block;-moz-box-flex:1;box-flex:1;-webkit-box-flex:1;font-size:14px;cursor:pointer}.layui-m-layerbtn span[yes]{color:#40AFFE}.layui-m-layerbtn span[no]{border-right:1px solid #D0D0D0;border-radius:0 0 0 5px}.layui-m-layerbtn span:active{background-color:#F6F6F6}.layui-m-layerend{position:absolute;right:7px;top:10px;width:30px;height:30px;border:0;font-weight:400;background:0 0;cursor:pointer;-webkit-appearance:none;font-size:30px}.layui-m-layerend::after,.layui-m-layerend::before{position:absolute;left:5px;top:15px;content:'';width:18px;height:1px;background-color:#999;transform:rotate(45deg);-webkit-transform:rotate(45deg);border-radius:3px}.layui-m-layerend::after{transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}body .layui-m-layer .layui-m-layer-footer{position:fixed;width:95%;max-width:100%;margin:0 auto;left:0;right:0;bottom:10px;background:0 0}.layui-m-layer-footer .layui-m-layercont{padding:20px;border-radius:5px 5px 0 0;background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn{display:block;height:auto;background:0 0;border-top:none}.layui-m-layer-footer .layui-m-layerbtn span{background-color:rgba(255,255,255,.8)}.layui-m-layer-footer .layui-m-layerbtn span[no]{color:#FD482C;border-top:1px solid #c2c2c2;border-radius:0 0 5px 5px}.layui-m-layer-footer .layui-m-layerbtn span[yes]{margin-top:10px;border-radius:5px}body .layui-m-layer .layui-m-layer-msg{width:auto;max-width:90%;margin:0 auto;bottom:-150px;background-color:rgba(0,0,0,.7);color:#fff}.layui-m-layer-msg .layui-m-layercont{padding:10px 20px} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/icon-ext.png b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/icon-ext.png new file mode 100644 index 00000000..bbbb669b Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/icon-ext.png differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/icon.png b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/icon.png new file mode 100644 index 00000000..3e17da8b Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/icon.png differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/layer.css b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/layer.css new file mode 100644 index 00000000..b88c0c7c --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/layer.css @@ -0,0 +1 @@ +.layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .layui-layer-title span,.layui-layer-title{text-overflow:ellipsis;white-space:nowrap}*html{background-image:url(about:blank);background-attachment:fixed}html #layuicss-skinlayercss{display:none;position:absolute;width:1989px}.layui-layer,.layui-layer-shade{position:fixed;_position:absolute;pointer-events:auto}.layui-layer-shade{top:0;left:0;width:100%;height:100%;_height:expression(document.body.offsetHeight+"px")}.layui-layer{-webkit-overflow-scrolling:touch;top:150px;left:0;margin:0;padding:0;background-color:#fff;-webkit-background-clip:content;box-shadow:1px 1px 50px rgba(0,0,0,.3)}.layui-layer-close{position:absolute}.layui-layer-content{position:relative}.layui-layer-border{border:1px solid #B2B2B2;border:1px solid rgba(0,0,0,.1);box-shadow:1px 1px 5px rgba(0,0,0,.2)}.layui-layer-load{background:url(loading-1.gif) center center no-repeat #eee}.layui-layer-ico{background:url(icon.png) no-repeat}.layui-layer-btn a,.layui-layer-dialog .layui-layer-ico,.layui-layer-setwin a{display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-move{display:none;position:fixed;*position:absolute;left:0;top:0;width:100%;height:100%;cursor:move;opacity:0;filter:alpha(opacity=0);background-color:#fff;z-index:2147483647}.layui-layer-resize{position:absolute;width:15px;height:15px;right:0;bottom:0;cursor:se-resize}.layui-layer{border-radius:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim{-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-01{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.layer-anim-02{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-03{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);-ms-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}.layer-anim-04{-webkit-animation-name:rollIn;animation-name:rollIn}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.layer-anim-05{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.layer-anim-06{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes bounceOut{100%{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounceOut{100%{opacity:0;-webkit-transform:scale(.7);-ms-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-close{-webkit-animation-name:bounceOut;animation-name:bounceOut;-webkit-animation-duration:.2s;animation-duration:.2s}.layui-layer-title{padding:0 80px 0 20px;height:42px;line-height:42px;border-bottom:1px solid #eee;font-size:14px;color:#333;overflow:hidden;background-color:#F8F8F8;border-radius:2px 2px 0 0}.layui-layer-setwin{position:absolute;right:15px;*right:0;top:15px;font-size:0;line-height:initial}.layui-layer-setwin a{position:relative;width:16px;height:16px;margin-left:10px;font-size:12px;_overflow:hidden}.layui-layer-setwin .layui-layer-min cite{position:absolute;width:14px;height:2px;left:0;top:50%;margin-top:-1px;background-color:#2E2D3C;cursor:pointer;_overflow:hidden}.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2D93CA}.layui-layer-setwin .layui-layer-max{background-position:-32px -40px}.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px}.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px}.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px}.layui-layer-setwin .layui-layer-close1{background-position:0 -40px;cursor:pointer}.layui-layer-setwin .layui-layer-close1:hover{opacity:.7}.layui-layer-setwin .layui-layer-close2{position:absolute;right:-28px;top:-28px;width:30px;height:30px;margin-left:0;background-position:-149px -31px;*right:-18px;_display:none}.layui-layer-setwin .layui-layer-close2:hover{background-position:-180px -31px}.layui-layer-btn{text-align:right;padding:0 10px 12px;pointer-events:auto;user-select:none;-webkit-user-select:none}.layui-layer-btn a{height:28px;line-height:28px;margin:0 6px;padding:0 15px;border:1px solid #dedede;background-color:#f1f1f1;color:#333;border-radius:2px;font-weight:400;cursor:pointer;text-decoration:none}.layui-layer-btn a:hover{opacity:.9;text-decoration:none}.layui-layer-btn a:active{opacity:.8}.layui-layer-btn .layui-layer-btn0{border-color:#4898d5;background-color:#2e8ded;color:#fff}.layui-layer-btn-l{text-align:left}.layui-layer-btn-c{text-align:center}.layui-layer-dialog{min-width:260px}.layui-layer-dialog .layui-layer-content{position:relative;padding:20px;line-height:24px;word-break:break-all;overflow:hidden;font-size:14px;overflow-x:hidden;overflow-y:auto}.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute;top:16px;left:15px;_left:-40px;width:30px;height:30px}.layui-layer-ico1{background-position:-30px 0}.layui-layer-ico2{background-position:-60px 0}.layui-layer-ico3{background-position:-90px 0}.layui-layer-ico4{background-position:-120px 0}.layui-layer-ico5{background-position:-150px 0}.layui-layer-ico6{background-position:-180px 0}.layui-layer-rim{border:6px solid #8D8D8D;border:6px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:none}.layui-layer-msg{min-width:180px;border:1px solid #D3D4D3;box-shadow:none}.layui-layer-hui{min-width:100px;background-color:#000;filter:alpha(opacity=60);background-color:rgba(0,0,0,.6);color:#fff;border:none}.layui-layer-hui .layui-layer-content{padding:12px 25px;text-align:center}.layui-layer-dialog .layui-layer-padding{padding:20px 20px 20px 55px;text-align:left}.layui-layer-page .layui-layer-content{position:relative;overflow:auto}.layui-layer-iframe .layui-layer-btn,.layui-layer-page .layui-layer-btn{padding-top:10px}.layui-layer-nobg{background:0 0}.layui-layer-iframe iframe{display:block;width:100%}.layui-layer-loading{border-radius:100%;background:0 0;box-shadow:none;border:none}.layui-layer-loading .layui-layer-content{width:60px;height:24px;background:url(loading-0.gif) no-repeat}.layui-layer-loading .layui-layer-loading1{width:37px;height:37px;background:url(loading-1.gif) no-repeat}.layui-layer-ico16,.layui-layer-loading .layui-layer-loading2{width:32px;height:32px;background:url(loading-2.gif) no-repeat}.layui-layer-tips{background:0 0;box-shadow:none;border:none}.layui-layer-tips .layui-layer-content{position:relative;line-height:22px;min-width:12px;padding:5px 10px;font-size:12px;_float:left;border-radius:2px;box-shadow:1px 1px 3px rgba(0,0,0,.2);background-color:#000;color:#fff}.layui-layer-tips .layui-layer-close{right:-2px;top:-1px}.layui-layer-tips i.layui-layer-TipsG{position:absolute;width:0;height:0;border-width:8px;border-color:transparent;border-style:dashed;*overflow:hidden}.layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT{left:5px;border-right-style:solid;border-right-color:#000}.layui-layer-tips i.layui-layer-TipsT{bottom:-8px}.layui-layer-tips i.layui-layer-TipsB{top:-8px}.layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR{top:1px;border-bottom-style:solid;border-bottom-color:#000}.layui-layer-tips i.layui-layer-TipsR{left:-8px}.layui-layer-tips i.layui-layer-TipsL{right:-8px}.layui-layer-lan[type=dialog]{min-width:280px}.layui-layer-lan .layui-layer-title{background:#4476A7;color:#fff;border:none}.layui-layer-lan .layui-layer-btn{padding:10px;text-align:right;border-top:1px solid #E9E7E7}.layui-layer-lan .layui-layer-btn a{background:#BBB5B5;border:none}.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#C9C5C5}.layui-layer-molv .layui-layer-title{background:#009f95;color:#fff;border:none}.layui-layer-molv .layui-layer-btn a{background:#009f95}.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92B8B1}.layui-layer-iconext{background:url(icon-ext.png) no-repeat}.layui-layer-prompt .layui-layer-input{display:block;width:220px;height:30px;margin:0 auto;line-height:30px;padding:0 5px;border:1px solid #ccc;box-shadow:1px 1px 5px rgba(0,0,0,.1) inset;color:#333}.layui-layer-prompt textarea.layui-layer-input{width:300px;height:100px;line-height:20px}.layui-layer-prompt .layui-layer-content{padding:20px}.layui-layer-prompt .layui-layer-btn{padding-top:0}.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4)}.layui-layer-tab .layui-layer-title{padding-left:0;border-bottom:1px solid #ccc;background-color:#eee;overflow:visible}.layui-layer-tab .layui-layer-title span{position:relative;float:left;min-width:80px;max-width:260px;padding:0 20px;text-align:center;cursor:default;overflow:hidden}.layui-layer-tab .layui-layer-title span.layui-layer-tabnow{height:43px;border-left:1px solid #ccc;border-right:1px solid #ccc;background-color:#fff;z-index:10}.layui-layer-tab .layui-layer-title span:first-child{border-left:none}.layui-layer-tabmain{line-height:24px;clear:both}.layui-layer-tabmain .layui-layer-tabli{display:none}.layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer{display:block}.xubox_tabclose{position:absolute;right:10px;top:5px;cursor:pointer}.layui-layer-photos{-webkit-animation-duration:1s;animation-duration:1s}.layui-layer-photos .layui-layer-content{overflow:hidden;text-align:center}.layui-layer-photos .layui-layer-phimg img{position:relative;width:100%;display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-imgbar,.layui-layer-imguide{display:none}.layui-layer-imgnext,.layui-layer-imgprev{position:absolute;top:50%;width:27px;_width:44px;height:44px;margin-top:-22px;outline:0;blr:expression(this.onFocus=this.blur())}.layui-layer-imgprev{left:10px;background-position:-5px -5px;_background-position:-70px -5px}.layui-layer-imgprev:hover{background-position:-33px -5px;_background-position:-120px -5px}.layui-layer-imgnext{right:10px;_right:8px;background-position:-5px -50px;_background-position:-70px -50px}.layui-layer-imgnext:hover{background-position:-33px -50px;_background-position:-120px -50px}.layui-layer-imgbar{position:absolute;left:0;bottom:0;width:100%;height:32px;line-height:32px;background-color:rgba(0,0,0,.8);background-color:#000\9;filter:Alpha(opacity=80);color:#fff;overflow:hidden;font-size:0}.layui-layer-imgtit *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:12px}.layui-layer-imgtit a{max-width:65%;overflow:hidden;color:#fff}.layui-layer-imgtit a:hover{color:#fff;text-decoration:underline}.layui-layer-imgtit em{padding-left:10px;font-style:normal}@media screen and (max-width:1100px){.layui-layer-iframe{overflow-y:auto;-webkit-overflow-scrolling:touch}} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-0.gif b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-0.gif new file mode 100644 index 00000000..6f3c9539 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-0.gif differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-1.gif b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-1.gif new file mode 100644 index 00000000..db3a483e Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-1.gif differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-2.gif b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-2.gif new file mode 100644 index 00000000..5bb90fd6 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/default/loading-2.gif differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/moon/default.png b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/moon/default.png new file mode 100644 index 00000000..77dfaf30 Binary files /dev/null and b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/moon/default.png differ diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/moon/style.css b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/moon/style.css new file mode 100644 index 00000000..027dd1e0 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/static/plugins/layer/skin/moon/style.css @@ -0,0 +1 @@ +html #layui_layer_skinmoonstylecss{display:none;position:absolute;width:1989px}body .layer-ext-moon[type=dialog]{min-width:320px}body .layer-ext-moon-msg[type=dialog]{min-width:200px}body .layer-ext-moon .layui-layer-title{background:#f6f6f6;color:#212a31;font-size:16px;font-weight:700;height:46px;line-height:46px;border-bottom:1px solid #D5D5D5}body .layer-ext-moon .layui-layer-content .layui-layer-ico{height:32px;width:32px;top:18.5px}body .layer-ext-moon .layui-layer-ico0{background:url(default.png) -96px 0 no-repeat}body .layer-ext-moon .layui-layer-ico1{background:url(default.png) -224px 0 no-repeat}body .layer-ext-moon .layui-layer-ico2{background:url(default.png) -192px 0 no-repeat}body .layer-ext-moon .layui-layer-ico3{background:url(default.png) -160px 0 no-repeat}body .layer-ext-moon .layui-layer-ico4{background:url(default.png) -320px 0 no-repeat}body .layer-ext-moon .layui-layer-ico5{background:url(default.png) -288px 0 no-repeat}body .layer-ext-moon .layui-layer-ico6{background:url(default.png) -256px 0}body .layer-ext-moon .layui-layer-ico7{background:url(default.png) -128px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin{top:15px;right:15px}body .layer-ext-moon .layui-layer-setwin a{width:16px;height:16px}body .layer-ext-moon .layui-layer-setwin .layui-layer-min cite:hover{background-color:#56abe4}body .layer-ext-moon .layui-layer-setwin .layui-layer-max{background:url(default.png) -80px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-max:hover{background:url(default.png) -64px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-maxmin{background:url(default.png) -32px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-maxmin:hover{background:url(default.png) -16px 0 no-repeat}body .layer-ext-moon .layui-layer-setwin .layui-layer-close1,body .layer-ext-moon .layui-layer-setwin .layui-layer-close2{background:url(default.png)}body .layer-ext-moon .layui-layer-setwin .layui-layer-close1:hover,body .layer-ext-moon .layui-layer-setwin .layui-layer-close2:hover{background:url(default.png) -48px 0}body .layer-ext-moon .layui-layer-padding{padding-top:24px}body .layer-ext-moon .layui-layer-btn{text-align:center;padding-top:15px;padding-bottom:15px;background:#f0f4f7;border-top:1px #c7c7c7 solid}body .layer-ext-moon .layui-layer-btn a{font-size:12px;font-weight:400;margin:0 7px;padding:6px 20px;color:#fff;border:1px solid #0064b6;background:no-repeat #0071ce;border-radius:3px;display:inline-block;height:20px;line-height:20px;text-align:center;vertical-align:middle;text-decoration:none;outline:0}body .layer-ext-moon .layui-layer-btn .layui-layer-btn0{background:#0071ce}body .layer-ext-moon .layui-layer-btn .layui-layer-btn1{background:#fff;color:#404a58;border:1px solid #c0c4cd;border-radius:3px}body .layer-ext-moon .layui-layer-btn .layui-layer-btn2{background:#f60;color:#fff;border:1px solid #f60;border-radius:3px}body .layer-ext-moon .layui-layer-btn .layui-layer-btn3{background:red;color:#fff;border:1px solid red;border-radius:3px}body .layer-ext-moon .layui-layer-title span.layui-layer-tabnow{height:47px} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Controller.java.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Controller.java.vm new file mode 100644 index 00000000..63821649 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Controller.java.vm @@ -0,0 +1,90 @@ +package ${package}.${moduleName}.controller; + +import java.util.Arrays; +import java.util.Map; + +##import org.apache.shiro.authz.annotation.RequiresPermissions; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PathVariable; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import ${package}.${moduleName}.entity.${className}Entity; +import ${package}.${moduleName}.service.${className}Service; +import ${mainPath}.utils.PageUtils; +import ${mainPath}.utils.R; + + + +/** + * ${comments} + * + * @author ${author} + * @email ${email} + * @date ${datetime} + */ +@RestController +@RequestMapping("${moduleName}/${pathName}") +public class ${className}Controller { + @Autowired + private ${className}Service ${classname}Service; + + /** + * 列表 + */ + @RequestMapping("/list") +## @RequiresPermissions("${moduleName}:${pathName}:list") + public R list(@RequestParam Map params){ + PageUtils page = ${classname}Service.queryPage(params); + + return R.ok().put("page", page); + } + + + /** + * 信息 + */ + @RequestMapping("/info/{${pk.attrname}}") +## @RequiresPermissions("${moduleName}:${pathName}:info") + public R info(@PathVariable("${pk.attrname}") ${pk.attrType} ${pk.attrname}){ + ${className}Entity ${classname} = ${classname}Service.getById(${pk.attrname}); + + return R.ok().put("${classname}", ${classname}); + } + + /** + * 保存 + */ + @RequestMapping("/save") +## @RequiresPermissions("${moduleName}:${pathName}:save") + public R save(@RequestBody ${className}Entity ${classname}){ + ${classname}Service.save(${classname}); + + return R.ok(); + } + + /** + * 修改 + */ + @RequestMapping("/update") +## @RequiresPermissions("${moduleName}:${pathName}:update") + public R update(@RequestBody ${className}Entity ${classname}){ + ${classname}Service.updateById(${classname}); + + return R.ok(); + } + + /** + * 删除 + */ + @RequestMapping("/delete") +## @RequiresPermissions("${moduleName}:${pathName}:delete") + public R delete(@RequestBody ${pk.attrType}[] ${pk.attrname}s){ + ${classname}Service.removeByIds(Arrays.asList(${pk.attrname}s)); + + return R.ok(); + } + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Dao.java.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Dao.java.vm new file mode 100644 index 00000000..ece69cf7 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Dao.java.vm @@ -0,0 +1,16 @@ +package ${package}.${moduleName}.dao; + +import ${package}.${moduleName}.entity.${className}Entity; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + * ${comments} + * + * @author ${author} + * @email ${email} + * @date ${datetime} + */ +public interface ${className}Dao extends BaseMapper<${className}Entity> { + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Dao.xml.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Dao.xml.vm new file mode 100644 index 00000000..b742fe91 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Dao.xml.vm @@ -0,0 +1,14 @@ + + + + + + + +#foreach($column in $columns) + +#end + + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Entity.java.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Entity.java.vm new file mode 100644 index 00000000..362cfa92 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Entity.java.vm @@ -0,0 +1,35 @@ +package ${package}.${moduleName}.entity; + +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; + +#if(${hasBigDecimal}) +import java.math.BigDecimal; +#end +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * ${comments} + * + * @author ${author} + * @email ${email} + * @date ${datetime} + */ +@Data +@TableName("${tableName}") +public class ${className}Entity implements Serializable { + private static final long serialVersionUID = 1L; + +#foreach ($column in $columns) + /** + * $column.comments + */ + #if($column.columnName == $pk.columnName) +@TableId + #end +private $column.attrType $column.attrname; +#end + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/MongoChildrenEntity.java.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/MongoChildrenEntity.java.vm new file mode 100644 index 00000000..14a70094 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/MongoChildrenEntity.java.vm @@ -0,0 +1,29 @@ +package ${package}.${moduleName}.entity; + + +#if(${hasList}) +import java.util.List; +#end + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; +import org.springframework.data.mongodb.core.mapping.Document; +import org.springframework.data.annotation.Id; + +/** + * ${comments} + * + * @author ${author} + * @email ${email} + * @date ${datetime} + */ +@Data +public class ${className}InnerEntity { + + +#foreach ($column in $columns) +private #if($column.extra == "array")List<#end$column.attrType#if($column.extra == "array")>#end $column.attrname; +#end + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/MongoEntity.java.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/MongoEntity.java.vm new file mode 100644 index 00000000..c76aacd6 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/MongoEntity.java.vm @@ -0,0 +1,36 @@ +package ${package}.${moduleName}.entity; + + +#if(${hasBigDecimal}) +import java.math.BigDecimal; +#end +#if(${hasList}) +import java.util.List; +#end + +import java.io.Serializable; +import java.util.Date; +import lombok.Data; +import org.springframework.data.mongodb.core.mapping.Document; +import org.springframework.data.annotation.Id; + +/** + * ${comments} + * + * @author ${author} + * @email ${email} + * @date ${datetime} + */ +@Data +@Document(collection = "${tableName}") +public class ${className}Entity implements Serializable { + private static final long serialVersionUID = 1L; + +#foreach ($column in $columns) + #if($column.columnName == "id") +@Id + #end +private #if($column.extra == "array")List<#end$column.attrType#if($column.extra == "array")>#end $column.attrname; +#end + +} diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Service.java.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Service.java.vm new file mode 100644 index 00000000..1cba78dd --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/Service.java.vm @@ -0,0 +1,20 @@ +package ${package}.${moduleName}.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import ${mainPath}.utils.PageUtils; +import ${package}.${moduleName}.entity.${className}Entity; + +import java.util.Map; + +/** + * ${comments} + * + * @author ${author} + * @email ${email} + * @date ${datetime} + */ +public interface ${className}Service extends IService<${className}Entity> { + + PageUtils queryPage(Map params); +} + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/ServiceImpl.java.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/ServiceImpl.java.vm new file mode 100644 index 00000000..ba684cbd --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/ServiceImpl.java.vm @@ -0,0 +1,29 @@ +package ${package}.${moduleName}.service.impl; + +import org.springframework.stereotype.Service; +import java.util.Map; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import ${mainPath}.utils.PageUtils; +import ${mainPath}.utils.Query; + +import ${package}.${moduleName}.dao.${className}Dao; +import ${package}.${moduleName}.entity.${className}Entity; +import ${package}.${moduleName}.service.${className}Service; + + +@Service("${classname}Service") +public class ${className}ServiceImpl extends ServiceImpl<${className}Dao, ${className}Entity> implements ${className}Service { + + @Override + public PageUtils queryPage(Map params) { + IPage<${className}Entity> page = this.page( + new Query<${className}Entity>().getPage(params), + new QueryWrapper<${className}Entity>() + ); + + return new PageUtils(page); + } + +} \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/add-or-update.vue.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/add-or-update.vue.vm new file mode 100644 index 00000000..d19de2fe --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/add-or-update.vue.vm @@ -0,0 +1,109 @@ + + + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/index.vue.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/index.vue.vm new file mode 100644 index 00000000..12466552 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/index.vue.vm @@ -0,0 +1,159 @@ + + + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/menu.sql.vm b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/menu.sql.vm new file mode 100644 index 00000000..2b9495a3 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/template/menu.sql.vm @@ -0,0 +1,16 @@ +-- 菜单SQL +INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`) + VALUES ('1', '${comments}', '${moduleName}/${pathName}', NULL, '1', 'config', '6'); + +-- 按钮父菜单ID +set @parentId = @@identity; + +-- 菜单对应按钮SQL +INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`) + SELECT @parentId, '查看', null, '${moduleName}:${pathName}:list,${moduleName}:${pathName}:info', '2', null, '6'; +INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`) + SELECT @parentId, '新增', null, '${moduleName}:${pathName}:save', '2', null, '6'; +INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`) + SELECT @parentId, '修改', null, '${moduleName}:${pathName}:update', '2', null, '6'; +INSERT INTO `sys_menu` (`parent_id`, `name`, `url`, `perms`, `type`, `icon`, `order_num`) + SELECT @parentId, '删除', null, '${moduleName}:${pathName}:delete', '2', null, '6'; diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/generator.html b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/generator.html new file mode 100644 index 00000000..215db658 --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/generator.html @@ -0,0 +1,35 @@ + + + +代码生成器 + + + + + + + + + + + + + + + + +
+
+
+ +
+ 查询 +  生成代码 +
+
+
+
+ + + + \ No newline at end of file diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/index.html b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/index.html new file mode 100644 index 00000000..f03ffdbb --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/index.html @@ -0,0 +1,110 @@ + + + + + + 人人代码生成器 + + + + + + + + + + + + +
+
+ + + +
+ + + + + + + +
+ +
+ +
+ + +
+ +
+ +
+ + +
+ + Copyright © 2017 renren.io All Rights Reserved +
+ + +
+ + + +
+ + + + + + + + + + + + diff --git a/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/main.html b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/main.html new file mode 100644 index 00000000..9cca279b --- /dev/null +++ b/xjs-business/xjs-project-mall/renren-generator/src/main/resources/views/main.html @@ -0,0 +1,29 @@ + + + + + + 欢迎页 + + + + +
+
基本信息
+
+

   获取帮助

+ + +

   官方QQ群

+
    +
  • 高级群:324780204(大牛云集,跟大牛学习新技能)
  • +
  • 普通群:145799952(学习交流,互相解答各种疑问)
  • +
+
+
+ + \ No newline at end of file