10 lines
246 B
Python
10 lines
246 B
Python
# -*- coding: utf-8 -*-
|
|
"""模具域 SQL。"""
|
|
from dao.conn import DBConn
|
|
|
|
|
|
class MoldDao(DBConn):
|
|
def get_molds(self):
|
|
sql = "select id, name from mes_mold where del_flag=0 order by create_date desc"
|
|
return self.select(sql)
|