-- 火车票新增抵扣条件
UPDATE T_ER_INVOICETYPE SET
        FISOFFSET='1',
        FUDRDISPLAY='发票日期 大于等于 2019-04-01 并且 (旅客 不为空  或者 身份证 不为空 ) 并且 状态 不等于退票 ',
        FUSERDEFINERULE='{"filterRow":[{"id":"3MTRK+Y/RQV2","leftBracket":"","compareType":"65","fieldName":"invoicedate","rightBracket":"","logic":"0","value":[{"id":"3MTRK+Y/TTMV","value":"2019-04-01"}],"baseDataIds":[]},{"id":"3MTRK+Y/RQV3","leftBracket":"(","compareType":"9","fieldName":"passengername","rightBracket":"","logic":"1","value":[{"id":"3MTRK+Y/TTMW","value":""}],"baseDataIds":[]},{"id":"3MTRK+Y/RQV4","leftBracket":"","compareType":"9","fieldName":"idcard","rightBracket":")","logic":"0","value":[{"id":"3MTRK+Y/TTMX","value":""}],"baseDataIds":[]},{"id":"3MTRK+Y/RQV5","leftBracket":"","compareType":"106","fieldName":"ticketchanges","rightBracket":"","logic":"0","value":[{"id":"3MTRK+Y/TTMY","value":"4"}],"baseDataIds":[]}],"forList":false}',
        FJS='invoicedate >= ''2019-04-01'' && (passengername != '''' ||idcard != '''') && ticketchanges != ''4'' '
 WHERE FID=1327557804365521920;
