Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Throws(SQLException::class)
- fun DAL_Start_Open_Order(areacode: String){
- connectionClass = ConnectionClass()
- try {
- val bIsSuccess = DAL_StartOpenOrder(areacode)
- if (!bIsSuccess!!){
- }
- } catch (ex: Exception) {
- throw ex
- }
- }
- @Throws(SQLException::class)
- fun DAL_StartOpenOrder(areacode: Any): Boolean? {
- connectionClass = ConnectionClass()
- var bIsSuccess: Boolean? = false
- val conn = connectionClass.CONN()
- try {
- val stmt = conn!!.createStatement()
- val rs = stmt.executeQuery("exec Sp_Drd_get_Req_apoved_list_by_periodate '" +
- areacode + "'"
- )
- while (rs.next()) {
- val datanum = HashMap<String, String>()
- mOrderStats.add(datanum)
- bIsSuccess = true
- }
- } catch (ex: Exception) {
- throw ex
- }
- return bIsSuccess
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement