|
@@ -4,6 +4,7 @@ import cn.hnthyy.thmz.comment.UserLoginToken;
|
|
|
import cn.hnthyy.thmz.entity.jy.ResultVo;
|
|
|
import cn.hnthyy.thmz.entity.yb.SelinfoReturn;
|
|
|
import cn.hnthyy.thmz.entity.yb.SelinfoSold;
|
|
|
+import cn.hnthyy.thmz.entity.yb.SelinfoSoldTotal;
|
|
|
import cn.hnthyy.thmz.service.yb.YbService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -21,8 +22,8 @@ public class YbController {
|
|
|
private YbService ybService;
|
|
|
|
|
|
@RequestMapping(value = "/saleGoodsItem", method = {RequestMethod.POST})
|
|
|
- public ResultVo saleGoodsItem(@RequestBody SelinfoSold selInfo) {
|
|
|
- return ybService.saleGoodsItem(selInfo);
|
|
|
+ public ResultVo saleGoodsItem(@RequestBody SelinfoSoldTotal selinfoSoldTotal) {
|
|
|
+ return ybService.saleGoodsItem(selinfoSoldTotal);
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/returnGoodsItem", method = {RequestMethod.POST})
|