Browse Source

todo

master
yinzuomei 3 years ago
parent
commit
cc255e0ab1
  1. 6
      epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcNatCompareRecordServiceImpl.java
  2. 11
      epmet-user/epmet-user-server/src/main/resources/mapper/IcNatCompareRecRelationDao.xml

6
epmet-user/epmet-user-server/src/main/java/com/epmet/service/impl/IcNatCompareRecordServiceImpl.java

@ -261,10 +261,14 @@ public class IcNatCompareRecordServiceImpl extends BaseServiceImpl<IcNatCompareR
origin.setLatestImportTime(importTime);
baseDao.updateById(origin);
IcNatCompareRecRelationEntity existRelationEntity=icNatCompareRecRelationDao.selectExist(data.getCustomerId(),origin.getId(),staffInfo.getAgencyId(),importDate);
if(null!=existRelationEntity){
}else{
}
}
}
}

11
epmet-user/epmet-user-server/src/main/resources/mapper/IcNatCompareRecRelationDao.xml

@ -24,6 +24,15 @@
</resultMap>
<select id="selectExist" parameterType="map" resultType="com.epmet.entity.IcNatCompareRecRelationEntity">
SELECT
r.*
FROM
ic_nat_compare_rec_relation r
WHERE
r.DEL_FLAG = '0'
AND r.CUSTOMER_ID = #{customerId}
AND r.COMPARE_REC_ID = #{compareRecId}
AND r.AGENCY_ID = #{agencyId}
AND r.IMPORT_DATE = #{importDate}
</select>
</mapper>
Loading…
Cancel
Save