ysh 2 vuotta sitten
vanhempi
commit
abf4b488b8

+ 2 - 2
jeecg-boot-module-system/src/main/java/org/jeecg/modules/viewClockIn/mapper/xml/bdClockinMonthMapper.xml

@@ -53,7 +53,7 @@
             a.category, -- 人员类别 101正式工 102 合同工 103 实习生 104 劳务工
             a.is_attendance,-- 是否考勤(0是 ,1否)
             a.is_salary, -- 是否算薪
-            a.wages_one, -- 基本工资
+            a.wages_one base_pay, -- 基本工资
             a.wages_base,-- 缴交基数
             a.sy_fund, -- 公积金账号
             a.share_dept depart_id, -- 分摊部门
@@ -179,7 +179,7 @@
         select * from
                bd_clockin_month where sy_u8 = 0 and is_salary ='0' and month_time = #{nowDate}
         <if test="userId != null and userId != '' and userId.length >0">
-            and id in(
+            and person_id in(
             <foreach collection="userId" item="item" index="index" separator=",">
                 #{item}
             </foreach>

+ 1 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/viewClockIn/service/impl/bdClockinMonthServiceImpl.java

@@ -315,7 +315,7 @@ public class bdClockinMonthServiceImpl extends ServiceImpl<bdClockinMonthMapper,
                 clockinMonthMapper.updateSy(list);//更新月报同步状态
             }
         }else{
-            return "所选条件,未匹配到可上传数据";
+            return "无效数据";
         }
 
         return "";