inv_user_product,inv_user_product_detail表初始化代码提交
parent
f22fc931f2
commit
92e2a0fe89
@ -0,0 +1,55 @@
|
|||||||
|
package com.glxp.api.controller.inv;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
|
import com.glxp.api.annotation.Log;
|
||||||
|
import com.glxp.api.common.enums.ResultEnum;
|
||||||
|
import com.glxp.api.common.res.BaseResponse;
|
||||||
|
import com.glxp.api.common.util.ResultVOUtils;
|
||||||
|
import com.glxp.api.constant.BusinessType;
|
||||||
|
import com.glxp.api.controller.BaseController;
|
||||||
|
import com.glxp.api.entity.inv.InvProductDetailEntity;
|
||||||
|
import com.glxp.api.entity.inv.InvProductEntity;
|
||||||
|
import com.glxp.api.entity.inv.InvUserProductEntity;
|
||||||
|
import com.glxp.api.req.inv.FilterInvProductDetailRequest;
|
||||||
|
import com.glxp.api.req.system.DeleteRequest;
|
||||||
|
import com.glxp.api.service.inv.InvProductDetailService;
|
||||||
|
import com.glxp.api.service.inv.InvUserProductService;
|
||||||
|
import groovy.util.logging.Slf4j;
|
||||||
|
import org.springframework.validation.BindingResult;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户库存查询接口
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
@RestController
|
||||||
|
public class InvUserProductController extends BaseController {
|
||||||
|
|
||||||
|
@Resource
|
||||||
|
private InvUserProductService invUserProductService;
|
||||||
|
@Resource
|
||||||
|
private InvProductDetailService invProductDetailServicel;
|
||||||
|
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * 添加库存
|
||||||
|
// *
|
||||||
|
// * @param invUserProductEntity
|
||||||
|
// * @return
|
||||||
|
// */
|
||||||
|
// @PostMapping("/spms/inv/user/product/add")
|
||||||
|
// @Log(title = "用户库存查询", businessType = BusinessType.INSERT)
|
||||||
|
// public BaseResponse addInvUserProduct(@RequestBody InvUserProductEntity invUserProductEntity) {
|
||||||
|
//
|
||||||
|
// invUserProductService.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package com.glxp.api.controller.inv;
|
||||||
|
|
||||||
|
import com.glxp.api.controller.BaseController;
|
||||||
|
import groovy.util.logging.Slf4j;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户库存查询接口
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
@RestController
|
||||||
|
public class InvUserProductDetailController{
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue