shiyj1101 hace 4 años
padre
commit
3808f9f6a8

+ 1 - 2
java110-db/src/main/resources/mapper/fee/InitializePayFeeServiceDaoImplMapper.xml

@@ -5,8 +5,7 @@
 <mapper namespace="initializePayFeeServiceDaoImpl">
     <!-- 初始化数据 add by wuxw 2018-07-03 -->
     <delete id="deletePayFee" parameterType="Map">
-         delete from pay_fee  where 1=1
+        delete from pay_fee  where 1=1
         and community_id = #{communityId}
     </delete>
-
 </mapper>

+ 2 - 2
service-fee/src/main/java/com/java110/fee/dao/impl/InitializePayFeeServiceDaoImpl.java

@@ -30,9 +30,9 @@ public class InitializePayFeeServiceDaoImpl extends BaseServiceDao implements II
 
         int deleteFlag = sqlSessionTemplate.delete("initializePayFeeServiceDaoImpl.deletePayFee", info);
 
-        if (deleteFlag < 1) {
+        /*if (deleteFlag < 1) {
             throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR, "building_owner初始化失败:" + JSONObject.toJSONString(info));
-        }
+        }*/
         return deleteFlag;
     }