|
@@ -63,7 +63,7 @@ public class InvoiceController {
|
|
|
* @param orid the orid 订单号
|
|
* @param orid the orid 订单号
|
|
|
* @return InvoiceFOrder 返回InvoiceFOrder对象
|
|
* @return InvoiceFOrder 返回InvoiceFOrder对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/create/{orid}/order", method = RequestMethod.PUT)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/create/{orid}/order", method = RequestMethod.PUT)
|
|
|
@ApiOperation(value = "订单转出货", httpMethod = "PUT")
|
|
@ApiOperation(value = "订单转出货", httpMethod = "PUT")
|
|
|
public Invoice send(@ApiParam(required = true, value = "订单id") @PathVariable Long orid) {
|
|
public Invoice send(@ApiParam(required = true, value = "订单id") @PathVariable Long orid) {
|
|
|
logger.log("客户出货单信息管理", "转出货", "转出货的订单id=" + orid + ",操作人:" + SystemSession.getUser().getUserUU() + "-" + SystemSession.getUser().getUserName());
|
|
logger.log("客户出货单信息管理", "转出货", "转出货的订单id=" + orid + ",操作人:" + SystemSession.getUser().getUserUU() + "-" + SystemSession.getUser().getUserName());
|
|
@@ -76,7 +76,7 @@ public class InvoiceController {
|
|
|
* @param inid the inid 发货单号
|
|
* @param inid the inid 发货单号
|
|
|
* @return InvoiceFOrder 返回InvoiceFOrder对象
|
|
* @return InvoiceFOrder 返回InvoiceFOrder对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/{inid}/send", method = RequestMethod.PUT)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/{inid}/send", method = RequestMethod.PUT)
|
|
|
@ApiOperation(value = "平台发货", httpMethod = "PUT")
|
|
@ApiOperation(value = "平台发货", httpMethod = "PUT")
|
|
|
public Invoice sendorder(@ApiParam(required = true, value = "发货单号") @PathVariable String inid) {
|
|
public Invoice sendorder(@ApiParam(required = true, value = "发货单号") @PathVariable String inid) {
|
|
|
logger.log("客户出货单信息管理", "平台发货", "平台发货的流水号:" + inid + ",操作人:" + SystemSession.getUser().getUserUU() + "-" +SystemSession.getUser().getUserName());
|
|
logger.log("客户出货单信息管理", "平台发货", "平台发货的流水号:" + inid + ",操作人:" + SystemSession.getUser().getUserUU() + "-" +SystemSession.getUser().getUserName());
|
|
@@ -91,7 +91,7 @@ public class InvoiceController {
|
|
|
* @param status the status 状态
|
|
* @param status the status 状态
|
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/admin", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/admin", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "平台根据状态查看卖家出货单", httpMethod = "GET")
|
|
@ApiOperation(value = "平台根据状态查看卖家出货单", httpMethod = "GET")
|
|
|
public Page<Invoice> findAdminInFor(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword, @ApiParam(required = true, value = "出货单状态") String status) {
|
|
public Page<Invoice> findAdminInFor(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword, @ApiParam(required = true, value = "出货单状态") String status) {
|
|
|
logger.log("客户出货单信息管理", "平台根据状态查看卖家出货单");
|
|
logger.log("客户出货单信息管理", "平台根据状态查看卖家出货单");
|
|
@@ -106,7 +106,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/tobeshipped", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/tobeshipped", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看待出货状态出货单", httpMethod = "GET")
|
|
@ApiOperation(value = "查看待出货状态出货单", httpMethod = "GET")
|
|
|
public Page<Invoice> findToBeShipped(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findToBeShipped(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("客户出货单信息管理", "查看待出货");
|
|
logger.log("客户出货单信息管理", "查看待出货");
|
|
@@ -122,7 +122,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/inbound", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/inbound", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看待收货状态出货单", httpMethod = "GET")
|
|
@ApiOperation(value = "查看待收货状态出货单", httpMethod = "GET")
|
|
|
public Page<Invoice> findInbound(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findInbound(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("客户出货单信息管理", "查看待收货");
|
|
logger.log("客户出货单信息管理", "查看待收货");
|
|
@@ -138,7 +138,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/received", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/received", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看已收货状态出货单", httpMethod = "GET")
|
|
@ApiOperation(value = "查看已收货状态出货单", httpMethod = "GET")
|
|
|
public Page<Invoice> findReceived(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findReceived(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("客户出货单信息管理", "查看已收货");
|
|
logger.log("客户出货单信息管理", "查看已收货");
|
|
@@ -154,7 +154,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
* @return page 返回InvoiceFOrder的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/paid", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/paid", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看已付款状态出货单", httpMethod = "GET")
|
|
@ApiOperation(value = "查看已付款状态出货单", httpMethod = "GET")
|
|
|
public Page<Invoice> findPaid(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findPaid(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("客户出货单信息管理", "查看已付款");
|
|
logger.log("客户出货单信息管理", "查看已付款");
|
|
@@ -182,7 +182,7 @@ public class InvoiceController {
|
|
|
* @param postDate 所有转出货单的订单map集合
|
|
* @param postDate 所有转出货单的订单map集合
|
|
|
* @return string 返回success
|
|
* @return string 返回success
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/batch/create", method = RequestMethod.POST)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/batch/create", method = RequestMethod.POST)
|
|
|
@ApiOperation(value = "平台收货后,订单转出货单", httpMethod = "POST")
|
|
@ApiOperation(value = "平台收货后,订单转出货单", httpMethod = "POST")
|
|
|
public String convertInvoiceFOrder(@ApiParam(required = true, value = "所有转出货单的订单map集合") @RequestBody String postDate) {
|
|
public String convertInvoiceFOrder(@ApiParam(required = true, value = "所有转出货单的订单map集合") @RequestBody String postDate) {
|
|
|
JSONObject jsonObject = FastjsonUtils.parseObject(postDate);
|
|
JSONObject jsonObject = FastjsonUtils.parseObject(postDate);
|
|
@@ -199,7 +199,7 @@ public class InvoiceController {
|
|
|
* @id 买家订单主键
|
|
* @id 买家订单主键
|
|
|
* @return string 返回success
|
|
* @return string 返回success
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/ship", method = RequestMethod.POST)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/ship", method = RequestMethod.POST)
|
|
|
public ResultMap orderShip(@RequestBody String json, Long id) {
|
|
public ResultMap orderShip(@RequestBody String json, Long id) {
|
|
|
return invoiceService.orderShip(json, id);
|
|
return invoiceService.orderShip(json, id);
|
|
|
}
|
|
}
|
|
@@ -211,7 +211,7 @@ public class InvoiceController {
|
|
|
* @param json 请求体的信息
|
|
* @param json 请求体的信息
|
|
|
* @return string 返回success
|
|
* @return string 返回success
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/batch/send", method = RequestMethod.PUT)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFor/batch/send", method = RequestMethod.PUT)
|
|
|
public String batchOrSingleFOrSend(@RequestBody String json) {
|
|
public String batchOrSingleFOrSend(@RequestBody String json) {
|
|
|
try {
|
|
try {
|
|
|
invoiceService.batchOrSingleFOrSend(json);
|
|
invoiceService.batchOrSingleFOrSend(json);
|
|
@@ -295,7 +295,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/inFpu/enterprise/tobeshipped", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFpu/tobeshipped", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看企业待出货", httpMethod = "GET")
|
|
@ApiOperation(value = "查看企业待出货", httpMethod = "GET")
|
|
|
public Page<Invoice> findEntToBeShipped(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findEntToBeShipped(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("平台出货单管理", "查看企业待出货");
|
|
logger.log("平台出货单管理", "查看企业待出货");
|
|
@@ -312,7 +312,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/inFpu/enterprise/received", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFpu/received", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看企业已收货", httpMethod = "GET")
|
|
@ApiOperation(value = "查看企业已收货", httpMethod = "GET")
|
|
|
public Page<Invoice> findEntReceived(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findEntReceived(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("平台出货单管理", "查看企业已收货");
|
|
logger.log("平台出货单管理", "查看企业已收货");
|
|
@@ -358,7 +358,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回Invoice的page对象
|
|
* @return page 返回Invoice的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/inFpu/enterprise/inbound", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFpu/inbound", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看企业待收货", httpMethod = "GET")
|
|
@ApiOperation(value = "查看企业待收货", httpMethod = "GET")
|
|
|
public Page<Invoice> findEntInbound(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findEntInbound(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("平台出货单管理", "查看企业待收货");
|
|
logger.log("平台出货单管理", "查看企业待收货");
|
|
@@ -407,7 +407,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/inFpu/enterprise/toreceivemoney", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFpu/toreceivemoney", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "根据卖家企业enuu查看待收款", httpMethod = "GET")
|
|
@ApiOperation(value = "根据卖家企业enuu查看待收款", httpMethod = "GET")
|
|
|
public Page<Invoice> findEntToreceivemoney(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findEntToreceivemoney(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("平台出货单管理", "查看待收款");
|
|
logger.log("平台出货单管理", "查看待收款");
|
|
@@ -440,7 +440,7 @@ public class InvoiceController {
|
|
|
* @param keyword the keyword 搜索字符串
|
|
* @param keyword the keyword 搜索字符串
|
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
* @return page 返回InvoiceFPurchase的page对象
|
|
|
*/
|
|
*/
|
|
|
- @RequestMapping(value = "/inFpu/enterprise/moneyreceived", method = RequestMethod.GET)
|
|
|
|
|
|
|
+ @RequestMapping(value = "/inFpu/moneyreceived", method = RequestMethod.GET)
|
|
|
@ApiOperation(value = "查看企业已收款", httpMethod = "GET")
|
|
@ApiOperation(value = "查看企业已收款", httpMethod = "GET")
|
|
|
public Page<Invoice> findEntMoneyreceived(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
public Page<Invoice> findEntMoneyreceived(@ApiParam(required = true, value = "分页参数") PageParams params, @ApiParam(required = true, value = "搜索字符串") String keyword) {
|
|
|
logger.log("平台出货单管理", "查看企业已收款");
|
|
logger.log("平台出货单管理", "查看企业已收款");
|