影棚与地贴的关联 和 走新建模系统 通过数据库来连接

This commit is contained in:
dongchangxi committed 2023-10-16 15:07:43 +08:00
1 parent e69bb31be2
commit ae779d7d00
7 files changed
+63 -35

No files matched your search

+2 -2
View File
@@ -249,9 +249,9 @@ def down_from_oss(oss_client, workdir, pid, per=100):
print(f'{time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())} pid: {pid} 图片下载完成, 共费时{diff_time(start_time)}')
def get_defineDistances(distances):
def get_defineDistances(psid):
res = ''
distances = distances.split(';')
distances = libs_db.get_floor_sticker_distances(psid).split(';')
for d in distances:
p1, p2, distance = d.split(' ')
res = res + f' -defineDistance {p1} {p2} {distance}'