Browse Source

feat: 缺失模块页面功能开发

chenjianhua 7 months ago
parent
commit
a29df37130

+ 4 - 4
service-base/src/main/resources/mapper/FundInfoMapper.xml

@@ -68,10 +68,10 @@
             and r.asset_Frequency = #{navFrequency}
         </if>
         <if test="startDate != null and startDate !=''">
-            and r.inception_date <![CDATA[ >= ]]> #{startDate}
+            and f.inception_date <![CDATA[ >= ]]> #{startDate}
         </if>
         <if test="endDate != null and endDate !=''">
-            and r.inception_date <![CDATA[ <= ]]> #{endDate}
+            and f.inception_date <![CDATA[ <= ]]> #{endDate}
         </if>
         limit #{offset},#{pageSize}
     </select>
@@ -136,10 +136,10 @@
             and r.asset_Frequency = #{navFrequency}
         </if>
         <if test="startDate != null and startDate !=''">
-            and r.inception_date <![CDATA[ >= ]]> #{startDate}
+            and f.inception_date <![CDATA[ >= ]]> #{startDate}
         </if>
         <if test="endDate != null and endDate !=''">
-            and r.inception_date <![CDATA[ <= ]]> #{endDate}
+            and f.inception_date <![CDATA[ <= ]]> #{endDate}
         </if>
     </select>
     <select id="getFundNameByFundId" resultType="java.lang.String" parameterType="java.lang.String">

+ 1 - 0
service-manage/src/main/java/com/simuwang/manage/service/impl/FundReportFrequencyServiceImpl.java

@@ -37,6 +37,7 @@ public class FundReportFrequencyServiceImpl implements FundReportFrequencyServic
                 fundReportFrequencyDO.setIsvalid(1);
                 fundReportFrequencyMapper.insert(fundReportFrequencyDO);
             }else{
+                fundReportFrequencyDO.setId(oldFrequency.getId());
                 fundReportFrequencyMapper.updateById(fundReportFrequencyDO);
             }
         }

+ 2 - 1
service-manage/src/main/java/com/simuwang/manage/service/impl/system/SysLogServiceImpl.java

@@ -58,7 +58,8 @@ public class SysLogServiceImpl implements SysLogService {
         entity.setHasException(logging.getHasException());
         entity.setException(logging.getException());
         entity.setExecuteTime(logging.getExecuteTime());
-        this.mapper.insert(entity);
+        //TODO 入库报错
+//        this.mapper.insert(entity);
     }
 
     @Override