问题修改
This commit is contained in:
parent
45d26cf0d4
commit
beb33397a8
|
|
@ -201,7 +201,10 @@
|
||||||
left join ma_machine mm on mm.ma_id = rad.ma_id
|
left join ma_machine mm on mm.ma_id = rad.ma_id
|
||||||
left join sys_user su on rad.repairer = su.user_id
|
left join sys_user su on rad.repairer = su.user_id
|
||||||
LEFT JOIN ma_type mt2 on mt.parent_id = mt2.type_id
|
LEFT JOIN ma_type mt2 on mt.parent_id = mt2.type_id
|
||||||
where rad.task_id = #{taskId} and rad.company_id = #{companyId}
|
where rad.task_id = #{taskId}
|
||||||
|
<if test="companyId != null and companyId != ''">
|
||||||
|
and rad.company_id = #{companyId}
|
||||||
|
</if>
|
||||||
<if test="keyword != null and keyword != ''">
|
<if test="keyword != null and keyword != ''">
|
||||||
AND (locate(#{keyword}, mm.ma_code) > 0
|
AND (locate(#{keyword}, mm.ma_code) > 0
|
||||||
or locate(#{keyword}, su.nick_name) > 0
|
or locate(#{keyword}, su.nick_name) > 0
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,7 @@ public class AgreementInfoController extends BaseController {
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "获取协议管理列表")
|
@ApiOperation(value = "获取协议管理列表")
|
||||||
@GetMapping("/getAgreementInfoAll")
|
@GetMapping("/getAgreementInfoAll")
|
||||||
public TableDataInfo getAgreementInfoAll(AgreementInfo bean)
|
public TableDataInfo getAgreementInfoAll(AgreementInfo bean) {
|
||||||
{
|
|
||||||
startPage();
|
startPage();
|
||||||
List<AgreementInfo> list = agreementInfoService.getAgreementInfoAll(bean);
|
List<AgreementInfo> list = agreementInfoService.getAgreementInfoAll(bean);
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
|
|
|
||||||
|
|
@ -141,7 +141,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
order by sai.start_time desc
|
order by sai.start_time desc
|
||||||
</select>
|
</select>
|
||||||
<select id="getRecordsFour" resultType="com.bonus.sgzb.material.domain.TeamLeaseInfo">
|
<select id="getRecordsFour" resultType="com.bonus.sgzb.material.domain.TeamLeaseInfo">
|
||||||
select tli.team_name as teamName
|
select tli.team_name as teamName,
|
||||||
mt1.type_name AS typeName,
|
mt1.type_name AS typeName,
|
||||||
mt.type_name AS modelName,
|
mt.type_name AS modelName,
|
||||||
tli.num,
|
tli.num,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue