weiximei 6 anni fa
parent
commit
fa9390e0fd

+ 1
- 2
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BillInvoiceServiceImpl.java Vedi File

@@ -163,6 +163,7 @@ public class BillInvoiceServiceImpl extends ServiceImpl<BillInvoiceMapper, BillI
163 163
             billInvoice.setBillStatus("2");
164 164
             billInvoice.setUpdateDate(new Date());
165 165
             billInvoice.setUpdateUser(billInvoice.getTaUserId());
166
+            billInvoice.setUpdateUser(userElement.getId());
166 167
             int rows = billInvoiceMapper.updateById(billInvoice);
167 168
             if (rows > 0) {
168 169
                 TpBuildingOwnerInfo buildingOwnerInfo = tpBuildingOwnerInfoMapper.selectById(billInvoice.getBuildingOwnerInfoId());
@@ -284,8 +285,6 @@ public class BillInvoiceServiceImpl extends ServiceImpl<BillInvoiceMapper, BillI
284 285
         List<BillInvoice> billInvoices = ids.stream().map(e -> {
285 286
             BillInvoice billInvoice = billInvoiceMapper.selectById(e);
286 287
             billInvoice.setStatus(1);
287
-            billInvoice.setUpdateDate(new Date());
288
-            billInvoice.setUpdateUser(userElement.getId());
289 288
             return billInvoice;
290 289
         }).collect(Collectors.toList());
291 290