test
This commit is contained in:
parent
6e7f5f5af2
commit
87531f19ba
1 changed files with 5 additions and 4 deletions
|
|
@ -3520,8 +3520,9 @@ export class CommandController extends Controller {
|
|||
@Request() req: RequestWithUser,
|
||||
@Body()
|
||||
body: {
|
||||
refIds: {
|
||||
refId: string;
|
||||
refIds: string[];
|
||||
// refIds: {
|
||||
// refId: string;
|
||||
// commandAffectDate: Date | null;
|
||||
// commandNo: string | null;
|
||||
// commandYear: number;
|
||||
|
|
@ -3529,11 +3530,11 @@ export class CommandController extends Controller {
|
|||
// amount: Double | null;
|
||||
// positionSalaryAmount: Double | null;
|
||||
// mouthSalaryAmount: Double | null;
|
||||
}[];
|
||||
// }[];
|
||||
},
|
||||
) {
|
||||
const posMasters = await this.posMasterRepository.find({
|
||||
where: { id: In(body.refIds.map((x) => x.refId)) },
|
||||
where: { id: In(body.refIds/*.map((x) => x.refId)*/) },
|
||||
});
|
||||
const data = posMasters.map((_data) => ({
|
||||
..._data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue