顾绍勇 5 年之前
父節點
當前提交
e462e388c5

+ 1
- 1
src/main/java/com/huiju/estateagents/controller/TaRaiseController.java 查看文件

@@ -122,7 +122,7 @@ public class TaRaiseController extends BaseController {
122 122
             // 校验批次是否已经认筹过
123 123
             QueryWrapper<TaRaise> taRaiseQueryWrapper = new QueryWrapper<>();
124 124
             taRaiseQueryWrapper.eq("org_Id", orgId);
125
-            taRaiseQueryWrapper.eq("sales_batch_id", orgId);
125
+            taRaiseQueryWrapper.eq("sales_batch_id", taRaise.getSalesBatchId());
126 126
             taRaiseQueryWrapper.eq("status", 1);
127 127
             TaRaise tr = iTaRaiseService.getOne(taRaiseQueryWrapper);
128 128
             if (tr != null) {

+ 1
- 1
src/main/resources/mapper/TaRaiseRecordMapper.xml 查看文件

@@ -40,7 +40,7 @@
40 40
         <if test="bo.lockingStatus != null">
41 41
             AND t.house_locking_status = #{bo.lockingStatus}
42 42
         </if>
43
-        <if test="bo.apartmentId != null and t.apartmentId != ''">
43
+        <if test="bo.apartmentId != null and bo.apartmentId != ''">
44 44
             AND t.apartment_id = #{bo.apartmentId}
45 45
         </if>
46 46
         <if test="bo.houseId != null">