三个统计导出

This commit is contained in:
马三炮 2025-10-16 14:27:09 +08:00
parent 0efa0e30f2
commit 062e185e77
5 changed files with 31 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class ProMonthTableRosterVo {
/** /**
*在岗情况 *在岗情况
*/ */
@Excel(name = "在岗情况",sort = 13) @Excel(name = "在岗情况",sort = 13,readConverterExp = "0=离岗,1=在岗")
private String onDuty; private String onDuty;
/** /**

View File

@ -14,6 +14,9 @@ public interface PmAttDeviceMapper {
int updatePmAttDevice(PmAttDevice pmAttDevice); int updatePmAttDevice(PmAttDevice pmAttDevice);
/**
* 删除考勤机
*/
int delPmAttDevice(PmAttDevice pmAttDevice); int delPmAttDevice(PmAttDevice pmAttDevice);
void addPmAttDeviceHis(PmAttDevice pmAttDeviceOld); void addPmAttDeviceHis(PmAttDevice pmAttDeviceOld);

View File

@ -6,11 +6,24 @@ import com.bonus.bmw.domain.vo.PmAttDeviceVo;
import java.util.List; import java.util.List;
public interface PmAttDeviceService { public interface PmAttDeviceService {
/**
* 考勤机列表
*/
List<PmAttDeviceVo> selectPmAttDeviceList(PmAttDevice pmAttDevice); List<PmAttDeviceVo> selectPmAttDeviceList(PmAttDevice pmAttDevice);
/**
* 新增考勤机
*/
int addPmAttDevice(PmAttDevice pmAttDevice) throws Exception; int addPmAttDevice(PmAttDevice pmAttDevice) throws Exception;
/**
* 解绑
*/
int updatePmAttDevice(PmAttDevice pmAttDevice) throws Exception; int updatePmAttDevice(PmAttDevice pmAttDevice) throws Exception;
/**
* 删除考勤机
*/
int delPmAttDevice(PmAttDevice pmAttDevice) throws Exception; int delPmAttDevice(PmAttDevice pmAttDevice) throws Exception;
} }

View File

@ -35,6 +35,9 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
@Resource @Resource
private RedisService redisService; private RedisService redisService;
/**
* 考勤机列表
*/
@Override @Override
public List<PmAttDeviceVo> selectPmAttDeviceList(PmAttDevice pmAttDevice) { public List<PmAttDeviceVo> selectPmAttDeviceList(PmAttDevice pmAttDevice) {
List<PmAttDeviceVo> pmAttDeviceVoList = pmAttDeviceMapper.selectPmAttDeviceList(pmAttDevice); List<PmAttDeviceVo> pmAttDeviceVoList = pmAttDeviceMapper.selectPmAttDeviceList(pmAttDevice);
@ -48,6 +51,9 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
return pmAttDeviceVoList; return pmAttDeviceVoList;
} }
/**
* 新增考勤机
*/
@Override @Override
@Transactional @Transactional
public int addPmAttDevice(PmAttDevice pmAttDevice) throws Exception { public int addPmAttDevice(PmAttDevice pmAttDevice) throws Exception {
@ -77,6 +83,9 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
return pmAttDeviceMapper.addPmAttDevice(pmAttDevice); return pmAttDeviceMapper.addPmAttDevice(pmAttDevice);
} }
/**
* 解绑
*/
@Override @Override
@Transactional @Transactional
public int updatePmAttDevice(PmAttDevice pmAttDevice) throws Exception { public int updatePmAttDevice(PmAttDevice pmAttDevice) throws Exception {
@ -111,6 +120,9 @@ public class PmAttDeviceServiceImpl implements PmAttDeviceService {
return pmAttDeviceMapper.updatePmAttDevice(pmAttDevice); return pmAttDeviceMapper.updatePmAttDevice(pmAttDevice);
} }
/**
* 删除考勤机
*/
@Override @Override
public int delPmAttDevice(PmAttDevice pmAttDevice) throws Exception { public int delPmAttDevice(PmAttDevice pmAttDevice) throws Exception {
return pmAttDeviceMapper.delPmAttDevice(pmAttDevice); return pmAttDeviceMapper.delPmAttDevice(pmAttDevice);

View File

@ -19,6 +19,8 @@
pro_id = #{proId}, pro_id = #{proId},
update_time = #{updateTime}, update_time = #{updateTime},
update_user = #{updateUser}, update_user = #{updateUser},
sub_id = #{subId},
team_id = #{teamId},
<if test="serialNumber != null and serialNumber != ''"> <if test="serialNumber != null and serialNumber != ''">
serial_number = #{serialNumber}, serial_number = #{serialNumber},
</if> </if>