摘要:
#coding=utf8tp = [(1,221,331),(2,222,332),(3,223,333), (4,224,334), (5,225,335),(6,226,336)]ids = [1,2,3,4,5,6]i_ids = [1,2,4]u_ids = [3,5,6]i_list, u_list = [],[]def generate(i_ids, u_ids, dataList): #flag:标识,1则mainIds为insert, 0则mainIds为update #dataList:数据列表 #i_ids:insert id 列表 #u_ids:u... 阅读全文