qxp192083 5 éve
szülő
commit
0d70bd2af6

+ 2 - 0
dgtly-api/src/main/resources/application-dev.yml

@@ -47,6 +47,8 @@ spring:
   jackson:
     time-zone: GMT+8
     date-format: yyyy-MM-dd HH:mm:ss
+    #字段为空不生效
+    default-property-inclusion: non_null
   profiles:
     include: dev-druid
   # 文件上传

+ 2 - 0
dgtly-api/src/main/resources/application-test.yml

@@ -47,6 +47,8 @@ spring:
   jackson:
     time-zone: GMT+8
     date-format: yyyy-MM-dd HH:mm:ss
+    #字段为空不生效
+    default-property-inclusion: non_null
   profiles:
     include: test-druid
   # 文件上传

+ 1 - 1
dgtly-goods/dgtly-goods-api/src/main/java/com/dgtly/goods/controller/GoodsTypeController.java

@@ -6,7 +6,6 @@ import com.dgtly.common.core.controller.ApiBaseController;
 import com.dgtly.common.core.domain.AjaxResult;
 import com.dgtly.common.core.domain.ParameterObject;
 import com.dgtly.common.core.domain.Ztree;
-import com.dgtly.goods.domain.GoodsType;
 import com.dgtly.goods.service.IGoodsTypeService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.PostMapping;
@@ -15,6 +14,7 @@ import org.springframework.web.bind.annotation.RestController;
 
 import java.util.List;
 
+
 @RestController
 @RequestMapping("/goods/type")
 @ApiPassToken/* 不用验证token  方法上可用*/

+ 1 - 1
dgtly-goods/dgtly-goods-common/src/main/java/com/dgtly/goods/domain/GoodsTypeAttribute.java

@@ -6,7 +6,7 @@ import com.dgtly.common.annotation.Excel;
 import com.dgtly.common.core.domain.BaseEntity;
 
 /**
- * 【请填写功能名称】对象 goods_type_attribute
+ * 商品分类属性对象 goods_type_attribute
  * 
  * @author dgtly
  * @date 2020-02-13

+ 14 - 14
dgtly-goods/dgtly-goods-common/src/main/java/com/dgtly/goods/mapper/GoodsTypeAttributeMapper.java

@@ -6,7 +6,7 @@ import org.apache.ibatis.annotations.Param;
 import java.util.List;
 
 /**
- * 【请填写功能名称】Mapper接口
+ * 商品分类属性Mapper接口
  * 
  * @author dgtly
  * @date 2020-02-13
@@ -14,47 +14,47 @@ import java.util.List;
 public interface GoodsTypeAttributeMapper 
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询商品分类属性
      * 
-     * @param id 【请填写功能名称】ID
-     * @return 【请填写功能名称】
+     * @param id 商品分类属性ID
+     * @return 商品分类属性
      */
     public GoodsTypeAttribute selectGoodsTypeAttributeById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询商品分类属性列表
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param goodsTypeAttribute 商品分类属性
+     * @return 商品分类属性集合
      */
     public List<GoodsTypeAttribute> selectGoodsTypeAttributeList(GoodsTypeAttribute goodsTypeAttribute);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增商品分类属性
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
+     * @param goodsTypeAttribute 商品分类属性
      * @return 结果
      */
     public int insertGoodsTypeAttribute(GoodsTypeAttribute goodsTypeAttribute);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改商品分类属性
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
+     * @param goodsTypeAttribute 商品分类属性
      * @return 结果
      */
     public int updateGoodsTypeAttribute(GoodsTypeAttribute goodsTypeAttribute);
 
     /**
-     * 删除【请填写功能名称】
+     * 删除商品分类属性
      * 
-     * @param id 【请填写功能名称】ID
+     * @param id 商品分类属性ID
      * @return 结果
      */
     public int deleteGoodsTypeAttributeById(Long id);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除商品分类属性
      * 
      * @param ids 需要删除的数据ID
      * @return 结果

+ 14 - 14
dgtly-goods/dgtly-goods-common/src/main/java/com/dgtly/goods/service/IGoodsTypeAttributeService.java

@@ -4,7 +4,7 @@ import com.dgtly.goods.domain.GoodsTypeAttribute;
 import java.util.List;
 
 /**
- * 【请填写功能名称】Service接口
+ * 商品分类属性Service接口
  * 
  * @author dgtly
  * @date 2020-02-13
@@ -12,39 +12,39 @@ import java.util.List;
 public interface IGoodsTypeAttributeService 
 {
     /**
-     * 查询【请填写功能名称】
+     * 查询商品分类属性
      * 
-     * @param id 【请填写功能名称】ID
-     * @return 【请填写功能名称】
+     * @param id 商品分类属性ID
+     * @return 商品分类属性
      */
     public GoodsTypeAttribute selectGoodsTypeAttributeById(Long id);
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询商品分类属性列表
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
-     * @return 【请填写功能名称】集合
+     * @param goodsTypeAttribute 商品分类属性
+     * @return 商品分类属性集合
      */
     public List<GoodsTypeAttribute> selectGoodsTypeAttributeList(GoodsTypeAttribute goodsTypeAttribute);
 
     /**
-     * 新增【请填写功能名称】
+     * 新增商品分类属性
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
+     * @param goodsTypeAttribute 商品分类属性
      * @return 结果
      */
     public int insertGoodsTypeAttribute(GoodsTypeAttribute goodsTypeAttribute);
 
     /**
-     * 修改【请填写功能名称】
+     * 修改商品分类属性
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
+     * @param goodsTypeAttribute 商品分类属性
      * @return 结果
      */
     public int updateGoodsTypeAttribute(GoodsTypeAttribute goodsTypeAttribute);
 
     /**
-     * 批量删除【请填写功能名称】
+     * 批量删除商品分类属性
      * 
      * @param ids 需要删除的数据ID
      * @return 结果
@@ -52,9 +52,9 @@ public interface IGoodsTypeAttributeService
     public int deleteGoodsTypeAttributeByIds(String ids);
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除商品分类属性信息
      * 
-     * @param id 【请填写功能名称】ID
+     * @param id 商品分类属性ID
      * @return 结果
      */
     public int deleteGoodsTypeAttributeById(Long id);

+ 14 - 14
dgtly-goods/dgtly-goods-common/src/main/java/com/dgtly/goods/service/impl/GoodsTypeAttributeServiceImpl.java

@@ -10,7 +10,7 @@ import com.dgtly.goods.service.IGoodsTypeAttributeService;
 import com.dgtly.common.core.text.Convert;
 
 /**
- * 【请填写功能名称】Service业务层处理
+ * 商品分类属性Service业务层处理
  * 
  * @author dgtly
  * @date 2020-02-13
@@ -22,10 +22,10 @@ public class GoodsTypeAttributeServiceImpl implements IGoodsTypeAttributeService
     private GoodsTypeAttributeMapper goodsTypeAttributeMapper;
 
     /**
-     * 查询【请填写功能名称】
+     * 查询商品分类属性
      * 
-     * @param id 【请填写功能名称】ID
-     * @return 【请填写功能名称】
+     * @param id 商品分类属性ID
+     * @return 商品分类属性
      */
     @Override
     public GoodsTypeAttribute selectGoodsTypeAttributeById(Long id)
@@ -34,10 +34,10 @@ public class GoodsTypeAttributeServiceImpl implements IGoodsTypeAttributeService
     }
 
     /**
-     * 查询【请填写功能名称】列表
+     * 查询商品分类属性列表
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
-     * @return 【请填写功能名称】
+     * @param goodsTypeAttribute 商品分类属性
+     * @return 商品分类属性
      */
     @Override
     public List<GoodsTypeAttribute> selectGoodsTypeAttributeList(GoodsTypeAttribute goodsTypeAttribute)
@@ -46,9 +46,9 @@ public class GoodsTypeAttributeServiceImpl implements IGoodsTypeAttributeService
     }
 
     /**
-     * 新增【请填写功能名称】
+     * 新增商品分类属性
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
+     * @param goodsTypeAttribute 商品分类属性
      * @return 结果
      */
     @Override
@@ -59,9 +59,9 @@ public class GoodsTypeAttributeServiceImpl implements IGoodsTypeAttributeService
     }
 
     /**
-     * 修改【请填写功能名称】
+     * 修改商品分类属性
      * 
-     * @param goodsTypeAttribute 【请填写功能名称】
+     * @param goodsTypeAttribute 商品分类属性
      * @return 结果
      */
     @Override
@@ -72,7 +72,7 @@ public class GoodsTypeAttributeServiceImpl implements IGoodsTypeAttributeService
     }
 
     /**
-     * 删除【请填写功能名称】对象
+     * 删除商品分类属性对象
      * 
      * @param ids 需要删除的数据ID
      * @return 结果
@@ -84,9 +84,9 @@ public class GoodsTypeAttributeServiceImpl implements IGoodsTypeAttributeService
     }
 
     /**
-     * 删除【请填写功能名称】信息
+     * 删除商品分类属性信息
      * 
-     * @param id 【请填写功能名称】ID
+     * @param id 商品分类属性ID
      * @return 结果
      */
     @Override

+ 4 - 0
dgtly-member/dgtly-member-api/src/main/java/com/dgtly/member/controller/TestController.java

@@ -0,0 +1,4 @@
+package com.dgtly.member.controller;
+
+public class TestController {
+}