...
|
...
|
@@ -10,45 +10,6 @@ import ( |
|
|
type PersonCreditAccountService struct {
|
|
|
}
|
|
|
|
|
|
// CreditAccountGet 企业的账期结算明细
|
|
|
//func (srv PersonCreditAccountService) CreditAccountGet(cmd *command.CreditAccountGetCommand) (interface{}, error) {
|
|
|
// gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
// cmd.Operator)
|
|
|
// resultMenu, err := gateway.CreditAccountGet(allied_creation_cooperation.ReqCreditAccountGet{
|
|
|
// CreditAccountId: cmd.CreditAccountId,
|
|
|
// })
|
|
|
// if err != nil {
|
|
|
// return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
// }
|
|
|
// return resultMenu, nil
|
|
|
//}
|
|
|
|
|
|
//// CreditAccountDelete 企业的账期结算删除
|
|
|
//func (srv PersonCreditAccountService) CreditAccountDelete(cmd *command.CreditAccountGetCommand) (interface{}, error) {
|
|
|
// gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
// cmd.Operator)
|
|
|
// resultMenu, err := gateway.CreditAccountRemove(allied_creation_cooperation.ReqCreditAccountRemove{
|
|
|
// CreditAccountId: cmd.CreditAccountId,
|
|
|
// })
|
|
|
// if err != nil {
|
|
|
// return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
// }
|
|
|
// return resultMenu, nil
|
|
|
//}
|
|
|
//
|
|
|
//// CreditAccountPay 企业的账期结算支付
|
|
|
//func (srv PersonCreditAccountService) CreditAccountPay(cmd *command.CreditAccountPayCommand) (interface{}, error) {
|
|
|
// gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
// cmd.Operator)
|
|
|
// resultMenu, err := gateway.CreditAccountsPay(allied_creation_cooperation.ReqCreditAccountsPay{
|
|
|
// CreditAccountId: cmd.CreditAccountId,
|
|
|
// })
|
|
|
// if err != nil {
|
|
|
// return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
// }
|
|
|
// return resultMenu, nil
|
|
|
//}
|
|
|
|
|
|
// CreditAccountPaySearch 企业分红结算支付记录
|
|
|
func (srv PersonCreditAccountService) CreditAccountPaySearch(cmd *command.CreditAccountPaySearchCommand) (interface{}, error) {
|
|
|
gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
...
|
...
|
|