|
@@ -11,6 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -64,6 +65,20 @@ public class DcSpecController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询产品规格为全部
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping(value = "/getDcSpecList")
|
|
|
+ public List<Map<String, Object>> getDcSpecList(){
|
|
|
+ Map maps = new HashMap();
|
|
|
+ maps.put("ps_category","全部");
|
|
|
+ List<Map<String, Object>> list = iDcSpecService.selectDcPsParamAndSpec(maps);
|
|
|
+ return list;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
}
|