Commit 7bff3d7d authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.5' into MVP1.5

parents a267003d df0b70a7
...@@ -93,4 +93,6 @@ public interface TForecastLibraryMapper extends BaseMapper<TForecastLibrary> { ...@@ -93,4 +93,6 @@ public interface TForecastLibraryMapper extends BaseMapper<TForecastLibrary> {
int updateForecastById(@Param("tForecastLibrary") TForecastLibrary tForecastLibrary); int updateForecastById(@Param("tForecastLibrary") TForecastLibrary tForecastLibrary);
int updateForecastStatusById(@Param("tForecastLibrary") TForecastLibrary tForecastLibrary);
} }
...@@ -317,7 +317,6 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -317,7 +317,6 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
} }
return R.ok(); return R.ok();
} }
/** /**
* 通过ID获取缴费库 及社保、公积金明细 * 通过ID获取缴费库 及社保、公积金明细
* *
...@@ -3341,7 +3340,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa ...@@ -3341,7 +3340,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
library.setPaySettleFlag(viewVo.getPaySettleFlag()); library.setPaySettleFlag(viewVo.getPaySettleFlag());
library.setPayCollectFlag(viewVo.getPayCollectFlag()); library.setPayCollectFlag(viewVo.getPayCollectFlag());
} }
tForecastLibraryMapper.updateById(library); tForecastLibraryMapper.updateForecastStatusById(library);
} }
} }
} }
......
...@@ -919,4 +919,26 @@ ...@@ -919,4 +919,26 @@
ID = #{tForecastLibrary.id} ID = #{tForecastLibrary.id}
</update> </update>
<!-- 根据id更新 -->
<update id="updateForecastStatusById">
update
t_forecast_library
set
<if test="tForecastLibrary.incomeSettleFlag != null and tForecastLibrary.incomeSettleFlag.trim() != ''">
INCOME_SETTLE_FLAG = #{tForecastLibrary.incomeSettleFlag},
</if>
<if test="tForecastLibrary.incomeCollectFlag != null and tForecastLibrary.incomeCollectFlag.trim() != ''">
INCOME_COLLECT_FLAG = #{tForecastLibrary.incomeCollectFlag},
</if>
<if test="tForecastLibrary.paySettleFlag != null and tForecastLibrary.paySettleFlag.trim() != ''">
PAY_SETTLE_FLAG = #{tForecastLibrary.paySettleFlag},
</if>
<if test="tForecastLibrary.payCollectFlag != null and tForecastLibrary.payCollectFlag.trim() != ''">
PAY_COLLECT_FLAG = #{tForecastLibrary.payCollectFlag},
</if>
UPDATE_TIME = now()
where
ID = #{tForecastLibrary.id}
</update>
</mapper> </mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment