|
@@ -1,6 +1,7 @@
|
|
package com.platform.rest.controller.store;
|
|
package com.platform.rest.controller.store;
|
|
|
|
|
|
import com.platform.common.util.R;
|
|
import com.platform.common.util.R;
|
|
|
|
+import com.platform.common.util.StringUtils;
|
|
import com.platform.dao.dto.store.InStoreDetailDTO;
|
|
import com.platform.dao.dto.store.InStoreDetailDTO;
|
|
import com.platform.dao.entity.store.InStoreDetail;
|
|
import com.platform.dao.entity.store.InStoreDetail;
|
|
import com.platform.service.store.InStoreDetailService;
|
|
import com.platform.service.store.InStoreDetailService;
|
|
@@ -43,6 +44,17 @@ public class InStoreDetailController {
|
|
return new R<>(inStoreDetailService.getModelById(id));
|
|
return new R<>(inStoreDetailService.getModelById(id));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 通过id查询单条记录
|
|
|
|
+ *
|
|
|
|
+ * @param id 主键
|
|
|
|
+ * @return R
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/three/{id}")
|
|
|
|
+ public R<String> getThreeTest(@PathVariable("id") String id){
|
|
|
|
+ return new R<>(StringUtils.getThreeTestById(id));
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 新增记录
|
|
* 新增记录
|
|
*
|
|
*
|