11 lines
293 B
Python
11 lines
293 B
Python
# -*- coding: utf-8 -*-
|
|
"""生产工单域 SQL。"""
|
|
from dao.conn import DBConn
|
|
|
|
|
|
class WorkDao(DBConn):
|
|
def get_work_orders(self):
|
|
sql = ("select id, product_id, plan_yield from mes_work_order "
|
|
"where del_flag=0 order by id desc")
|
|
return self.select(sql)
|