提交 119b1a25 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 953d5585
...@@ -22,34 +22,34 @@ public class Purchase_orderExService extends Purchase_orderServiceImpl { ...@@ -22,34 +22,34 @@ public class Purchase_orderExService extends Purchase_orderServiceImpl {
} }
/** /**
* 自定义行为[Action_view_invoice]用户扩展 * 自定义行为[Button_cancel]用户扩展
* @param et * @param et
* @return * @return
*/ */
@Override @Override
@Transactional @Transactional
public Purchase_order action_view_invoice(Purchase_order et) { public Purchase_order button_cancel(Purchase_order et) {
return super.action_view_invoice(et); return super.button_cancel(et);
} }
/** /**
* 自定义行为[Action_view_picking]用户扩展 * 自定义行为[Button_confirm]用户扩展
* @param et * @param et
* @return * @return
*/ */
@Override @Override
@Transactional @Transactional
public Purchase_order action_view_picking(Purchase_order et) { public Purchase_order button_confirm(Purchase_order et) {
return super.action_view_picking(et); return super.button_confirm(et);
} }
/** /**
* 自定义行为[Button_confirm]用户扩展 * 自定义行为[Button_done]用户扩展
* @param et * @param et
* @return * @return
*/ */
@Override @Override
@Transactional @Transactional
public Purchase_order button_confirm(Purchase_order et) { public Purchase_order button_done(Purchase_order et) {
return super.button_confirm(et); return super.button_done(et);
} }
/** /**
* 自定义行为[Button_unlock]用户扩展 * 自定义行为[Button_unlock]用户扩展
......
...@@ -64,15 +64,15 @@ public class purchase_orderFallback implements purchase_orderFeignClient{ ...@@ -64,15 +64,15 @@ public class purchase_orderFallback implements purchase_orderFeignClient{
public Purchase_order action_view_invoice( Long id, Purchase_order purchase_order){ public Purchase_order button_cancel( Long id, Purchase_order purchase_order){
return null; return null;
} }
public Purchase_order action_view_picking( Long id, Purchase_order purchase_order){ public Purchase_order button_confirm( Long id, Purchase_order purchase_order){
return null; return null;
} }
public Purchase_order button_confirm( Long id, Purchase_order purchase_order){ public Purchase_order button_done( Long id, Purchase_order purchase_order){
return null; return null;
} }
......
...@@ -60,18 +60,18 @@ public interface purchase_orderFeignClient { ...@@ -60,18 +60,18 @@ public interface purchase_orderFeignClient {
Purchase_order getDraft(); Purchase_order getDraft();
@RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/action_view_invoice") @RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/button_cancel")
Purchase_order action_view_invoice(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order); Purchase_order button_cancel(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order);
@RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/action_view_picking")
Purchase_order action_view_picking(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order);
@RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/button_confirm") @RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/button_confirm")
Purchase_order button_confirm(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order); Purchase_order button_confirm(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order);
@RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/button_done")
Purchase_order button_done(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order);
@RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/button_unlock") @RequestMapping(method = RequestMethod.POST, value = "/purchase_orders/{id}/button_unlock")
Purchase_order button_unlock(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order); Purchase_order button_unlock(@PathVariable("id") Long id,@RequestBody Purchase_order purchase_order);
......
...@@ -34,9 +34,9 @@ public interface IPurchase_orderService extends IService<Purchase_order>{ ...@@ -34,9 +34,9 @@ public interface IPurchase_orderService extends IService<Purchase_order>{
void removeBatch(Collection<Long> idList) ; void removeBatch(Collection<Long> idList) ;
Purchase_order get(Long key) ; Purchase_order get(Long key) ;
Purchase_order getDraft(Purchase_order et) ; Purchase_order getDraft(Purchase_order et) ;
Purchase_order action_view_invoice(Purchase_order et) ; Purchase_order button_cancel(Purchase_order et) ;
Purchase_order action_view_picking(Purchase_order et) ;
Purchase_order button_confirm(Purchase_order et) ; Purchase_order button_confirm(Purchase_order et) ;
Purchase_order button_done(Purchase_order et) ;
Purchase_order button_unlock(Purchase_order et) ; Purchase_order button_unlock(Purchase_order et) ;
boolean checkKey(Purchase_order et) ; boolean checkKey(Purchase_order et) ;
boolean save(Purchase_order et) ; boolean save(Purchase_order et) ;
......
...@@ -158,21 +158,21 @@ public class Purchase_orderServiceImpl extends ServiceImpl<Purchase_orderMapper, ...@@ -158,21 +158,21 @@ public class Purchase_orderServiceImpl extends ServiceImpl<Purchase_orderMapper,
@Override @Override
@Transactional @Transactional
public Purchase_order action_view_invoice(Purchase_order et) { public Purchase_order button_cancel(Purchase_order et) {
//自定义代码 //自定义代码
return et; return et;
} }
@Override @Override
@Transactional @Transactional
public Purchase_order action_view_picking(Purchase_order et) { public Purchase_order button_confirm(Purchase_order et) {
//自定义代码 //自定义代码
return et; return et;
} }
@Override @Override
@Transactional @Transactional
public Purchase_order button_confirm(Purchase_order et) { public Purchase_order button_done(Purchase_order et) {
//自定义代码 //自定义代码
return et; return et;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册