Selaa lähdekoodia

1、修复副规格改不到名字问题

MY 3 päivää sitten
vanhempi
commit
44c0b4fff3
2 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 1 1
      JLHHJSvr/DataStore/web_mattress.xml
  2. 4 0
      JLHHJSvr/Helper/MattressHelper.cs

+ 1 - 1
JLHHJSvr/DataStore/web_mattress.xml

@@ -139,7 +139,7 @@
 		<when>
 			u_mattress.bcptypeid = 0
 		</when>
-		<when notnull="@arg_createby">
+		<when notempty="@arg_createby">
 			u_mattress.createby = @arg_createby
 		</when>
 		<!-- <when notempty="@arg_search"> -->

+ 4 - 0
JLHHJSvr/Helper/MattressHelper.cs

@@ -3071,6 +3071,8 @@ namespace JLHHJSvr.Helper
                 _child.mattress_width = child.mattress_width;
                 _child.mattress_length = child.mattress_length;
                 _child.mattress_height = child.mattress_height;
+                _child.mattressrelcode = child.mattressrelcode;
+                _child.mattressname = child.mattressname;
                 _child.DynamicFields = child.DynamicFields;
                 _child.mxList = mattress.mxList?.Select(mx =>
                 {
@@ -3124,6 +3126,8 @@ namespace JLHHJSvr.Helper
             clone.createby = parent.createby;
             clone.mattressid = child.mattressid;
             clone.mattresscode = child.mattresscode;
+            clone.mattressrelcode = child.mattressrelcode;
+            clone.mattressname = child.mattressname;
             clone.subspecsList = child.subspecsList;
             clone.mattress_width = child.mattress_width;
             clone.mattress_length = child.mattress_length;