split AuditOperation
This commit is contained in:
+2
-2
@@ -250,7 +250,7 @@ public class GaoOrderFulfillmentServiceImplement extends AbstractEntityService<G
|
||||
return createInternal(request);
|
||||
}
|
||||
|
||||
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_CREATE)
|
||||
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_CREATE_AND_VERIFY)
|
||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||
@Override
|
||||
public GaoOrderFulfillment createAndVerify(GaoOrderFulfillmentCreateRequest request) {
|
||||
@@ -263,7 +263,7 @@ public class GaoOrderFulfillmentServiceImplement extends AbstractEntityService<G
|
||||
return verifyInternal(actionRequest(fulfillment.getId()));
|
||||
}
|
||||
|
||||
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_CREATE)
|
||||
@OperationAudit(AuditOperation.GAO_ORDER_FULFILLMENT_QUICK_CREATE)
|
||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||
@Override
|
||||
public List<GaoOrderFulfillment> createQuickFulfillment(GaoQuickFulfillmentCreateRequest request) {
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ public class GaoOrderPaymentServiceImplement implements GaoOrderPaymentService {
|
||||
return receiveInternal(request, false);
|
||||
}
|
||||
|
||||
@OperationAudit(AuditOperation.GAO_SALES_ORDER_PAYMENT_RECEIVE)
|
||||
@OperationAudit(AuditOperation.GAO_SALES_ORDER_PAYMENT_RECEIVE_AND_VERIFY)
|
||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||
@Override
|
||||
public GaoFundRecord receiveAndVerify(GaoOrderPaymentReceiveRequest request) {
|
||||
|
||||
+1
-1
@@ -163,7 +163,7 @@ public class GaoProductStockServiceImplement implements GaoProductStockService {
|
||||
return change(request, GaoProductStockRecord.OperationType.MANUAL_IN);
|
||||
}
|
||||
|
||||
@OperationAudit(AuditOperation.GAO_PRODUCT_STOCK_MANUAL_IN)
|
||||
@OperationAudit(AuditOperation.GAO_PRODUCT_STOCK_MANUAL_IN_BATCH)
|
||||
@Transactional(TimiServerDBConfig.ROLLBACKER)
|
||||
@Override
|
||||
public List<GaoProductStock> manualInBatch(GaoProductStockManualInBatchRequest request) {
|
||||
|
||||
@@ -17,11 +17,14 @@ public enum AuditOperation {
|
||||
GAO_CUSTOMER_PACKAGE_PURCHASE(Logger.Module.GAO),
|
||||
GAO_CUSTOMER_PACKAGE_CANCEL(Logger.Module.GAO),
|
||||
GAO_SALES_ORDER_PAYMENT_RECEIVE(Logger.Module.GAO),
|
||||
GAO_SALES_ORDER_PAYMENT_RECEIVE_AND_VERIFY(Logger.Module.GAO),
|
||||
GAO_SALES_ORDER_PAYMENT_VERIFY(Logger.Module.GAO),
|
||||
GAO_SALES_ORDER_REFUND(Logger.Module.GAO),
|
||||
GAO_SALES_ORDER_CONFIRM_NO_REFUND(Logger.Module.GAO),
|
||||
GAO_SALES_ORDER_FUND_REVOKE(Logger.Module.GAO),
|
||||
GAO_ORDER_FULFILLMENT_CREATE(Logger.Module.GAO),
|
||||
GAO_ORDER_FULFILLMENT_CREATE_AND_VERIFY(Logger.Module.GAO),
|
||||
GAO_ORDER_FULFILLMENT_QUICK_CREATE(Logger.Module.GAO),
|
||||
GAO_ORDER_FULFILLMENT_PREPARE_STOCK(Logger.Module.GAO),
|
||||
GAO_ORDER_FULFILLMENT_VERIFY(Logger.Module.GAO),
|
||||
GAO_ORDER_FULFILLMENT_REJECT(Logger.Module.GAO),
|
||||
@@ -39,6 +42,7 @@ public enum AuditOperation {
|
||||
GAO_PRODUCT_DISABLE(Logger.Module.GAO),
|
||||
GAO_PRODUCT_STOCK_INITIAL_IN(Logger.Module.GAO),
|
||||
GAO_PRODUCT_STOCK_MANUAL_IN(Logger.Module.GAO),
|
||||
GAO_PRODUCT_STOCK_MANUAL_IN_BATCH(Logger.Module.GAO),
|
||||
GAO_PRODUCT_STOCK_MANUAL_OUT(Logger.Module.GAO),
|
||||
GAO_PRODUCT_STOCK_MANUAL_REVOKE(Logger.Module.GAO),
|
||||
GAO_PRODUCT_STOCK_STOCKTAKE_GAIN(Logger.Module.GAO),
|
||||
|
||||
Reference in New Issue
Block a user