提交修改
This commit is contained in:
parent
225e07be09
commit
53dc43c8a5
@ -990,7 +990,7 @@ public class ResultRecordController extends AbstractController {
|
|||||||
/**
|
/**
|
||||||
* 删除
|
* 删除
|
||||||
*/
|
*/
|
||||||
// http://localhost:8080/lz_management/user/lzresultrecord/new/resultRecordDetail?resultRecordId=267&loginUserId=313
|
// http://localhost:8080/lz_management/user/lzresultrecord/new/resultRecordDetail?resultRecordId=322&loginUserId=313
|
||||||
@RequestMapping("/new/resultRecordDetail")
|
@RequestMapping("/new/resultRecordDetail")
|
||||||
public R newResultRecordList(RecordDetailDto recordDetailDto) {
|
public R newResultRecordList(RecordDetailDto recordDetailDto) {
|
||||||
if(recordDetailDto.getLoginUserId() ==null && getUser() !=null ){
|
if(recordDetailDto.getLoginUserId() ==null && getUser() !=null ){
|
||||||
|
|||||||
@ -1119,6 +1119,9 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
|
|||||||
List<FlowRecord> currentResultRecords = flowRecordService.selectFlowRecordByRecordIdStatus(recordDetailDto.getResultRecordId(),2);
|
List<FlowRecord> currentResultRecords = flowRecordService.selectFlowRecordByRecordIdStatus(recordDetailDto.getResultRecordId(),2);
|
||||||
if(currentResultRecords !=null && currentResultRecords.size() > 0 ){
|
if(currentResultRecords !=null && currentResultRecords.size() > 0 ){
|
||||||
FlowRecord currentResultRecord = null;
|
FlowRecord currentResultRecord = null;
|
||||||
|
if(currentResultRecords.size() == 1 ){
|
||||||
|
recordDetailDto.setLoginUserId(currentResultRecords.get(0).getApprovalStaffId());
|
||||||
|
}
|
||||||
for(FlowRecord flowRecord:currentResultRecords){
|
for(FlowRecord flowRecord:currentResultRecords){
|
||||||
if(flowRecord.getApprovalStaffId().equals(recordDetailDto.getLoginUserId())){
|
if(flowRecord.getApprovalStaffId().equals(recordDetailDto.getLoginUserId())){
|
||||||
currentResultRecord = flowRecord;
|
currentResultRecord = flowRecord;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user