| | |
| | | import com.walker.jdbc.sqlgen.InsertBuilder; |
| | | import com.walker.jdbc.sqlgen.SelectBuilder; |
| | | import com.walker.jdbc.sqlgen.UpdateBuilder; |
| | | import com.walker.jdbc.util.StringUtils; |
| | | |
| | | import org.springframework.jdbc.core.RowMapper; |
| | | |
| | | import java.sql.ResultSet; |
| | | import java.sql.SQLException; |
| | | import java.util.Map; |
| | | import org.springframework.jdbc.core.RowMapper; |
| | | |
| | | /** |
| | | * 表名:L_WH_FORM_OUTPUT * |
| | |
| | | public static final String DealTime = "deal_time"; |
| | | public static final String States = "states"; |
| | | public static final String Beiz = "beiz"; |
| | | public static final String OutputDoc = "output_doc"; |
| | | |
| | | /** |
| | | * 默认构造函数 |
| | |
| | | if (lWhFormOutput.isset_beiz) { |
| | | this.setBeiz(lWhFormOutput.getBeiz()); |
| | | } |
| | | if (lWhFormOutput.isset_outputDoc) { |
| | | this.setOutputDoc(lWhFormOutput.getOutputDoc()); |
| | | } |
| | | // 去掉,2022-09-07 |
| | | // this.setDatabaseName_(l_wh_form_output.getDatabaseName_()); |
| | | } |
| | |
| | | ib.set(DealTime, this.getDealTime(), this.isset_dealTime); |
| | | ib.set(States, this.getStates(), this.isset_states); |
| | | ib.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ib.set(OutputDoc, this.getOutputDoc(), this.isset_outputDoc); |
| | | return ib.genMapSql(); |
| | | } |
| | | |
| | |
| | | ub.set(DealTime, this.getDealTime(), this.isset_dealTime); |
| | | ub.set(States, this.getStates(), this.isset_states); |
| | | ub.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ub.set(OutputDoc, this.getOutputDoc(), this.isset_outputDoc); |
| | | ub.where(this.getPkName_(), this.getPkValue_()); |
| | | return ub.genMapSql(); |
| | | } |
| | |
| | | ub.set(DealTime, this.getDealTime(), this.isset_dealTime); |
| | | ub.set(States, this.getStates(), this.isset_states); |
| | | ub.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ub.set(OutputDoc, this.getOutputDoc(), this.isset_outputDoc); |
| | | return ub.genMapSql(where, parameters); |
| | | } |
| | | |
| | |
| | | ub.set(DealTime, this.getDealTime(), this.isset_dealTime); |
| | | ub.set(States, this.getStates(), this.isset_states); |
| | | ub.set(Beiz, this.getBeiz(), this.isset_beiz); |
| | | ub.set(OutputDoc, this.getOutputDoc(), this.isset_outputDoc); |
| | | return ub.genArraySql(where, parameters); |
| | | } |
| | | |
| | |
| | | if (columnIndex > 0) { |
| | | l_wh_form_output.setBeiz(rs.getString(columnIndex)); |
| | | } |
| | | columnIndex = resultSetUtils.findColumn(rs, LWhFormOutput_mapper.OutputDoc); |
| | | if (columnIndex > 0) { |
| | | l_wh_form_output.setOutputDoc(rs.getString(columnIndex)); |
| | | } |
| | | return l_wh_form_output; |
| | | } |
| | | } |