退料申请表数据问题修改
This commit is contained in:
parent
8810d6943e
commit
89f30114a8
|
|
@ -34,6 +34,18 @@ public class WorkSiteDirectManageController extends BaseController {
|
|||
@Resource
|
||||
private TaskService tmTaskService;
|
||||
|
||||
|
||||
/**
|
||||
* 列表展示
|
||||
*/
|
||||
@ApiOperation(value = "列表展示")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list() {
|
||||
startPage();
|
||||
List<DirectApplyInfo> directApplyInfos = workSiteDirectManageService.getList();
|
||||
return getDataTable(directApplyInfos);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据协议Id查询在用数据
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -29,4 +29,6 @@ public interface WorkSiteDirectManageMapper {
|
|||
int saveDirectApplyDetails(DirectApplyDetails directApplyInfo);
|
||||
|
||||
int refuseDirectApplyInfo(DirectApplyInfo directApplyInfos);
|
||||
|
||||
List<DirectApplyInfo> getList();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,4 +18,6 @@ public interface WorkSiteDirectManageService {
|
|||
int saveDirectApplyInfo(DirectApplyInfo directApplyInfos);
|
||||
int saveDirectApplyDetails(DirectApplyDetails directApplyInfos);
|
||||
int refuseDirectApplyInfo(DirectApplyInfo directApplyInfos);
|
||||
|
||||
List<DirectApplyInfo> getList();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,4 +45,9 @@ public class WorkSiteDirectManageImpl implements WorkSiteDirectManageService {
|
|||
public int refuseDirectApplyInfo(DirectApplyInfo directApplyInfos) {
|
||||
return workSiteDirectManageMapper.refuseDirectApplyInfo(directApplyInfos);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DirectApplyInfo> getList() {
|
||||
return workSiteDirectManageMapper.getList();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -98,6 +98,9 @@
|
|||
</update>
|
||||
|
||||
<select id="getUseringData" resultType="com.bonus.sgzb.base.api.domain.SltAgreementInfo">
|
||||
select * from slt_agreement_info where agreement_id = #{agreementId} and status = '0';
|
||||
select * from slt_agreement_info where agreement_id = #{agreementId} and status = '0'
|
||||
</select>
|
||||
<select id="getList" resultType="com.bonus.sgzb.base.api.domain.DirectApplyInfo">
|
||||
select * from direct_apply_info
|
||||
</select>
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue