This commit is contained in:
zt
2025-02-27 18:37:49 +08:00
parent c3b8f5bf89
commit 575eb5747e
10 changed files with 21 additions and 9 deletions

View File

@ -61,6 +61,9 @@ public class BgtProjectTaskProgress implements Serializable {
@ApiModelProperty("用工数量") @ApiModelProperty("用工数量")
private Integer taskStaffNum; private Integer taskStaffNum;
@ApiModelProperty("任务地址")
private String taskAddress;
/** 进度名称 */ /** 进度名称 */
@Excel(name = "进度名称") @Excel(name = "进度名称")
@ApiModelProperty("进度名称") @ApiModelProperty("进度名称")

View File

@ -47,6 +47,8 @@ public class BgtProjectTaskProgressDTO {
@ApiModelProperty("进度名称") @ApiModelProperty("进度名称")
private String progressName; private String progressName;
@ApiModelProperty("任务地址")
private String taskAddress;
@ApiModelProperty("负责人") @ApiModelProperty("负责人")
private String director; private String director;

View File

@ -198,8 +198,7 @@ public class BgtProjectRecruitApplyServiceImpl extends ServicePlusImpl<BgtProjec
.setSubheading(map.get(SUBHEADING)) .setSubheading(map.get(SUBHEADING))
.setTableId(recruitApply.getId()) .setTableId(recruitApply.getId())
.setTableName(SqlHelper.table(BgtProjectRecruitApply.class).getTableName()) .setTableName(SqlHelper.table(BgtProjectRecruitApply.class).getTableName())
.setMessageLargeType(LARGE_APPLY) .setMessageLargeType(LARGE_APPLY);
.setMessageSmallType(SMALL_SYSTEM);
iWgzMessageService.sendAMessage(wgzMessage); iWgzMessageService.sendAMessage(wgzMessage);
return updateById(recruitApply); return updateById(recruitApply);
} }

View File

@ -94,6 +94,9 @@ public class AppTaskDetailVO {
@ApiModelProperty("任务进度") @ApiModelProperty("任务进度")
private Integer progress; private Integer progress;
@ApiModelProperty("任务进度")
private Double progressDouble;
//结算情况 //结算情况
@ApiModelProperty("任务收款金额") @ApiModelProperty("任务收款金额")
private Integer taskReceiveAmount; private Integer taskReceiveAmount;

View File

@ -60,5 +60,5 @@ public class AppTaskVO {
private Integer applyNum; private Integer applyNum;
@ApiModelProperty("任务收款金额") @ApiModelProperty("任务收款金额")
private Integer taskReceiveAmount; private Integer taskReceiveAmount = 0;
} }

View File

@ -62,6 +62,9 @@ public interface IFbsProjectTaskService extends IServicePlus<FbsProjectTask> {
*/ */
TableDataInfo<AppTaskVO> appQueryPageList(AppTaskDTO dto); TableDataInfo<AppTaskVO> appQueryPageList(AppTaskDTO dto);
/**
* App包工头任务列表不分页
*/
List<AppTaskVO> appQueryList(); List<AppTaskVO> appQueryList();
/** /**

View File

@ -156,7 +156,7 @@ public class FbsProjectTaskServiceImpl extends ServicePlusImpl<FbsProjectTaskMap
Page<AppTaskVO> appTaskVOPage = baseMapper.appQueryPageList(appTaskDTOPage, dto); Page<AppTaskVO> appTaskVOPage = baseMapper.appQueryPageList(appTaskDTOPage, dto);
if(dto.getMyTask() && ProjectTaskStatus.APPLY.getCode().equals(dto.getStatus()) if(dto.getMyTask() && ProjectTaskStatus.APPLY.getCode().equals(dto.getStatus())
&&CollectionUtil.isEmpty(taskIds)){ &&CollectionUtil.isEmpty(taskIds)){
appTaskVOPage.setRecords(new ArrayList<AppTaskVO>()); appTaskVOPage.setRecords(new ArrayList<>());
appTaskVOPage.setTotal(0); appTaskVOPage.setTotal(0);
} }
return PageUtils.buildDataInfo(appTaskVOPage); return PageUtils.buildDataInfo(appTaskVOPage);
@ -183,8 +183,10 @@ public class FbsProjectTaskServiceImpl extends ServicePlusImpl<FbsProjectTaskMap
if(ProjectTaskStatus.PROGRESS.getCode().equals(byId.getStatus()) if(ProjectTaskStatus.PROGRESS.getCode().equals(byId.getStatus())
|| ProjectTaskStatus.COMPLETE.getCode().equals(byId.getStatus())){ || ProjectTaskStatus.COMPLETE.getCode().equals(byId.getStatus())){
//任务进度 //任务进度
appTaskDetailVO.setProgress(progressService.getLastProgress(id)); Integer lastProgress = progressService.getLastProgress(id);
appTaskDetailVO.setProgress(lastProgress);
BigDecimal bd = new BigDecimal(lastProgress).divide(new BigDecimal(100), 2, RoundingMode.HALF_UP);
appTaskDetailVO.setProgressDouble(bd.doubleValue());
//结算情况 //结算情况
//收款申请列表 //收款申请列表
BgtWageApplicationQueryDTO wageDTO = new BgtWageApplicationQueryDTO(); BgtWageApplicationQueryDTO wageDTO = new BgtWageApplicationQueryDTO();

View File

@ -298,8 +298,7 @@ public class WgzPayCalculationServiceImpl extends ServicePlusImpl<WgzPayCalculat
.setSubheading(map.get(SUBHEADING)) .setSubheading(map.get(SUBHEADING))
.setTableId(payCalculation.getId()) .setTableId(payCalculation.getId())
.setTableName(SqlHelper.table(WgzPayCalculation.class).getTableName()) .setTableName(SqlHelper.table(WgzPayCalculation.class).getTableName())
.setMessageLargeType(LARGE_SALARY) .setMessageLargeType(LARGE_SALARY);
.setMessageSmallType(SMALL_SYSTEM);
wgzMessageService.sendAMessage(wgzMessage); wgzMessageService.sendAMessage(wgzMessage);
return updateById(payCalculation); return updateById(payCalculation);
} }

View File

@ -32,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bptp.uploader, bptp.uploader,
bptp.progress, bptp.progress,
bptp.audit_status, bptp.audit_status,
bptp.create_time, bptp.upload_time,
bptp.task_staff_num, bptp.task_staff_num,
bptp.task_name, bptp.task_name,
bptp.project_name bptp.project_name

View File

@ -79,6 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and fpt.status = #{dto.status} and fpt.status = #{dto.status}
</if> </if>
</where> </where>
order by fpt.create_time desc
</select> </select>
</mapper> </mapper>