Commit 408c9321 authored by wangzb's avatar wangzb

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

parents cc707139 bf669b38
...@@ -108,6 +108,4 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> { ...@@ -108,6 +108,4 @@ public interface TSettleDomainMapper extends BaseMapper<TSettleDomain> {
@Param("customerName")String customerName, @Param("customerName")String customerName,
@Param("userId")String userId); @Param("userId")String userId);
TSettleDomain updateHistoryData(@Param("departNo")String DepartNo);
} }
...@@ -220,11 +220,8 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T ...@@ -220,11 +220,8 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
log.error(JSON.toJSONString(vo)); log.error(JSON.toJSONString(vo));
if (Common.isNotNull(tSettleDomainInfo)) { if (Common.isNotNull(tSettleDomainInfo)) {
baseMapper.updateById(domain); baseMapper.updateById(domain);
baseMapper.updateHistoryData(domain.getDepartNo());
} else { } else {
baseMapper.insert(domain); baseMapper.insert(domain);
baseMapper.updateHistoryData(domain.getDepartNo());
} }
} }
return R.ok(); return R.ok();
......
...@@ -498,7 +498,4 @@ ...@@ -498,7 +498,4 @@
and a.id in (select b.settle_id from m_setttle_customer_user b where b.user_id = #{userId}) and a.DELETE_FLAG = '0' and a.id in (select b.settle_id from m_setttle_customer_user b where b.user_id = #{userId}) and a.DELETE_FLAG = '0'
group by a.CUSTOMER_NO order by CREATE_TIME desc group by a.CUSTOMER_NO order by CREATE_TIME desc
</select> </select>
<update id="updateHistoryData">
update ekp_24a8e6a7fc143bb8c48a a,t_settle_domain b set b.FIRST_INDICATOR_BELONG = a.fd_3b1abe1f56113e_text,b.SECOND_INDICATOR_BELONG = a.fd_3b1abe1f56113e_text where a.fd_3a37fe508071fe = b.DEPART_NO
</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