แนบไฟล์คำสั่ง

This commit is contained in:
kittapath 2024-09-16 15:15:59 +07:00
parent 9d755fc8ff
commit d3aa76b3f8
6 changed files with 107 additions and 6 deletions

View file

@ -41,9 +41,9 @@ export class CommandSalaryController extends Controller {
*
*/
@Get("list")
async Get() {
async Get(@Query() commandSysId: string) {
const _commandSalary = await this.commandSalaryRepository.find({
where: { isActive: true },
where: { isActive: true, commandSysId: commandSysId },
select: [
"id",
"name",