案件日志列表功能
This commit is contained in:
+27
@@ -1,12 +1,39 @@
|
|||||||
package com.ruoyi.web.controller.wisdomarbitrate;
|
package com.ruoyi.web.controller.wisdomarbitrate;
|
||||||
|
|
||||||
import com.ruoyi.common.core.controller.BaseController;
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
||||||
|
import com.ruoyi.wisdomarbitrate.domain.CaseLogRecord;
|
||||||
|
import com.ruoyi.wisdomarbitrate.service.ICaseLogRecordService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/caseLogRecord")
|
@RequestMapping("/caseLogRecord")
|
||||||
public class CaseLogRecordController extends BaseController {
|
public class CaseLogRecordController extends BaseController {
|
||||||
|
@Autowired
|
||||||
|
private ICaseLogRecordService caseLogRecordService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询案件日志列表
|
||||||
|
*/
|
||||||
|
@PreAuthorize("@ss.hasPermi('caseLogRecord:list')")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(CaseLogRecord caseLogRecord)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<CaseLogRecord> list = caseLogRecordService.selectCaseLogRecordList(caseLogRecord);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -68,6 +68,41 @@ public class CaseApplication extends BaseEntity {
|
|||||||
/** 仲裁员名称 */
|
/** 仲裁员名称 */
|
||||||
private String arbitratorName;
|
private String arbitratorName;
|
||||||
|
|
||||||
|
/** 案件名称 */
|
||||||
|
private String caseName;
|
||||||
|
|
||||||
|
/** 案件描述 */
|
||||||
|
private String caseDescribe;
|
||||||
|
|
||||||
|
public String getCaseName() {
|
||||||
|
return caseName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCaseName(String caseName) {
|
||||||
|
this.caseName = caseName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCaseDescribe() {
|
||||||
|
return caseDescribe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCaseDescribe(String caseDescribe) {
|
||||||
|
this.caseDescribe = caseDescribe;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCaseResult() {
|
||||||
|
return caseResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCaseResult(String caseResult) {
|
||||||
|
this.caseResult = caseResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
/** 仲裁结果 */
|
||||||
|
private String caseResult;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public String getArbitratorName() {
|
public String getArbitratorName() {
|
||||||
return arbitratorName;
|
return arbitratorName;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
package com.ruoyi.wisdomarbitrate.mapper;
|
package com.ruoyi.wisdomarbitrate.mapper;
|
||||||
|
|
||||||
|
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
||||||
|
import com.ruoyi.wisdomarbitrate.domain.CaseLogRecord;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public interface CaseLogRecordMapper {
|
public interface CaseLogRecordMapper {
|
||||||
|
|
||||||
|
|
||||||
|
List<CaseLogRecord> selectCaseLogRecordList(CaseLogRecord caseLogRecord);
|
||||||
|
|
||||||
|
int insertCaseLogRecord(CaseLogRecord caseLogRecord);
|
||||||
}
|
}
|
||||||
|
|||||||
+11
@@ -1,6 +1,17 @@
|
|||||||
package com.ruoyi.wisdomarbitrate.service;
|
package com.ruoyi.wisdomarbitrate.service;
|
||||||
|
|
||||||
|
import com.ruoyi.wisdomarbitrate.domain.CaseApplication;
|
||||||
|
import com.ruoyi.wisdomarbitrate.domain.CaseLogRecord;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
public interface ICaseLogRecordService {
|
public interface ICaseLogRecordService {
|
||||||
|
|
||||||
|
|
||||||
|
List<CaseLogRecord> selectCaseLogRecordList(CaseLogRecord caseLogRecord);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+15
@@ -1,10 +1,25 @@
|
|||||||
package com.ruoyi.wisdomarbitrate.service.impl;
|
package com.ruoyi.wisdomarbitrate.service.impl;
|
||||||
|
|
||||||
|
import com.ruoyi.wisdomarbitrate.domain.CaseLogRecord;
|
||||||
|
import com.ruoyi.wisdomarbitrate.mapper.CaseLogRecordMapper;
|
||||||
import com.ruoyi.wisdomarbitrate.service.ICaseLogRecordService;
|
import com.ruoyi.wisdomarbitrate.service.ICaseLogRecordService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
@Service
|
@Service
|
||||||
public class CaseLogRecordServiceImpl implements ICaseLogRecordService {
|
public class CaseLogRecordServiceImpl implements ICaseLogRecordService {
|
||||||
|
@Autowired
|
||||||
|
private CaseLogRecordMapper caseLogRecordMapper;
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<CaseLogRecord> selectCaseLogRecordList(CaseLogRecord caseLogRecord) {
|
||||||
|
return caseLogRecordMapper.selectCaseLogRecordList(caseLogRecord);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -126,6 +126,12 @@
|
|||||||
<if test="onlineVideoPerson != null and onlineVideoPerson != ''">online_video_person = #{onlineVideoPerson},</if>
|
<if test="onlineVideoPerson != null and onlineVideoPerson != ''">online_video_person = #{onlineVideoPerson},</if>
|
||||||
|
|
||||||
<if test="contractNumber != null and contractNumber != ''">contract_number = #{contractNumber},</if>
|
<if test="contractNumber != null and contractNumber != ''">contract_number = #{contractNumber},</if>
|
||||||
|
|
||||||
|
<if test="caseName != null and caseName != ''">case_name = #{caseName},</if>
|
||||||
|
<if test="caseDescribe != null and caseDescribe != ''">case_describe = #{caseDescribe},</if>
|
||||||
|
<if test="caseResult != null and caseResult != ''">case_result = #{caseResult},</if>
|
||||||
|
<if test="caseStatus != null">case_status = #{caseStatus},</if>
|
||||||
|
|
||||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||||
update_time = sysdate()
|
update_time = sysdate()
|
||||||
</set>
|
</set>
|
||||||
@@ -139,6 +145,9 @@
|
|||||||
<if test="arbitratorId != null and arbitratorId != ''">arbitrator_id = #{arbitratorId},</if>
|
<if test="arbitratorId != null and arbitratorId != ''">arbitrator_id = #{arbitratorId},</if>
|
||||||
<if test="arbitratorName != null and arbitratorName != ''">arbitrator_name = #{arbitratorName},</if>
|
<if test="arbitratorName != null and arbitratorName != ''">arbitrator_name = #{arbitratorName},</if>
|
||||||
<if test="pendingAppointArbotrar != null ">pending_appoint_arbotrar = #{pendingAppointArbotrar},</if>
|
<if test="pendingAppointArbotrar != null ">pending_appoint_arbotrar = #{pendingAppointArbotrar},</if>
|
||||||
|
<if test="caseName != null and caseName != ''">case_name = #{caseName},</if>
|
||||||
|
<if test="caseDescribe != null and caseDescribe != ''">case_describe = #{caseDescribe},</if>
|
||||||
|
<if test="caseResult != null and caseResult != ''">case_result = #{caseResult},</if>
|
||||||
</set>
|
</set>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
<result property="caseNode" column="case_node" />
|
<result property="caseNode" column="case_node" />
|
||||||
<result property="caseNodeTime" column="case_node_time" />
|
<result property="caseNodeTime" column="case_node_time" />
|
||||||
<result property="notes" column="notes" />
|
<result property="notes" column="notes" />
|
||||||
|
<result property="caseNum" column="case_num" />
|
||||||
|
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
@@ -19,7 +20,7 @@
|
|||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<select id="selectCaseLogRecordList" parameterType="CaseLogRecord" resultMap="CaseLogRecordResult">
|
<select id="selectCaseLogRecordList" parameterType="CaseLogRecord" resultMap="CaseLogRecordResult">
|
||||||
select cl.case_node ,cl.case_node_time ,cl.notes ,c.case_num
|
select cl.case_node ,cl.case_node_time ,cl.notes ,c.case_num ,cl.id ,cl.case_appli_id
|
||||||
from case_log_record cl left join case_application c on cl.case_appli_id = c.id
|
from case_log_record cl left join case_application c on cl.case_appli_id = c.id
|
||||||
<where>
|
<where>
|
||||||
<if test="caseNum != null and caseNum != ''">
|
<if test="caseNum != null and caseNum != ''">
|
||||||
|
|||||||
Reference in New Issue
Block a user