Commit ffc2c106 authored by zhangwanglin's avatar zhangwanglin

异地护理机构

parent 480eb074
...@@ -905,7 +905,7 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis ...@@ -905,7 +905,7 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
private Result placeFreeHandler(Integer disabInfoId, String otherApplyTime) { private Result placeFreeHandler(Integer disabInfoId, String otherApplyTime) {
BigDecimal limit = BigDecimal.valueOf(20); BigDecimal limit = BigDecimal.valueOf(20);
BigDecimal zero = BigDecimal.valueOf(0); BigDecimal zero = BigDecimal.valueOf(0);
ChDisabDetailAccounts chDisabDetailAccountsDTO = chDisabAccountsDetailMapper.queryDisabDetailAccounts("471", otherApplyTime, String.valueOf(disabInfoId), "异地"); ChDisabDetailAccounts chDisabDetailAccountsDTO = chDisabAccountsDetailMapper.queryDisabDetailAccounts("1361", otherApplyTime, String.valueOf(disabInfoId), "异地");
if (Objects.isNull(chDisabDetailAccountsDTO)) { if (Objects.isNull(chDisabDetailAccountsDTO)) {
// 异地 // 异地
ChDisabDetailAccounts chDisabDetailAccounts = new ChDisabDetailAccounts(); ChDisabDetailAccounts chDisabDetailAccounts = new ChDisabDetailAccounts();
...@@ -913,19 +913,19 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis ...@@ -913,19 +913,19 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
chDisabDetailAccounts.setAccountsOverallCost(limit); chDisabDetailAccounts.setAccountsOverallCost(limit);
chDisabDetailAccounts.setAccountsPersonalCost(zero); chDisabDetailAccounts.setAccountsPersonalCost(zero);
chDisabDetailAccounts.setModeName("异地"); chDisabDetailAccounts.setModeName("异地");
chDisabDetailAccounts.setSrvOrganId("471"); chDisabDetailAccounts.setSrvOrganId("1361");
chDisabDetailAccounts.setCreationTime(new Date()); chDisabDetailAccounts.setCreationTime(new Date());
chDisabDetailAccounts.setAccountsTime(DateUtils.strToDate(otherApplyTime)); chDisabDetailAccounts.setAccountsTime(DateUtils.strToDate(otherApplyTime));
chDisabDetailAccounts.setDisabInfoId(String.valueOf(disabInfoId)); chDisabDetailAccounts.setDisabInfoId(String.valueOf(disabInfoId));
chDisabDetailAccounts.setStatus((short) 1); chDisabDetailAccounts.setStatus((short) 1);
chDisabDetailAccounts.setReissueAmount(BigDecimal.valueOf(0)); chDisabDetailAccounts.setReissueAmount(BigDecimal.valueOf(0));
chDisabDetailAccounts.setDeductionAmount(BigDecimal.valueOf(0)); chDisabDetailAccounts.setDeductionAmount(BigDecimal.valueOf(0));
ChDisabAccounts chDisabAccounts = disabAccountsMapper.queryAccountByCondition(DateUtils.dateToStrYm(DateUtils.strToDate(otherApplyTime)), "异地", "471", null); ChDisabAccounts chDisabAccounts = disabAccountsMapper.queryAccountByCondition(DateUtils.dateToStrYm(DateUtils.strToDate(otherApplyTime)), "异地", "1361", null);
if (chDisabAccounts == null) { if (chDisabAccounts == null) {
chDisabAccounts = new ChDisabAccounts(); chDisabAccounts = new ChDisabAccounts();
chDisabAccounts.setModeName("异地"); chDisabAccounts.setModeName("异地");
chDisabAccounts.setAccountsTime(DateUtils.strToDateMd(otherApplyTime)); chDisabAccounts.setAccountsTime(DateUtils.strToDateMd(otherApplyTime));
chDisabAccounts.setSrvOrganId(Long.valueOf(471)); chDisabAccounts.setSrvOrganId(Long.valueOf(1361));
chDisabAccounts.setCreationTime(new Date()); chDisabAccounts.setCreationTime(new Date());
chDisabAccounts.setAccountsStatus((short) 1); chDisabAccounts.setAccountsStatus((short) 1);
chDisabAccounts.setAllCost(limit); chDisabAccounts.setAllCost(limit);
......
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