| | |
| | | public static final String WhGoodsId = "wh_goods_id"; |
| | | public static final String RecordType = "record_type"; |
| | | public static final String TransBusinessId = "trans_business_id"; |
| | | public static final String ProcureModelUserRecordId = "procure_model_user_record_id"; |
| | | public static final String NowUserPhone = "now_user_phone"; |
| | | public static final String NowUserName = "now_user_name"; |
| | | public static final String OperatorId = "operator_id"; |
| | |
| | | } |
| | | if (lGoodsUserRecord.isset_transBusinessId) { |
| | | this.setTransBusinessId(lGoodsUserRecord.getTransBusinessId()); |
| | | } |
| | | if (lGoodsUserRecord.isset_procureModelUserRecordId) { |
| | | this.setProcureModelUserRecordId(lGoodsUserRecord.getProcureModelUserRecordId()); |
| | | } |
| | | if (lGoodsUserRecord.isset_nowUserPhone) { |
| | | this.setNowUserPhone(lGoodsUserRecord.getNowUserPhone()); |
| | |
| | | ib.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); |
| | | ib.set(RecordType, this.getRecordType(), this.isset_recordType); |
| | | ib.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId); |
| | | ib.set(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId); |
| | | ib.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); |
| | | ib.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); |
| | | ib.set(OperatorId, this.getOperatorId(), this.isset_operatorId); |
| | |
| | | ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); |
| | | ub.set(RecordType, this.getRecordType(), this.isset_recordType); |
| | | ub.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId); |
| | | ub.set(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId); |
| | | ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); |
| | | ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); |
| | | ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId); |
| | |
| | | ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); |
| | | ub.set(RecordType, this.getRecordType(), this.isset_recordType); |
| | | ub.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId); |
| | | ub.set(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId); |
| | | ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); |
| | | ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); |
| | | ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId); |
| | |
| | | ub.set(WhGoodsId, this.getWhGoodsId(), this.isset_whGoodsId); |
| | | ub.set(RecordType, this.getRecordType(), this.isset_recordType); |
| | | ub.set(TransBusinessId, this.getTransBusinessId(), this.isset_transBusinessId); |
| | | ub.set(ProcureModelUserRecordId, this.getProcureModelUserRecordId(), this.isset_procureModelUserRecordId); |
| | | ub.set(NowUserPhone, this.getNowUserPhone(), this.isset_nowUserPhone); |
| | | ub.set(NowUserName, this.getNowUserName(), this.isset_nowUserName); |
| | | ub.set(OperatorId, this.getOperatorId(), this.isset_operatorId); |
| | |
| | | */ |
| | | @Override |
| | | public SqlAndParameters<Map<String, Object>> getSelectSql_(String where, Map<String, Object> parameters) { |
| | | return new SqlAndParameters<>("select id, wh_goods_id, record_type, trans_business_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time, last_record from " + this.getTableName_() + " " + where, parameters); |
| | | return new SqlAndParameters<>("select id, wh_goods_id, record_type, trans_business_id, procure_model_user_record_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time, last_record from " + this.getTableName_() + " " + where, parameters); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Override |
| | | public SqlAndParameters<Object[]> getSelectSql_(String where, Object[] parameters) { |
| | | return new SqlAndParameters<>("select id, wh_goods_id, record_type, trans_business_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time, last_record from " + this.getTableName_() + " " + where, parameters); |
| | | return new SqlAndParameters<>("select id, wh_goods_id, record_type, trans_business_id, procure_model_user_record_id, now_user_phone, now_user_name, operator_id, operator_name, deal_time, last_record from " + this.getTableName_() + " " + where, parameters); |
| | | } |
| | | |
| | | /** |
| | |
| | | l_goods_user_record.setTransBusinessId(rs.getLong(columnIndex)); |
| | | } |
| | | } |
| | | columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.ProcureModelUserRecordId); |
| | | if (columnIndex > 0) { |
| | | if (rs.getBigDecimal(columnIndex) == null) { |
| | | l_goods_user_record.setProcureModelUserRecordId(null); |
| | | } else { |
| | | l_goods_user_record.setProcureModelUserRecordId(rs.getLong(columnIndex)); |
| | | } |
| | | } |
| | | columnIndex = resultSetUtils.findColumn(rs, LGoodsUserRecord_mapper.NowUserPhone); |
| | | if (columnIndex > 0) { |
| | | if (rs.getBigDecimal(columnIndex) == null) { |