แก้ data รัหษาการแทน
This commit is contained in:
parent
c0b14fe189
commit
79989664d5
2 changed files with 14 additions and 2 deletions
|
|
@ -960,7 +960,20 @@ export class CommandController extends Controller {
|
|||
|
||||
await new CallAPI()
|
||||
.PostData(request, path + "/attachment", {
|
||||
refIds: command.commandRecives.map((x) => x.refId),
|
||||
refIds: command.commandRecives.map((x) => ({
|
||||
refId: x.refId,
|
||||
Sequence: x.order,
|
||||
CitizenId: x.citizenId,
|
||||
Prefix: x.prefix,
|
||||
FirstName: x.firstName,
|
||||
LastName: x.lastName,
|
||||
Amount: x.amount,
|
||||
PositionSalaryAmount: x.positionSalaryAmount,
|
||||
MouthSalaryAmount: x.mouthSalaryAmount,
|
||||
RemarkHorizontal: x.remarkHorizontal,
|
||||
RemarkVertical: x.remarkVertical,
|
||||
CommandYear: command.commandYear,
|
||||
})),
|
||||
})
|
||||
.then(async (res) => {
|
||||
console.log(res);
|
||||
|
|
|
|||
|
|
@ -263,7 +263,6 @@ export class PosMasterActController extends Controller {
|
|||
@Get("{posMasterActId}/{profileId}")
|
||||
async GetPosMasterActProfileReport(
|
||||
@Path() posMasterActId: string,
|
||||
profileId: string,
|
||||
@Request() request: { user: Record<string, any> },
|
||||
) {
|
||||
const posMasterAct = await this.posMasterActRepository.findOne({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue