新需求,资质管理下发app签字管理
parent
c5b354b04d
commit
21fa58aec7
|
|
@ -93,6 +93,7 @@ public class OrgEquipmentExecutor implements OrgEquipmentApi {
|
|||
entity.setFieldCalibrationTypeName(cmd.getFieldCalibrationTypeName());
|
||||
entity.setDualChannelFlag(cmd.getDualChannelFlag());
|
||||
entity.setEnableFlag(cmd.getEnableFlag());
|
||||
entity.setEquipmentValue(cmd.getEquipmentValue());
|
||||
|
||||
OrgEquipmentEntity result = orgEquipmentDomainService.modify(entity);
|
||||
return SingleResponse.success(toCO(result));
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
package org.qinan.safetyeval.app.executor;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.jjb.saas.system.client.user.request.UserAddCmd;
|
||||
import com.jjb.saas.system.client.user.request.UserRoleUpdateCmd;
|
||||
import com.jjb.saas.system.client.user.request.UserUpdatePasswordCmd;
|
||||
|
|
@ -361,7 +362,8 @@ public class OrgPersonnelExecutor implements OrgPersonnelApi {
|
|||
|
||||
@Override
|
||||
public SingleResponse<List<OrgPersonnelCO>> getOrgPersonnel() {
|
||||
List<OrgPersonnelDO> orgPersonnelDOS = orgPersonnelMapper.selectList(null);
|
||||
List<OrgPersonnelDO> orgPersonnelDOS = orgPersonnelMapper.selectList(new LambdaQueryWrapper<OrgPersonnelDO>()
|
||||
.eq(OrgPersonnelDO::getOrgId, ThreadLocalUserInfoAdapter.getOrgId()));
|
||||
List<OrgPersonnelCO> orgPersonnelCOS = orgPersonnelDOS.stream().map(item -> {
|
||||
OrgPersonnelCO orgPersonnelCO = new OrgPersonnelCO();
|
||||
BeanUtils.copyProperties(item, orgPersonnelCO);
|
||||
|
|
|
|||
|
|
@ -869,6 +869,7 @@ public class QualFilingOrchestrator {
|
|||
co.setDualChannelFlag(entity.getDualChannelFlag());
|
||||
co.setCalibrationReportUrl(entity.getCalibrationReportUrl());
|
||||
co.setTenantId(entity.getTenantId());
|
||||
co.setEquipmentValue(entity.getEquipmentValue());
|
||||
return co;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ public class OrgEquipmentGatewayImpl implements OrgEquipmentGateway {
|
|||
dataObject.setDualChannelFlag(entity.getDualChannelFlag());
|
||||
dataObject.setEnableFlag(entity.getEnableFlag());
|
||||
dataObject.setTenantId(entity.getTenantId());
|
||||
dataObject.setEquipmentValue(entity.getEquipmentValue());
|
||||
return dataObject;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
<select id="qualificationMonitoringPage" resultMap="QualFilingCOResultMap">
|
||||
select info.credit_code as orgInfoCreditCode, info.unit_name as unitName, filing.* from org_info as info
|
||||
left join qual_filing as filing on info.id = filing.org_id
|
||||
where info.delete_enum = 'false'
|
||||
where info.delete_enum = 'false' and filing.filing_status_code = 1
|
||||
<if test="query.keyword != null">
|
||||
and (info.credit_code like concat('%',#{query.keyword},'%') or info.unit_name like concat('%',#{query.keyword},'%'))
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue