1234567891011121314151617181920212223 |
- #投标文件递交截止时间(投标截止日期)
- class BidendtimeChecker(object):
- def __init__(self):
- self.errors_tables = {
- "0101": {
- "name": "投标截止日期<投标文件递交开始时间",
- "parent_name": "时间有效性异常",
- "parent_code": "01",
- "checkFn": self.check0101
- }
- }
- #招标文件获取开始时间>发布时间
- def check0101(self, toptype:str,bidendtime:int,bidstarttime:int) -> bool:
- """
- return true 代表返回异常
- """
- if toptype == '招标':
- if bidendtime and bidstarttime:
- if bidendtime < bidstarttime:
- return True
- return False
|