gydx2024_donghongye преди 1 седмица
родител
ревизия
48d5726a47

+ 1 - 1
foodssm/src/com/gydx/ssm/mapper/user.xml

@@ -31,7 +31,7 @@
                 <if test="state !=null and state != ''">
                     state = #{state},
                 </if>
-                <if test="buildtime !=null and buildtime != ''">
+                <if test="buildtime !=null">
                     buildtime = #{buildtime},
                 </if>
                 <if test="buyorsell !=null and buyorsell != ''">

+ 2 - 1
foodssm/src/com/gydx/ssm/service/UserServiceImpl.java

@@ -27,7 +27,8 @@ public class UserServiceImpl implements UserService {
 
     @Override
     public void updateUser(UserVO vo) {
-        System.out.println("user_update"+vo.getId());
+        System.out.println("user_update"+vo.getId()+"  "+vo.getUsername()+"  "+vo.getUserpass()+"  "+vo.getDepartment()+"  "+vo.getState()+"  "
+                +vo.getBuildtime()+"  "+vo.getBuyorsell()+"  ");
         userIface.updateUser(vo);
     }
 

+ 1 - 1
out/artifacts/foodssm_war_exploded/WEB-INF/classes/com/gydx/ssm/mapper/user.xml

@@ -31,7 +31,7 @@
                 <if test="state !=null and state != ''">
                     state = #{state},
                 </if>
-                <if test="buildtime !=null and buildtime != ''">
+                <if test="buildtime !=null">
                     buildtime = #{buildtime},
                 </if>
                 <if test="buyorsell !=null and buyorsell != ''">

BIN
out/artifacts/foodssm_war_exploded/WEB-INF/classes/com/gydx/ssm/service/UserServiceImpl.class


+ 1 - 1
out/production/foodssm/com/gydx/ssm/mapper/user.xml

@@ -31,7 +31,7 @@
                 <if test="state !=null and state != ''">
                     state = #{state},
                 </if>
-                <if test="buildtime !=null and buildtime != ''">
+                <if test="buildtime !=null">
                     buildtime = #{buildtime},
                 </if>
                 <if test="buyorsell !=null and buyorsell != ''">

BIN
out/production/foodssm/com/gydx/ssm/service/UserServiceImpl.class