ソースを参照

feat:p510订单筛选条件调整

fuwencai 11 ヶ月 前
コミット
ed90af680e

+ 0 - 6
src/jfw/front/dataExport.go

@@ -489,12 +489,6 @@ func (d *DataExport) ToOrderDetail(orderCode string) error {
 				if strings.Contains(cIndustry, "其它") {
 					continue
 				}
-				if strings.Contains(cIndustry, "其他") {
-					splitIndustry := strings.Split(cIndustry, "_")
-					if len(splitIndustry) == 2 && splitIndustry[1] == "其他" {
-						cIndustry = fmt.Sprintf("%s(%s)", cIndustry, splitIndustry[0])
-					}
-				}
 				tmpIndustry = append(tmpIndustry, cIndustry)
 			}
 			filter.Industry = tmpIndustry

+ 0 - 6
src/jfw/front/ws_dataExport.go

@@ -120,12 +120,6 @@ func (w *WsDataExport) WxToOrderDetail() error {
 				if strings.Contains(cIndustry, "其它") {
 					continue
 				}
-				if strings.Contains(cIndustry, "其他") {
-					splitIndustry := strings.Split(cIndustry, "_")
-					if len(splitIndustry) == 2 && splitIndustry[1] == "其他" {
-						cIndustry = fmt.Sprintf("%s(%s)", cIndustry, splitIndustry[0])
-					}
-				}
 				tmpIndustry = append(tmpIndustry, cIndustry)
 			}
 			filter.Industry = tmpIndustry

+ 0 - 6
src/jfw/modules/app/src/app/front/ws_dataExport.go

@@ -482,12 +482,6 @@ func (m *WsDataExport) ToOrderDetail() error {
 				if strings.Contains(cIndustry, "其它") {
 					continue
 				}
-				if strings.Contains(cIndustry, "其他") {
-					splitIndustry := strings.Split(cIndustry, "_")
-					if len(splitIndustry) == 2 && splitIndustry[1] == "其他" {
-						cIndustry = fmt.Sprintf("%s(%s)", cIndustry, splitIndustry[0])
-					}
-				}
 				tmpIndustry = append(tmpIndustry, cIndustry)
 			}
 			filter.Industry = tmpIndustry