def get_M101_update(ID): data = get_M101(ID) cn = M011.cn_open() wsql = M011.get_select_sql() wsql += ' ORDER BY 顧客ID ' cur = cn.execute(wsql) M011s = cur.fetchall() cn.close() contents = 'M011s_count:' + str(len(M011s)) logger.info(contents) return render_template('M101_update.html', M101=data, M011s=M011s)
def post_M011_update(ID): return M011.post_M011_update(ID)
def get_M011_delete(ID): return M011.get_M011_delete(ID)
def get_M011_detail(ID): return M011.get_M011_detail(ID)
def get_M011_update(ID): return M011.get_M011_update(ID)
def get_M011_json(): return M011.get_M011_json()
def get_M011_importcsv(): return M011.get_M011_importcsv()
def post_M011_insert(): return M011.post_M011_insert()
def get_M011_insert(): return M011.get_M011_insert()
def get_M011_index(): return M011.get_M011_index()