fix
This commit is contained in:
parent
318b7433eb
commit
d08eeb181d
@ -25,10 +25,12 @@ import com.lz.modules.third.utils.TaskConvertUtils;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.shiro.crypto.hash.Sha256Hash;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
@ -217,7 +217,7 @@
|
||||
</select>
|
||||
|
||||
<select id="listRecord" resultType="com.lz.modules.app.dto.ResultDto">
|
||||
SELECT @rownum:=@rownum+1 as 'index',b.* from (select @rownum:=0) a,(
|
||||
SELECT @rownum:=@rownum+1 as 'index',b.id,b.target content,b.process_rate rate from (select @rownum:=0) a,(
|
||||
SELECT d.id,d.target,process_rate from lz_result_record r LEFT JOIN lz_result_detail d
|
||||
on r.id = d.record_id
|
||||
where r.is_delete = 0 and d.is_delete=0 and d.staff_id = #{staffId}
|
||||
|
||||
@ -103,7 +103,7 @@
|
||||
<select id="listResultTask" resultType="com.lz.modules.app.dto.ResultDto">
|
||||
|
||||
select @rownum:=@rownum+1 as 'index',id,name content,process_rate rate from (select @rownum:=0) a, lz_result_task where is_delete=0
|
||||
<if test="detailIds !=null and detailIds!=''">
|
||||
<if test="detailIds !=null">
|
||||
and detail_id in
|
||||
<foreach item="detailId" collection="detailIds" open="(" separator="," close=")">
|
||||
#{detailId}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user