mahao
1 year ago
113 changed files with 3237 additions and 704 deletions
File diff suppressed because one or more lines are too long
@ -0,0 +1,52 @@ |
|||||
|
export default function () { |
||||
|
return { |
||||
|
title: "登录", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
username: { |
||||
|
title: "用户名", |
||||
|
type: "string", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
message: "用户名不能为空", |
||||
|
}, |
||||
|
{ |
||||
|
max: 64, |
||||
|
message: "用户名的最大长度为 64", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
password: { |
||||
|
title: "密码", |
||||
|
type: "string", |
||||
|
format: "password", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
message: "密码不能为空", |
||||
|
}, |
||||
|
{ |
||||
|
max: 64, |
||||
|
message: "密码的最大长度为 64", |
||||
|
}, |
||||
|
{ |
||||
|
message: "DataTypeAttribute", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
client_id: { |
||||
|
default: "basic-web", |
||||
|
hidden: true, |
||||
|
}, |
||||
|
grant_type: { |
||||
|
default: "password", |
||||
|
hidden: true, |
||||
|
}, |
||||
|
scope: { |
||||
|
default: "WebAppGateway BaseService", |
||||
|
hidden: true, |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,50 @@ |
|||||
|
const schema = { |
||||
|
title: "角色", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
name: { |
||||
|
title: "角色名", |
||||
|
type: "string", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ |
||||
|
max: 64, |
||||
|
message: "用户名的最大长度为 64", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: "identity/roles", |
||||
|
method: "get", |
||||
|
schema: { |
||||
|
title: "用户", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filter: { |
||||
|
title: "角色名", |
||||
|
type: "string", |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,98 @@ |
|||||
|
const schema = { |
||||
|
title: "用户", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
userName: { |
||||
|
title: "用户名", |
||||
|
type: "string", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
{ |
||||
|
max: 64, |
||||
|
message: "用户名的最大长度为 64", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
phoneNumber: { |
||||
|
title: "电话", |
||||
|
type: "string", |
||||
|
input: "password", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
name: { |
||||
|
title: "姓名", |
||||
|
type: "string", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
email: { |
||||
|
title: "邮箱", |
||||
|
type: "string", |
||||
|
showForList: true, |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
roleNames: { |
||||
|
title: "角色", |
||||
|
type: "array", |
||||
|
input: "select", |
||||
|
multiple: true, |
||||
|
}, |
||||
|
password: { |
||||
|
title: "密码", |
||||
|
type: "string", |
||||
|
input: "password", |
||||
|
rules: [ |
||||
|
{ |
||||
|
required: true, |
||||
|
message: "密码不能为空", |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
}, |
||||
|
}; |
||||
|
|
||||
|
export default function () { |
||||
|
return { |
||||
|
query: { |
||||
|
url: "base/user", |
||||
|
method: "get", |
||||
|
schema: { |
||||
|
title: "用户", |
||||
|
type: "object", |
||||
|
properties: { |
||||
|
filter: { |
||||
|
title: "用户名", |
||||
|
type: "string", |
||||
|
}, |
||||
|
skipCount: { |
||||
|
hidden: true, |
||||
|
default: 0, |
||||
|
}, |
||||
|
maxResultCount: { |
||||
|
hidden: true, |
||||
|
default: 10, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
}, |
||||
|
table: { |
||||
|
schema: schema, |
||||
|
}, |
||||
|
}; |
||||
|
} |
@ -0,0 +1,101 @@ |
|||||
|
export default [ |
||||
|
{ |
||||
|
path: "home", |
||||
|
meta: { |
||||
|
type: "page", |
||||
|
title: "首页", |
||||
|
icon: "home", |
||||
|
public: true, |
||||
|
}, |
||||
|
}, |
||||
|
{ |
||||
|
path: "base-data", |
||||
|
meta: { |
||||
|
type: "group", |
||||
|
title: "基础数据", |
||||
|
icon: "folder", |
||||
|
}, |
||||
|
children: [ |
||||
|
{ |
||||
|
path: "user", |
||||
|
meta: { |
||||
|
type: "page", |
||||
|
title: "用户管理", |
||||
|
icon: "file", |
||||
|
permission: "AbpIdentity.Users", |
||||
|
}, |
||||
|
children: [ |
||||
|
{ |
||||
|
path: "create", |
||||
|
meta: { |
||||
|
type: "button", |
||||
|
title: "新建", |
||||
|
icon: "file", |
||||
|
permission: "AbpIdentity.Users.Create", |
||||
|
isTop: true, |
||||
|
}, |
||||
|
}, |
||||
|
{ |
||||
|
path: "update", |
||||
|
meta: { |
||||
|
type: "button", |
||||
|
title: "编辑", |
||||
|
icon: "file", |
||||
|
htmlClass: "el-button--primary", |
||||
|
permission: "AbpIdentity.Users.Update", |
||||
|
}, |
||||
|
}, |
||||
|
{ |
||||
|
path: "delete", |
||||
|
meta: { |
||||
|
type: "button", |
||||
|
title: "删除", |
||||
|
icon: "file", |
||||
|
permission: "AbpIdentity.Users.Delete", |
||||
|
}, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
{ |
||||
|
path: "role", |
||||
|
meta: { |
||||
|
type: "page", |
||||
|
title: "角色管理", |
||||
|
icon: "file", |
||||
|
permission: "AbpIdentity.Users", |
||||
|
}, |
||||
|
children: [ |
||||
|
{ |
||||
|
path: "create", |
||||
|
meta: { |
||||
|
type: "button", |
||||
|
title: "新建", |
||||
|
icon: "file", |
||||
|
permission: "AbpIdentity.Users.Create", |
||||
|
isTop: true, |
||||
|
}, |
||||
|
}, |
||||
|
{ |
||||
|
path: "update", |
||||
|
meta: { |
||||
|
type: "button", |
||||
|
title: "编辑", |
||||
|
icon: "file", |
||||
|
htmlClass: "el-button--primary", |
||||
|
permission: "AbpIdentity.Users.Update", |
||||
|
}, |
||||
|
}, |
||||
|
{ |
||||
|
path: "delete", |
||||
|
meta: { |
||||
|
type: "button", |
||||
|
title: "删除", |
||||
|
icon: "file", |
||||
|
permission: "AbpIdentity.Users.Delete", |
||||
|
}, |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
], |
||||
|
}, |
||||
|
]; |
@ -1,3 +1,3 @@ |
|||||
export default { |
export default { |
||||
template: `404:{{$route}}`, |
template: `404`, |
||||
}; |
}; |
||||
|
@ -0,0 +1,17 @@ |
|||||
|
import AppList from "../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../models/role.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
// 变量定义
|
||||
|
const config = useConfig(); |
||||
|
// 函数定义
|
||||
|
const onCommand = (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -0,0 +1,17 @@ |
|||||
|
import AppList from "../../components/list/index.js"; |
||||
|
import html from "html"; |
||||
|
import useConfig from "../../models/user.js"; |
||||
|
|
||||
|
export default { |
||||
|
components: { AppList }, |
||||
|
template: html`<app-list :config="config" @command="onCommand" />`, |
||||
|
setup() { |
||||
|
// 变量定义
|
||||
|
const config = useConfig(); |
||||
|
// 函数定义
|
||||
|
const onCommand = (item, rows) => { |
||||
|
console.log(item.path, item, rows); |
||||
|
}; |
||||
|
return { config, onCommand }; |
||||
|
}, |
||||
|
}; |
@ -1,15 +0,0 @@ |
|||||
import AppList from "../components/list/index.js"; |
|
||||
import html from "html"; |
|
||||
import router from "../router/index.js"; |
|
||||
|
|
||||
export default { |
|
||||
components: { AppList }, |
|
||||
template: html`<app-list @command="onCommand"> </app-list>`, |
|
||||
setup() { |
|
||||
console.log(router.currentRoute.value.fullPath); |
|
||||
const onCommand = (item, rows) => { |
|
||||
console.log(item.path, item, rows); |
|
||||
}; |
|
||||
return { onCommand }; |
|
||||
}, |
|
||||
}; |
|
@ -0,0 +1,48 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class BBAC_CAN_SAController : GenericController<BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA, BBAC_CAN_SA> |
||||
|
{ |
||||
|
public BBAC_CAN_SAController(ILogger<BBAC_CAN_SA> logger, IRepository<BBAC_CAN_SA> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] BBAC_CAN_SA model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<BBAC_CAN_SA, BBAC_CAN_SA> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[Multiple, Display(Name = "生成发票数据")] |
||||
|
public IActionResult? GenerateInvoice() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class BBAC_CAN_SA_DETAILController : GenericController<BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL> |
||||
|
{ |
||||
|
public BBAC_CAN_SA_DETAILController(ILogger<BBAC_CAN_SA_DETAIL> logger, IRepository<BBAC_CAN_SA_DETAIL> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] BBAC_CAN_SA_DETAIL model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<BBAC_CAN_SA_DETAIL, BBAC_CAN_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class BBAC_NOT_SA_DETAILController : GenericController<BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL> |
||||
|
{ |
||||
|
public BBAC_NOT_SA_DETAILController(ILogger<BBAC_NOT_SA_DETAIL> logger, IRepository<BBAC_NOT_SA_DETAIL> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] BBAC_NOT_SA_DETAIL model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<BBAC_NOT_SA_DETAIL, BBAC_NOT_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[Multiple, Display(Name = "生成可结算单")] |
||||
|
public IActionResult? GenerateSettlementOrder() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class BBAC_PD_DETAILController : GenericController<BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL, BBAC_PD_DETAIL> |
||||
|
{ |
||||
|
public BBAC_PD_DETAILController(ILogger<BBAC_PD_DETAIL> logger, IRepository<BBAC_PD_DETAIL> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] BBAC_PD_DETAIL model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "审核通过"), Multiple] |
||||
|
public IActionResult? ApprovalPassed() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "退回"), Multiple] |
||||
|
public IActionResult? Reject() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,60 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class BBAC_SE_REPORTController : GenericController<BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT, BBAC_SE_REPORT> |
||||
|
{ |
||||
|
public BBAC_SE_REPORTController(ILogger<BBAC_SE_REPORT> logger, IRepository<BBAC_SE_REPORT> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] BBAC_SE_REPORT model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<BBAC_SE_REPORT, BBAC_SE_REPORT> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Update([FromBody] BBAC_SE_REPORT model) |
||||
|
{ |
||||
|
return base.Update(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成比对"), Multiple] |
||||
|
public IActionResult? ExportEDIJob() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,57 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_JIT_SE_SA_REPORTController : BaseController, IResourceService<BJ_JIT_SE_SA_REPORT> |
||||
|
{ |
||||
|
private readonly GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> _genericController; |
||||
|
|
||||
|
public BJ_JIT_SE_SA_REPORTController(GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public virtual IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成对比"), Multiple] |
||||
|
public virtual IActionResult? Comparison() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[Display(Name = "发运与结算二次比对")] |
||||
|
[BJDataComparisonGroup] |
||||
|
public class BJ_JIT_SE_SA_REPORT : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_PUB_CAN_SAController : BaseController, IResourceService<BJ_PUB_CAN_SA> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> _genericController; |
||||
|
|
||||
|
public BJ_PUB_CAN_SAController(GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA, PUB_CAN_SA> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "生成发票数据")] |
||||
|
public virtual IActionResult? GenerateInvoice() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(1)] |
||||
|
[BJSettlementInvoicingGroup] |
||||
|
[Display(Name = "可结算单")] |
||||
|
public class BJ_PUB_CAN_SA : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,39 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_PUB_CAN_SA_DETAILController : BaseController, IResourceService<BJ_PUB_CAN_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public BJ_PUB_CAN_SA_DETAILController(GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Hidden] |
||||
|
[Display(Name = "可结算单明细")] |
||||
|
[BJSettlementInvoicingGroup] |
||||
|
public class BJ_PUB_CAN_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_PUB_NOT_SA_DETAILController : BaseController, IResourceService<BJ_PUB_NOT_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public BJ_PUB_NOT_SA_DETAILController(GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "生成可结算单")] |
||||
|
public virtual IActionResult? GenerateSettlementOrder() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[Display(Name = "不可结算单")] |
||||
|
[BJSettlementInvoicingGroup] |
||||
|
public class BJ_PUB_NOT_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,50 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_PUB_PD_DETAILController : BaseController, IResourceService<BJ_PUB_PD_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> _genericController; |
||||
|
|
||||
|
public BJ_PUB_PD_DETAILController(GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "审核通过")] |
||||
|
public virtual IActionResult? ApprovalPassed() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(4)] |
||||
|
[Display(Name = "寄售库库存扣减审批")] |
||||
|
[BJSettlementInvoicingGroup] |
||||
|
public class BJ_PUB_PD_DETAIL : IResource |
||||
|
{ } |
@ -0,0 +1,60 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Authorization; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_PUB_SAController : BaseController, IResourceService<BJ_PUB_SA> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> _genericController; |
||||
|
|
||||
|
public BJ_PUB_SAController(GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA, PUB_SA> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Import() |
||||
|
{ |
||||
|
return this._genericController.Import(); |
||||
|
} |
||||
|
|
||||
|
[Consumes("multipart/form-data")] |
||||
|
[HttpPost, Multiple, Order(-2), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return this._genericController.Import(file, partial, replace); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(1)] |
||||
|
[BJDataInputGroup] |
||||
|
[Display(Name = "结算数据")] |
||||
|
public class BJ_PUB_SA : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,46 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using DocumentFormat.OpenXml.Wordprocessing; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_PUB_SA_DETAILController : BaseController, IResourceService<BJ_PUB_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public BJ_PUB_SA_DETAILController(GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Hidden] |
||||
|
[Display(Name = "结算数据明细")] |
||||
|
[BJDataInputGroup] |
||||
|
public class BJ_PUB_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,52 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class BJ_PUB_SE_DETAILController : BaseController, IResourceService<BJ_PUB_SE_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> _genericController; |
||||
|
|
||||
|
public BJ_PUB_SE_DETAILController(GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "同步")] |
||||
|
public virtual IActionResult? Synchronous() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[BJDataInputGroup] |
||||
|
[Display(Name = "发运数据")] |
||||
|
public class BJ_PUB_SE_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class CentralizedControlController : GenericController<CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl, CentralizedControl> |
||||
|
{ |
||||
|
public CentralizedControlController(ILogger<CentralizedControl> logger, IRepository<CentralizedControl> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] CentralizedControl model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class HBPO_CAN_SAController : GenericController<HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA, HBPO_CAN_SA> |
||||
|
{ |
||||
|
public HBPO_CAN_SAController(ILogger<HBPO_CAN_SA> logger, IRepository<HBPO_CAN_SA> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] HBPO_CAN_SA model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<HBPO_CAN_SA, HBPO_CAN_SA> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[Multiple, Display(Name = "生成发票数据")] |
||||
|
public IActionResult? GenerateInvoice() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class HBPO_CAN_SA_DETAILController : GenericController<HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL> |
||||
|
{ |
||||
|
public HBPO_CAN_SA_DETAILController(ILogger<HBPO_CAN_SA_DETAIL> logger, IRepository<HBPO_CAN_SA_DETAIL> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] HBPO_CAN_SA_DETAIL model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<HBPO_CAN_SA_DETAIL, HBPO_CAN_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
} |
@ -0,0 +1,48 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class HBPO_NOT_SA_DETAILController : GenericController<HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL> |
||||
|
{ |
||||
|
public HBPO_NOT_SA_DETAILController(ILogger<HBPO_NOT_SA_DETAIL> logger, IRepository<HBPO_NOT_SA_DETAIL> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] HBPO_NOT_SA_DETAIL model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<HBPO_NOT_SA_DETAIL, HBPO_NOT_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[Multiple, Display(Name = "生成可结算单")] |
||||
|
public IActionResult? GenerateSettlementOrder() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class HBPO_PD_DETAILController : GenericController<HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL, HBPO_PD_DETAIL> |
||||
|
{ |
||||
|
public HBPO_PD_DETAILController(ILogger<HBPO_PD_DETAIL> logger, IRepository<HBPO_PD_DETAIL> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] HBPO_PD_DETAIL model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return base.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[Display(Name = "审核通过"), Multiple, HttpPost] |
||||
|
public IActionResult? ApprovalPassed() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[Display(Name = "退回"), Multiple, HttpPost] |
||||
|
public IActionResult? Reject() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,54 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class HBPO_SE_REPORTController : GenericController<HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT, HBPO_SE_REPORT> |
||||
|
{ |
||||
|
public HBPO_SE_REPORTController(ILogger<HBPO_SE_REPORT> logger, IRepository<HBPO_SE_REPORT> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] HBPO_SE_REPORT model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Export([FromBody] PaginationModel<HBPO_SE_REPORT, HBPO_SE_REPORT> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return base.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return base.Import(file, partial, replace); |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Update([FromBody] HBPO_SE_REPORT model) |
||||
|
{ |
||||
|
return base.Update(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成比对"), Multiple] |
||||
|
public IActionResult? ExportEDIJob() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,57 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_JIT_SE_SA_REPORTController : BaseController, IResourceService<IN_JIT_SE_SA_REPORT> |
||||
|
{ |
||||
|
private readonly GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> _genericController; |
||||
|
|
||||
|
public IN_JIT_SE_SA_REPORTController(GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public virtual IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成对比"), Multiple] |
||||
|
public virtual IActionResult? Comparison() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[Display(Name = "发运与结算二次比对")] |
||||
|
[INDataComparisonGroup] |
||||
|
public class IN_JIT_SE_SA_REPORT : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_PUB_CAN_SAController : BaseController, IResourceService<IN_PUB_CAN_SA> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> _genericController; |
||||
|
|
||||
|
public IN_PUB_CAN_SAController(GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA, PUB_CAN_SA> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "生成发票数据")] |
||||
|
public virtual IActionResult? GenerateInvoice() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(1)] |
||||
|
[INSettlementInvoicingGroup] |
||||
|
[Display(Name = "可结算单")] |
||||
|
public class IN_PUB_CAN_SA : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,40 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_PUB_CAN_SA_DETAILController : BaseController, IResourceService<IN_PUB_CAN_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public IN_PUB_CAN_SA_DETAILController(GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Hidden] |
||||
|
[Display(Name = "可结算单明细")] |
||||
|
[INSettlementInvoicingGroup] |
||||
|
[Order(1)] |
||||
|
public class IN_PUB_CAN_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_PUB_NOT_SA_DETAILController : BaseController, IResourceService<IN_PUB_NOT_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public IN_PUB_NOT_SA_DETAILController(GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "生成可结算单")] |
||||
|
public virtual IActionResult? GenerateSettlementOrder() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[Display(Name = "不可结算单")] |
||||
|
[INSettlementInvoicingGroup] |
||||
|
public class IN_PUB_NOT_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,50 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_PUB_PD_DETAILController : BaseController, IResourceService<IN_PUB_PD_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> _genericController; |
||||
|
|
||||
|
public IN_PUB_PD_DETAILController(GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "审核通过")] |
||||
|
public virtual IActionResult? ApprovalPassed() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(4)] |
||||
|
[Display(Name = "寄售库库存扣减审批")] |
||||
|
[INSettlementInvoicingGroup] |
||||
|
public class IN_PUB_PD_DETAIL : IResource |
||||
|
{ } |
@ -0,0 +1,60 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Authorization; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_PUB_SAController : BaseController, IResourceService<IN_PUB_SA> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> _genericController; |
||||
|
|
||||
|
public IN_PUB_SAController(GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA, PUB_SA> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Import() |
||||
|
{ |
||||
|
return this._genericController.Import(); |
||||
|
} |
||||
|
|
||||
|
[Consumes("multipart/form-data")] |
||||
|
[HttpPost, Multiple, Order(-2), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return this._genericController.Import(file, partial, replace); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(1)] |
||||
|
[INDataInputGroup] |
||||
|
[Display(Name = "结算数据")] |
||||
|
public class IN_PUB_SA : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,47 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using DocumentFormat.OpenXml.Wordprocessing; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_PUB_SA_DETAILController : BaseController, IResourceService<IN_PUB_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public IN_PUB_SA_DETAILController(GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Hidden] |
||||
|
[Display(Name = "可结算单明细")] |
||||
|
[INDataInputGroup] |
||||
|
[Order(1)] |
||||
|
public class IN_PUB_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,52 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class IN_PUB_SE_DETAILController : BaseController, IResourceService<IN_PUB_SE_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> _genericController; |
||||
|
|
||||
|
public IN_PUB_SE_DETAILController(GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "同步")] |
||||
|
public virtual IActionResult? Synchronous() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[INDataInputGroup] |
||||
|
[Display(Name = "发运数据")] |
||||
|
public class IN_PUB_SE_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,57 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_JIT_SE_SA_REPORTController : BaseController, IResourceService<JIT_JIT_SE_SA_REPORT> |
||||
|
{ |
||||
|
private readonly GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> _genericController; |
||||
|
|
||||
|
public JIT_JIT_SE_SA_REPORTController(GenericController<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<JIT_SE_SA_REPORT, JIT_SE_SA_REPORT> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public virtual IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成对比"), Multiple] |
||||
|
public virtual IActionResult? Comparison() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[Display(Name = "发运与结算二次比对")] |
||||
|
[JITDataComparisonGroup] |
||||
|
public class JIT_JIT_SE_SA_REPORT : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,57 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_PUB_CAN_SAController : BaseController, IResourceService<JIT_PUB_CAN_SA> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> _genericController; |
||||
|
|
||||
|
public JIT_PUB_CAN_SAController(GenericController<PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA, PUB_CAN_SA> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
//[NonAction]
|
||||
|
//public override IActionResult Create([FromBody] PUB_CAN_SA model)
|
||||
|
//{
|
||||
|
// return base.Create(model);
|
||||
|
//}
|
||||
|
|
||||
|
//[NonAction]
|
||||
|
//public override IActionResult Export([FromBody] PaginationModel<PUB_CAN_SA, PUB_CAN_SA> model, bool includeAll = false, bool includeDeleted = false)
|
||||
|
//{
|
||||
|
// return base.Export(model, includeAll, includeDeleted);
|
||||
|
//}
|
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA, PUB_CAN_SA> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "生成发票数据")] |
||||
|
public virtual IActionResult? GenerateInvoice() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Display(Name = "可结算单")] |
||||
|
[JITSettlementInvoicingGroup] |
||||
|
[Order(1)] |
||||
|
public class JIT_PUB_CAN_SA : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,39 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_PUB_CAN_SA_DETAILController : BaseController, IResourceService<JIT_PUB_CAN_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public JIT_PUB_CAN_SA_DETAILController(GenericController<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_CAN_SA_DETAIL, PUB_CAN_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Hidden] |
||||
|
[Display(Name = "可结算单明细")] |
||||
|
[JITSettlementInvoicingGroup] |
||||
|
public class JIT_PUB_CAN_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_PUB_NOT_SA_DETAILController : BaseController, IResourceService<JIT_PUB_NOT_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public JIT_PUB_NOT_SA_DETAILController(GenericController<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_NOT_SA_DETAIL, PUB_NOT_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "生成可结算单")] |
||||
|
public virtual IActionResult? GenerateSettlementOrder() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[Display(Name = "不可结算单")] |
||||
|
[JITSettlementInvoicingGroup] |
||||
|
public class JIT_PUB_NOT_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,50 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_PUB_PD_DETAILController : BaseController, IResourceService<JIT_PUB_PD_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> _genericController; |
||||
|
|
||||
|
public JIT_PUB_PD_DETAILController(GenericController<PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL, PUB_PD_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_PD_DETAIL, PUB_PD_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "审核通过")] |
||||
|
public virtual IActionResult? ApprovalPassed() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(4)] |
||||
|
[Display(Name = "寄售库库存扣减审批")] |
||||
|
[JITSettlementInvoicingGroup] |
||||
|
public class JIT_PUB_PD_DETAIL : IResource |
||||
|
{ } |
@ -0,0 +1,72 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Authorization; |
||||
|
using Microsoft.AspNetCore.Http; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_PUB_SAController : BaseController, IResourceService<JIT_PUB_SA> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> _genericController; |
||||
|
|
||||
|
public JIT_PUB_SAController(GenericController<PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA, PUB_SA> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
//[NonAction]
|
||||
|
//public override IActionResult Create([FromBody] PUB_CAN_SA model)
|
||||
|
//{
|
||||
|
// return base.Create(model);
|
||||
|
//}
|
||||
|
|
||||
|
//[NonAction]
|
||||
|
//public override IActionResult Export([FromBody] PaginationModel<PUB_CAN_SA, PUB_CAN_SA> model, bool includeAll = false, bool includeDeleted = false)
|
||||
|
//{
|
||||
|
// return base.Export(model, includeAll, includeDeleted);
|
||||
|
//}
|
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA, PUB_SA> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpGet, AllowAnonymous, Multiple, Order(-2), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Import() |
||||
|
{ |
||||
|
return this._genericController.Import(); |
||||
|
} |
||||
|
|
||||
|
[Consumes("multipart/form-data")] |
||||
|
[HttpPost, Multiple, Order(-2), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false) |
||||
|
{ |
||||
|
return this._genericController.Import(file, partial, replace); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Display(Name = "结算数据")] |
||||
|
[JITDataInputGroup] |
||||
|
[Order(1)] |
||||
|
public class JIT_PUB_SA : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,46 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using DocumentFormat.OpenXml.Wordprocessing; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_PUB_SA_DETAILController : BaseController, IResourceService<JIT_PUB_SA_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> _genericController; |
||||
|
|
||||
|
public JIT_PUB_SA_DETAILController(GenericController<PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL, PUB_SA_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SA_DETAIL, PUB_SA_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Hidden] |
||||
|
[Display(Name = "结算数据明细明细")] |
||||
|
[JITDataInputGroup] |
||||
|
public class JIT_PUB_SA_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,52 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using RouteAttribute = Microsoft.AspNetCore.Mvc.RouteAttribute; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class JIT_PUB_SE_DETAILController : BaseController, IResourceService<JIT_PUB_SE_DETAIL> |
||||
|
{ |
||||
|
private readonly GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> _genericController; |
||||
|
|
||||
|
public JIT_PUB_SE_DETAILController(GenericController<PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL, PUB_SE_DETAIL> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-1), HtmlClass("el-button--warning")] |
||||
|
public virtual IActionResult Export([FromBody] PaginationModel<PUB_SE_DETAIL, PUB_SE_DETAIL> model, bool includeAll = false, bool includeDeleted = false) |
||||
|
{ |
||||
|
return this._genericController.Export(model, includeAll, includeDeleted); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Display(Name = "同步")] |
||||
|
public virtual IActionResult? Synchronous() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(2)] |
||||
|
[JITDataInputGroup] |
||||
|
[Display(Name = "发运数据")] |
||||
|
public class JIT_PUB_SE_DETAIL : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,20 @@ |
|||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Microsoft.Extensions.Logging; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Shared.Controllers; |
||||
|
using WTA.Shared.Data; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
public class PURCHASE_PRICEController : GenericController<PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE, PURCHASE_PRICE> |
||||
|
{ |
||||
|
public PURCHASE_PRICEController(ILogger<PURCHASE_PRICE> logger, IRepository<PURCHASE_PRICE> repository) : base(logger, repository) |
||||
|
{ |
||||
|
} |
||||
|
|
||||
|
[NonAction] |
||||
|
public override IActionResult Create([FromBody] PURCHASE_PRICE model) |
||||
|
{ |
||||
|
return base.Create(model); |
||||
|
} |
||||
|
} |
@ -0,0 +1,57 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Attribute; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class Second_BBAC_SE_SA_REPORTController : BaseController, IResourceService<Second_BBAC_SE_SA_REPORT> |
||||
|
{ |
||||
|
private readonly GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> _genericController; |
||||
|
|
||||
|
public Second_BBAC_SE_SA_REPORTController(GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public virtual IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成对比"), Multiple] |
||||
|
public virtual IActionResult? Comparison() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(3)] |
||||
|
[JISBBACDataComparisonGroup] |
||||
|
[Display(Name = "发运与结算数据二次比对")] |
||||
|
public class Second_BBAC_SE_SA_REPORT : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,57 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Group; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class Second_HBPO_SE_SA_REPORTController : BaseController, IResourceService<Second_HBPO_SE_SA_REPORT> |
||||
|
{ |
||||
|
private readonly GenericController<HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT> _genericController; |
||||
|
|
||||
|
public Second_HBPO_SE_SA_REPORTController(GenericController<HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<HBPO_SE_SA_REPORT, HBPO_SE_SA_REPORT> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public virtual IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成对比"), Multiple] |
||||
|
public virtual IActionResult? Comparison() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Order(3)] |
||||
|
[JISHBPODataComparisonGroup] |
||||
|
[Display(Name = "发运与结算数据二次比对")] |
||||
|
public class Second_HBPO_SE_SA_REPORT : IResource |
||||
|
{ |
||||
|
} |
@ -0,0 +1,57 @@ |
|||||
|
using System.ComponentModel.DataAnnotations; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement; |
||||
|
using WTA.Application.Identity.Entities.SystemManagement.Attribute; |
||||
|
using WTA.Shared.Application; |
||||
|
using WTA.Shared.Attributes; |
||||
|
using WTA.Shared.Controllers; |
||||
|
|
||||
|
namespace WTA.Application.Identity.Controllers; |
||||
|
|
||||
|
[Route("api/{culture=zh}/[controller]/[action]")]
|
||||
|
public class Third_BBAC_SE_SA_REPORTController : BaseController, IResourceService<Third_BBAC_SE_SA_REPORT> |
||||
|
{ |
||||
|
private readonly GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> _genericController; |
||||
|
|
||||
|
public Third_BBAC_SE_SA_REPORTController(GenericController<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> genericController) |
||||
|
{ |
||||
|
this._genericController = genericController; |
||||
|
} |
||||
|
|
||||
|
[HttpGet] |
||||
|
public virtual IActionResult Index() |
||||
|
{ |
||||
|
return this._genericController.Index(); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(-4), HtmlClass("el-button--primary")] |
||||
|
public virtual IActionResult Index([FromBody] PaginationModel<BBAC_SE_SA_REPORT, BBAC_SE_SA_REPORT> model) |
||||
|
{ |
||||
|
return this._genericController.Index(model); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Multiple, Order(0), HtmlClass("el-button--danger")] |
||||
|
public virtual IActionResult Delete([FromBody] Guid[] guids) |
||||
|
{ |
||||
|
return this._genericController.Delete(guids); |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "下载")] |
||||
|
public virtual IActionResult? DownloadAsync() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
[HttpPost, Display(Name = "生成对比"), Multiple] |
||||
|
public virtual IActionResult? Comparison() |
||||
|
{ |
||||
|
return null; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
[Display(Name = "买单件发运与结算数据三次比对")] |
||||
|
[Order(4)] |
||||
|
[JISBBACDataComparisonGroup] |
||||
|
public class Third_BBAC_SE_SA_REPORT : IResource |
||||
|
{ |
||||
|
} |
@ -1,33 +0,0 @@ |
|||||
using System.ComponentModel.DataAnnotations; |
|
||||
using WTA.Application.Identity.Entities.SystemManagement.Group; |
|
||||
using WTA.Shared.Domain; |
|
||||
|
|
||||
namespace WTA.Application.Identity.Entities.SystemManagement; |
|
||||
[BJDataInputGroup] |
|
||||
[Display(Name = "备件发运数据查询")] |
|
||||
public class BJ_SE_DETAIL : BaseEntity |
|
||||
{ |
|
||||
[Display(Name = "LU+生产码")] |
|
||||
public string KeyCode { get; set; } = null!; |
|
||||
|
|
||||
[Display(Name = "期间")] |
|
||||
public string Version { get; set; } = null!; |
|
||||
|
|
||||
[Display(Name = "零件号")] |
|
||||
public string LU { get; set; } = null!; |
|
||||
|
|
||||
[Display(Name = ("ASN单号"))] |
|
||||
public string PN { get; set; } = null!; |
|
||||
|
|
||||
[Display(Name = ("发货数量"))] |
|
||||
public decimal Qty { get; set; } |
|
||||
|
|
||||
[Display(Name = ("订单时间"))] |
|
||||
public DateTime BeginDate { get; set; } |
|
||||
|
|
||||
[Display(Name = ("发货时间"))] |
|
||||
public DateTime ShippingDate { get; set; } |
|
||||
|
|
||||
[Display(Name = ("Wms发货单号"))] |
|
||||
public string WmsBillNum { get; set; } = null!; |
|
||||
} |
|
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue