Browse Source

销售订单报表 宁波森语国际内部客户

liuchaohui 2 years ago
parent
commit
e38c81d8e1

+ 18 - 18
jeecg-boot-module-system/src/main/java/org/jeecg/modules/report/mapper/xml/SoSoDetailsMapper.xml

@@ -38,10 +38,10 @@
             AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{map.endYearMonth}
         </if>
         <if test="map.vendorType!=null and map.vendorType!='' and map.vendorType=='内部'">
-            and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+            and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
         </if>
         <if test="map.vendorType!=null and map.vendorType!='' and map.vendorType=='外部'">
-            and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+            and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
         </if>
         <if test="map.department!=null and map.department!='' ">
             and de.cDepName = #{map.department}
@@ -82,10 +82,10 @@
                 AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{map.endYearMonth}
             </if>
             <if test="map.vendorType!=null and map.vendorType!='' and map.vendorType=='内部'">
-                and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+                and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
             </if>
             <if test="map.vendorType!=null and map.vendorType!='' and map.vendorType=='外部'">
-                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
             </if>
             <if test="map.department!=null and map.department!='' ">
                 and de.cDepName = #{map.department}
@@ -126,10 +126,10 @@
                 AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{map.endYearMonth}
             </if>
             <if test="map.vendorType!=null and map.vendorType!='' and map.vendorType=='内部'">
-                and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+                and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
             </if>
             <if test="map.vendorType!=null and map.vendorType!='' and map.vendorType=='外部'">
-                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
             </if>
             <if test="map.department!=null and map.department!='' ">
                 and de.cDepName = #{map.department}
@@ -180,10 +180,10 @@
                 AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{endYearMonth}
             </if>
             <if test="vendorType!=null and vendorType!='' and vendorType=='内部'">
-                and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+                and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
             </if>
             <if test="vendorType!=null and vendorType!='' and vendorType=='外部'">
-                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
             </if>
             <if test="department!=null and department!='' ">
                 and de.cDepName = #{department}
@@ -221,10 +221,10 @@
                     AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{endYearMonth}
                 </if>
                 <if test="vendorType!=null and vendorType!='' and vendorType=='内部'">
-                    and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+                    and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
                 </if>
                 <if test="vendorType!=null and vendorType!='' and vendorType=='外部'">
-                    and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+                    and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
                 </if>
                 <if test="department!=null and department!='' ">
                     and de.cDepName = #{department}
@@ -262,10 +262,10 @@
                     AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{endYearMonth}
                 </if>
                 <if test="vendorType!=null and vendorType!='' and vendorType=='内部'">
-                    and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+                    and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
                 </if>
                 <if test="vendorType!=null and vendorType!='' and vendorType=='外部'">
-                    and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+                    and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
                 </if>
                 <if test="department!=null and department!='' ">
                     and de.cDepName = #{department}
@@ -311,10 +311,10 @@
             AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{endYearMonth}
         </if>
         <if test="vendorType!=null and vendorType!='' and vendorType=='内部'">
-            and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+            and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
         </if>
         <if test="vendorType!=null and vendorType!='' and vendorType=='外部'">
-            and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+            and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
         </if>
         <if test="department!=null and department!='' ">
             and de.cDepName = #{department}
@@ -352,10 +352,10 @@
                 AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{endYearMonth}
             </if>
             <if test="vendorType!=null and vendorType!='' and vendorType=='内部'">
-                and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+                and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
             </if>
             <if test="vendorType!=null and vendorType!='' and vendorType=='外部'">
-                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
             </if>
             <if test="department!=null and department!='' ">
                 and de.cDepName = #{department}
@@ -393,10 +393,10 @@
                 AND CONVERT ( CHAR ( 7 ), ssd.dPreDate, 120 ) <![CDATA[ <= ]]> #{endYearMonth}
             </if>
             <if test="vendorType!=null and vendorType!='' and vendorType=='内部'">
-                and (cc.cCusAbbName='宁波森语' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
+                and (cc.cCusAbbName='宁波森语国际' or  cc.cCusAbbName='马菲羊' or  cc.cCusAbbName='森语集团')
             </if>
             <if test="vendorType!=null and vendorType!='' and vendorType=='外部'">
-                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
+                and (cc.cCusAbbName  <![CDATA[ <> ]]> '宁波森语国际' and cc.cCusAbbName <![CDATA[ <> ]]> '马菲羊' and  cc.cCusAbbName <![CDATA[ <> ]]> '森语集团')
             </if>
             <if test="department!=null and department!='' ">
                 and de.cDepName = #{department}