This commit is contained in:
DirectionOfMind 2021-01-25 09:27:37 +08:00
parent 0f77df89a4
commit b10514ca66
2 changed files with 4 additions and 2 deletions

View File

@ -209,7 +209,7 @@ public class EquipmentInfoServiceImpl extends ServiceImpl<EquipmentInfoMapper, E
break;
case TRANSFER:
info.setEquipmentState(state);
info.setUser(EquipmentState.TRANSFER.getName());
//info.setUser(EquipmentState.TRANSFER.getName());
equipmentInfoMapper.updateCoverEquipmentInfoById(info);
//出库增加日志操作
addRecord(info,infoDto);

View File

@ -217,10 +217,12 @@
</select>
<select id="listRecord" resultType="com.lz.modules.app.dto.ResultDto">
SELECT @rownum:=@rownum+1 as 'index',b.* 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}
and r.flow_process &lt;4
and r.flow_process &lt; 4
) b
</select>
</mapper>