forked from lpq29743/IAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUntitled Diagram.drawio
279 lines (279 loc) · 44.7 KB
/
Untitled Diagram.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<mxfile host="app.diagrams.net" modified="2022-03-15T09:52:58.269Z" agent="5.0 (Macintosh; Intel Mac OS X -1_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" etag="h3Y8IWw5O62zT6N38ked" version="16.6.6" type="github">
<diagram id="nns2DWpgICauvzKashPr" name="Page-1">
<mxGraphModel dx="2990" dy="1150" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="VzMf2iuQwJlqlMaawCOC-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=0.45;exitY=1.011;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="VzMf2iuQwJlqlMaawCOC-32" target="VzMf2iuQwJlqlMaawCOC-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-1" value="df_visit" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" vertex="1" parent="1">
<mxGeometry x="-80" y="110" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-2" value="id as visit_id, 
 c_code as vender_id, 
 type as visit_type,
 plan_time" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-1">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-3" value="df_feedback" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" vertex="1" parent="1">
<mxGeometry x="130" y="110" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-4" value="visit_id, 
 desc as visit_desc,
 substr(actual_visit_time,1,10) as visit_time_new" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-3">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-8" value="df_visit_time" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" vertex="1" parent="1">
<mxGeometry x="254" y="390" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-9" value="'vender_id',
'visit_time_new',
'plan_time',
'visit_type',
'visit_desc'" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-8">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" target="VzMf2iuQwJlqlMaawCOC-11">
<mxGeometry relative="1" as="geometry">
<mxPoint x="610" y="210" as="sourcePoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-15" value="<div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="color: #a31515">send_time</span></div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-14">
<mxGeometry x="-0.4667" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-10" value="<meta charset="utf-8"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: menlo, monaco, &quot;courier new&quot;, monospace; font-weight: normal; font-size: 12px; line-height: 18px;"><div><span style="color: #a31515">app.app_manager_send_vender_record_online</span></div></div>" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="470" y="140" width="320" height="30" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-11" value="df_vender_list" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=0;" vertex="1" parent="1">
<mxGeometry x="510" y="270" width="200" height="180" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-12" value="|-- vender_id: string (nullable = true)
 |-- level: string (nullable = true)
 |-- project: string (nullable = true)
 |-- send: string (nullable = true)
 |-- source: string (nullable = true)
 |-- visit_time: string (nullable = true)
 |-- remark: string (nullable = true)
 |-- send_time: string (nullable = true)
 |-- business: string (nullable = true)
" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-11">
<mxGeometry y="30" width="200" height="150" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-13" value="下发列表" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="580" y="175" width="60" height="20" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-16" value="拜访表" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="-30" y="80" width="50" height="20" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-17" value="拜访反馈表" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="180" y="75" width="80" height="20" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-29" value="<meta charset="utf-8"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: menlo, monaco, &quot;courier new&quot;, monospace; font-weight: normal; font-size: 12px; line-height: 18px;"><div><span style="color: #a31515">fdm_mcss_cmc_visit_chain</span></div></div>" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="-70" y="40" width="200" height="30" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-30" value="<meta charset="utf-8"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: menlo, monaco, &quot;courier new&quot;, monospace; font-weight: normal; font-size: 12px; line-height: 18px;"><div><span style="color: #a31515">fdm_mcss_cmc_visit_feedback_chain</span></div></div>" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="130" y="40" width="260" height="30" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-31" value="df_visit" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" vertex="1" parent="1">
<mxGeometry x="10" y="320" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-32" value="id as visit_id, 
 c_code as vender_id, 
 type as visit_type,
 plan_time
visit_desc
visit_time_new" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-31">
<mxGeometry y="30" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-33" value="inner" style="shape=line;html=1;strokeWidth=6;strokeColor=#ff0000;" vertex="1" parent="1">
<mxGeometry x="-10" y="240" width="200" height="10" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-34" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;verticalAlign=bottom;endArrow=open;endSize=8;strokeColor=#ff0000;rounded=0;" edge="1" source="VzMf2iuQwJlqlMaawCOC-33" parent="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="90" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-36" value="visit_id" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-34">
<mxGeometry x="-0.2571" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-38" value="<div style="background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><span style="color: #a31515">'vender_id'</span>,<span style="color: #a31515">'send_time'</span></div>" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="510" y="460" width="200" height="50" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-40" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="710" y="530" as="sourcePoint" />
<mxPoint x="330" y="530" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-41" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="580" y="535" as="sourcePoint" />
<mxPoint x="580" y="620" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-42" value="<div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="color: rgb(163 , 21 , 21)">send_time</span>&lt;=<span style="color: #a31515">visit_time_new&lt;=</span><span>date_now</span></div><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; color: rgb(163 , 21 , 21)">send_time</span><span style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace">&lt;=</span><span style="color: rgb(163 , 21 , 21) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace">plan_time</span><span style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; color: rgb(163 , 21 , 21)">&lt;=</span><span style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace">date_now</span><br></div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-41">
<mxGeometry x="-0.4" y="-4" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-44" value="df_visit_time" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" vertex="1" parent="1">
<mxGeometry x="550" y="620" width="160" height="130" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-45" value="'vender_id',
'visit_time_new',
'plan_time',
'visit_type',
'visit_desc'
'send_time'(-------)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-44">
<mxGeometry y="30" width="160" height="100" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-46" value="" style="endArrow=classic;html=1;rounded=0;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="700" as="sourcePoint" />
<mxPoint x="760" y="320" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-47" value="<div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="color: #a31515">vender_id</span></div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-46">
<mxGeometry x="0.2421" y="-2" relative="1" as="geometry">
<mxPoint y="-15" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-48" value="df_vender_new" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=0;" vertex="1" parent="1">
<mxGeometry x="1030" y="345" width="200" height="240" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-49" value="|-- vender_id: string (nullable = true)
 |-- level: string (nullable = true)
 |-- project: string (nullable = true)
 |-- send: string (nullable = true)
 |-- source: string (nullable = true)
 |-- visit_time: string (nullable = true)
 |-- remark: string (nullable = true)
 |-- send_time: string (nullable = true)
 |-- business: string (nullable = true)
visit_time_new',
'plan_time',
'visit_type',
'visit_desc'
" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-48">
<mxGeometry y="30" width="200" height="210" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-50" value="" style="endArrow=classic;html=1;rounded=0;entryX=0;entryY=0.6;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="VzMf2iuQwJlqlMaawCOC-49">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="760" y="500" as="sourcePoint" />
<mxPoint x="840" y="470" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-51" value="<div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px">fillna(<span style="color: #a31515">'-'</span>,</div><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px">subset =&nbsp;</div><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px">[<span style="color: #a31515">'visit_time_new'</span>,<span style="color: #a31515">'plan_time'</span></div><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px">,<span style="color: #a31515">'visit_type'</span>,<span style="color: #a31515">'visit_desc'</span>])</div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-50">
<mxGeometry x="-0.2286" y="-3" relative="1" as="geometry">
<mxPoint x="19" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-54" value="<div style="color: rgb(0 , 0 , 0) ; background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-weight: normal ; font-size: 12px ; line-height: 18px"><div><span style="color: #000000">[</span><span style="color: #a31515">'vender_id'</span><span style="color: #000000">,</span><span style="color: #a31515">'level'</span><span style="color: #000000">,</span></div><div><span style="color: #a31515">'project'</span><span style="color: #000000">,</span><span style="color: #a31515">'send'</span><span style="color: #000000">,</span></div><div><span style="color: #a31515">'source'</span><span style="color: #000000">,</span><span style="color: #a31515">'send_time'</span><span style="color: #000000">,</span></div><div><span style="color: #a31515">'remark'</span><span style="color: #000000">,</span><span style="color: #a31515">'business'</span><span style="color: #000000">]</span></div></div>" style="text;whiteSpace=wrap;html=1;fontColor=#FF0000;" vertex="1" parent="1">
<mxGeometry x="1250" y="350" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-55" value="<div style="color: rgb(0 , 0 , 0) ; background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-weight: normal ; font-size: 12px ; line-height: 18px"><div><span style="color: #000000">F.min(</span><span style="color: #a31515">'visit_time_new'</span><span style="color: #000000">)</span></div><div><span style="color: #000000">.</span>alias(<span style="color: rgb(163 , 21 , 21)">'visit_time'</span>),</div><div><span style="color: #000000"> F.collect_list(</span><span style="color: #a31515">'visit_type'</span><span style="color: #000000">)</span></div><div><span style="color: #000000">.alias(</span><span style="color: #a31515">'list_visit_type'</span><span style="color: #000000">),</span></div><div><span style="color: #000000"> F.collect_list(</span><span style="color: #a31515">'visit_desc'</span><span style="color: #000000">)</span></div><div><span style="color: #000000">.alias(</span><span style="color: #a31515">'list_visit_desc'</span><span style="color: #000000">)</span></div></div>" style="text;whiteSpace=wrap;html=1;fontColor=#FF0000;" vertex="1" parent="1">
<mxGeometry x="1250" y="440" width="220" height="100" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-56" value="<br>plan_time<span style="color: rgb(0 , 0 , 0) ; text-align: left">(-------)<br></span><span style="text-align: left">visit_time</span><span style="color: rgb(0 , 0 , 0) ; text-align: left">(-------)</span><span style="color: rgb(0 , 0 , 0) ; text-align: left"><br></span>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#FF0000;" vertex="1" parent="1">
<mxGeometry x="1290" y="560" width="100" height="50" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-57" value="df_vender_list" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=0;" vertex="1" parent="1">
<mxGeometry x="1480" y="345" width="350" height="345" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-58" value="|-- vender_id: string (nullable = true)
 |-- level: string (nullable = true)
 |-- project: string (nullable = true)
 |-- send: string (nullable = true)
 |-- source: string (nullable = true)
 |-- 
 |-- remark: string (nullable = true)
 |-- send_time: string (nullable = true)
 |-- business: string (nullable = true)
visit_time',

'list_visit_type',
'listvisit_desc'
↓
is_visit(+++++)
visit_ago(+++++)最早拜访距离现在多少天
↓
|-- visit_ago_one_week_flag: boolean (nullable = true)
 |-- visit_ago_two_week_flag: boolean (nullable = true)
 |-- visit_ago_three_week_flag: boolean (nullable = true)
 |-- visit_ago_four_week_flag: boolean (nullable = true)
" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-57">
<mxGeometry y="30" width="350" height="315" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-59" value="两个vist_time" style="whiteSpace=wrap;html=1;fontColor=#FF0000;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="790" y="10" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-61" value="最早拜访" style="whiteSpace=wrap;html=1;fontColor=#FF0000;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="1290" y="310" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-62" value="<meta charset="utf-8"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: menlo, monaco, &quot;courier new&quot;, monospace; font-weight: normal; font-size: 12px; line-height: 18px;"><div><span style="color: #a31515">dev.app_rec_v7</span></div></div>" style="text;whiteSpace=wrap;html=1;fontColor=#FF0000;" vertex="1" parent="1">
<mxGeometry x="1990" y="560" width="130" height="30" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-63" value="单量表" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="2015" y="600" width="50" height="20" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-65" value="df_ord_num" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=20;" vertex="1" parent="1">
<mxGeometry x="1925" y="630" width="220" height="120" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-66" value="vender_id, 
 dt, 
 
 sum(cur_ord_num) as d_ord_num" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-65">
<mxGeometry y="30" width="220" height="90" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-69" value="<div style="background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><span style="color: #a31515">'visit_time'</span>,<span style="color: #a31515">'send_time'</span>,<span style="color: #a31515">'vender_id'</span></div></div>" style="rounded=0;whiteSpace=wrap;html=1;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="1480" y="700" width="350" height="50" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-70" value="" style="endArrow=classic;html=1;rounded=0;fontColor=#000000;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="2040" y="770" as="sourcePoint" />
<mxPoint x="1650" y="770" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-72" value="df_vender_ord" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=20;" vertex="1" parent="1">
<mxGeometry x="1720" y="830" width="250" height="170" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-73" value="|-- vender_id: string (nullable = true)
 |-- visit_time: string (nullable = true)
 |-- send_time: string (nullable = true)
 |-- dt: string (nullable = true)
 |-- d_ord_num: long (nullable = true)

visit_ord_diff = dt - (visti_time or send_time)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-72">
<mxGeometry y="30" width="250" height="140" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-74" value="" style="endArrow=classic;html=1;rounded=0;fontColor=#000000;" edge="1" parent="1" target="VzMf2iuQwJlqlMaawCOC-72">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1840" y="770" as="sourcePoint" />
<mxPoint x="1900" y="730" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-75" value="<div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="color: #a31515">vender_id</span></div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#000000;" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-74">
<mxGeometry x="-0.3333" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-76" value="<div style="color: rgb(0 , 0 , 0) ; background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-weight: normal ; font-size: 12px ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><span style="color: #a31515">app.app_trader_sale_customer_operate_info_da </span></div></div>" style="text;whiteSpace=wrap;html=1;fontColor=#FF0000;" vertex="1" parent="1">
<mxGeometry x="1510" y="100" width="330" height="30" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-77" value="单量表" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="1635" y="140" width="50" height="20" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-78" value="cus_data" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=20;" vertex="1" parent="1">
<mxGeometry x="1575" y="200" width="255" height="120" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-79" value="|-- vender_id: string (nullable = true)
 |-- main_region_main: string (nullable = true)
 |-- main_battle_name: string (nullable = true)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-78">
<mxGeometry y="30" width="255" height="90" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-81" value="df_vender_list" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=0;" vertex="1" parent="1">
<mxGeometry x="2225" y="310" width="355" height="397" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-82" value="|-- vender_id: string (nullable = true)
 |-- level: string (nullable = true)
 |-- project: string (nullable = true)
 |-- send: string (nullable = true)
 |-- source: string (nullable = true)
 |-- 
 |-- remark: string (nullable = true)
 |-- send_time: string (nullable = true)
 |-- business: string (nullable = true)
visit_time',

'list_visit_type',
'listvisit_desc'
↓
is_visit(+++++)
visit_ago(+++++)最早拜访距离现在多少天
↓
|-- visit_ago_one_week_flag: boolean (nullable = true)
 |-- visit_ago_two_week_flag: boolean (nullable = true)
 |-- visit_ago_three_week_flag: boolean (nullable = true)
 |-- visit_ago_four_week_flag: boolean (nullable = true)

|-- main_region_main: string (nullable = true)
|-- main_battle_name: string (nullable = true)
" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-81">
<mxGeometry y="30" width="355" height="367" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-83" value="" style="endArrow=classic;html=1;rounded=0;fontColor=#000000;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1860" y="260" as="sourcePoint" />
<mxPoint x="1860" y="580" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-84" value="" style="endArrow=classic;html=1;rounded=0;fontColor=#000000;entryX=0;entryY=0.54;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="VzMf2iuQwJlqlMaawCOC-82">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1860" y="538" as="sourcePoint" />
<mxPoint x="1910" y="470" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-85" value="<span style="font-size: 12px ; text-align: left ; background-color: rgb(248 , 249 , 250)">vender_id</span>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#000000;" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-84">
<mxGeometry x="-0.2299" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-86" value="<div style="color: rgb(0 , 0 , 0) ; background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-weight: normal ; font-size: 12px ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><div>df_vender_ord_pre_one -<span style="color: #098658">1</span>~-<span style="color: #098658">7</span></div><div>df_vender_ord_nxt_one <span style="color: #098658">0</span>~<span style="color: #098658">6</span></div><div>df_vender_ord_nxt_two <span style="color: #098658">7</span>~<span style="color: #098658">13</span></div><div>df_vender_ord_nxt_three <span style="color: #098658">14</span>~<span style="color: #098658">20</span></div><div>df_vender_ord_nxt_four <span style="color: #098658">21</span>~<span style="color: #098658">27</span></div><br><div>df_vender_ord_nxt_all <span style="color: #098658">0</span>~</div></div></div>" style="text;whiteSpace=wrap;html=1;strokeWidth=2;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="2010" y="845" width="259.5" height="140" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-87" value="<meta charset="utf-8"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: menlo, monaco, &quot;courier new&quot;, monospace; font-weight: normal; font-size: 12px; line-height: 18px;"><div><span style="color: #000000">df_vender_ord_pre_one_sum</span></div><div><span style="color: #000000">df_vender_ord_nxt_one_sum</span></div><div><span style="color: #000000">df_vender_ord_nxt_two_sum</span></div><div><span style="color: #000000">df_vender_ord_nxt_three_sum</span></div><div><span style="color: #000000">df_vender_ord_nxt_four_sum</span></div><div><span style="color: #000000">df_vender_ord_nxt_all</span></div></div>" style="text;whiteSpace=wrap;html=1;fontColor=#333333;fillColor=#f5f5f5;strokeColor=#666666;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="2280" y="845" width="270" height="140" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-88" value="<div style="background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><span style="color: #a31515">pre_one_ord_num</span></div></div><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><span style="color: #a31515">nxt_***_ord_num</span></div></div>" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fontColor=#000000;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="2280" y="770" width="300" height="60" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-89" value="<div style="background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px">[<span style="color: #a31515">'vender_id'</span>, <span style="color: #a31515">'visit_time'</span>, <span style="color: #a31515">'send_time'</span>]</div>" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fontColor=#000000;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="2260" y="1020" width="300" height="60" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-90" value="df_visit_final" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=0;" vertex="1" parent="1">
<mxGeometry x="2750" y="345" width="360" height="600" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-91" value="|-- vender_id: string (nullable = true)
 |-- level: string (nullable = true)
 |-- project: string (nullable = true)
 |-- send: string (nullable = true)
 |-- source: string (nullable = true)
 |-- 
 |-- remark: string (nullable = true)
 |-- send_time: string (nullable = true)
 |-- business: string (nullable = true)
visit_time',

'list_visit_type',
'listvisit_desc'
↓
is_visit(+++++)
visit_ago(+++++)最早拜访距离现在多少天
↓
|-- visit_ago_one_week_flag: boolean (nullable = true)
 |-- visit_ago_two_week_flag: boolean (nullable = true)
 |-- visit_ago_three_week_flag: boolean (nullable = true)
 |-- visit_ago_four_week_flag: boolean (nullable = true)

|-- main_region_main: string (nullable = true)
|-- main_battle_name: string (nullable = true)

pre_one_ord_num
nxt_***_ord_num
↓
|-- one_incre_num: integer (nullable = true) 
nxt_one_ord_num-pre_one_ord_num

 |-- two_incre_num: integer (nullable = true)
 |-- three_incre_num: integer (nullable = true)
 |-- four_incre_num: integer (nullable = true)

|-- one_incre_rate: double (nullable = true)
 |-- two_incre_rate: double (nullable = true)
 |-- three_incre_rate: double (nullable = true)
 |-- four_incre_rate: double (nullable = true)
" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-90">
<mxGeometry y="30" width="360" height="570" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-93" value="" style="endArrow=classic;html=1;rounded=0;fontColor=#000000;entryX=-0.011;entryY=0.475;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="VzMf2iuQwJlqlMaawCOC-90" target="VzMf2iuQwJlqlMaawCOC-91">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="-150" y="280" as="sourcePoint" />
<mxPoint x="235" y="259.18000000000006" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-94" value="<div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="color: #a31515">'vender_id'</span>,</div><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="color: #a31515">'visit_time'</span>,</div><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-size: 12px ; line-height: 18px"><span style="color: #a31515">'send_time'</span></div>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontColor=#000000;" vertex="1" connectable="0" parent="VzMf2iuQwJlqlMaawCOC-93">
<mxGeometry x="-0.2299" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-92" value="" style="endArrow=classic;html=1;rounded=0;fontColor=#000000;" edge="1" parent="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="2600" y="920" as="sourcePoint" />
<mxPoint x="2600" y="440" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-95" value="<div style="color: rgb(0 , 0 , 0) ; background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; font-weight: normal ; font-size: 12px ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px">F.countDistinct(<span style="color: #a31515">'vender_id'</span>)</div></div></div>" style="text;whiteSpace=wrap;html=1;fontColor=#333333;fillColor=#f5f5f5;strokeColor=#666666;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="3190" y="460" width="230" height="41.5" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-96" value="<div style="background-color: rgb(255 , 255 , 255) ; font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px"><div style="font-family: &#34;menlo&#34; , &#34;monaco&#34; , &#34;courier new&#34; , monospace ; line-height: 18px">[<span style="color: #a31515">'send_time'</span>,<span style="color: #a31515">'send'</span>,<span style="color: #a31515">'source'</span>]</div></div>" style="shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1;fontColor=#000000;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry x="3190" y="360" width="230" height="60" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-97" value="df_all" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=20;" vertex="1" parent="1">
<mxGeometry x="3190" y="515" width="260" height="155" as="geometry" />
</mxCell>
<mxCell id="VzMf2iuQwJlqlMaawCOC-98" value="|-- send_time: string (nullable = true)
 |-- send: string (nullable = true)
 |-- source: string (nullable = true)

 |-- 下发客户量: long (nullable = false)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" vertex="1" parent="VzMf2iuQwJlqlMaawCOC-97">
<mxGeometry y="30" width="260" height="125" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>