filter act
This commit is contained in:
parent
3ae17c23e2
commit
07627edad1
1 changed files with 1 additions and 1 deletions
|
|
@ -4554,7 +4554,7 @@ export class PositionController extends Controller {
|
|||
) {
|
||||
await new permission().PermissionGet(request, "SYS_ACTING");
|
||||
const posMasterMain = await this.posMasterRepository.findOne({
|
||||
where: { id: body.posmasterId, posMasterActs: { statusReport: "DONE" } },
|
||||
where: { id: body.posmasterId },
|
||||
relations: ["posMasterActs"],
|
||||
});
|
||||
if (posMasterMain == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue