Kaynağa Gözat

fix: 去除

xdd 4 gün önce
ebeveyn
işleme
0c088585b2

+ 2 - 2
fs-admin/src/main/java/com/fs/hisStore/controller/FsStoreProductScrmController.java

@@ -170,8 +170,8 @@ public class FsStoreProductScrmController extends BaseController
 
     @ApiOperation(value = "生成属性")
     @PostMapping(value = "/genFormatAttr/{productId}")
-    public ResponseEntity genFormatAttr(@PathVariable Long productId,@RequestBody FormatAttrParam param){
-        return new ResponseEntity<>(fsStoreProductService.getFormatAttr(productId,param.getAttrs(),param.getStores()), HttpStatus.OK);
+    public ResponseEntity genFormatAttr(@PathVariable Long productId, @RequestBody String jsonStr){
+        return new ResponseEntity<>(fsStoreProductService.getFormatAttr(productId,jsonStr,null), HttpStatus.OK);
     }
 
 

+ 0 - 1
fs-service/src/main/java/com/fs/todo/mapper/FsTodoItemsMapper.java

@@ -17,7 +17,6 @@ public interface FsTodoItemsMapper {
     /**
      * 根据ID查询待办事项
      */
-    @Select("SELECT * FROM fs_todo_items WHERE id = #{id}")
     FsTodoItems selectById(@Param("id") Long id);