yankun 8 bulan lalu
induk
melakukan
1319f5ba27
100 mengubah file dengan 6148 tambahan dan 6089 penghapusan
  1. 8 8
      .idea/.gitignore
  2. 5 5
      .idea/JavaSceneConfigState.xml
  3. 7 7
      .idea/modules.xml
  4. 5 5
      .idea/vcs.xml
  5. 12 8
      .idea/youngee_mc_api.iml
  6. 26 26
      Dockerfile
  7. 28 28
      apiclient_key.pem
  8. 56 1
      app/api/youngee_talent_api/talent_auth_get_api.go
  9. 23 23
      app/dao/bobocoin_deduct_record.go
  10. 23 23
      app/dao/bobocoin_income_record.go
  11. 23 23
      app/dao/bobocoin_withdrawal_record.go
  12. 23 23
      app/dao/brand.go
  13. 24 24
      app/dao/enterprise.go
  14. 24 24
      app/dao/enterprise_pay_record.go
  15. 23 23
      app/dao/expert.go
  16. 24 24
      app/dao/info_auto_default_handle.go
  17. 24 24
      app/dao/info_auto_task.go
  18. 28 28
      app/dao/info_bank.go
  19. 24 24
      app/dao/info_message.go
  20. 24 24
      app/dao/info_pricing_strategy.go
  21. 23 23
      app/dao/info_product_classify.go
  22. 24 24
      app/dao/info_product_type.go
  23. 23 23
      app/dao/info_region.go
  24. 24 24
      app/dao/info_sectask_stage.go
  25. 23 23
      app/dao/info_talent_age_bracket.go
  26. 23 23
      app/dao/info_talent_skilled_area.go
  27. 23 23
      app/dao/info_talent_skin_type.go
  28. 24 24
      app/dao/info_task_stage.go
  29. 23 23
      app/dao/info_third_platform.go
  30. 24 24
      app/dao/info_youngee_strategy.go
  31. 73 73
      app/dao/internal/bobocoin_deduct_record.go
  32. 69 69
      app/dao/internal/bobocoin_income_record.go
  33. 75 75
      app/dao/internal/bobocoin_withdrawal_record.go
  34. 77 77
      app/dao/internal/brand.go
  35. 79 79
      app/dao/internal/enterprise.go
  36. 71 71
      app/dao/internal/enterprise_pay_record.go
  37. 68 68
      app/dao/internal/expert.go
  38. 89 89
      app/dao/internal/info_auto_default_handle.go
  39. 83 83
      app/dao/internal/info_auto_task.go
  40. 59 59
      app/dao/internal/info_bank.go
  41. 59 59
      app/dao/internal/info_message.go
  42. 83 83
      app/dao/internal/info_pricing_strategy.go
  43. 59 59
      app/dao/internal/info_product_classify.go
  44. 59 59
      app/dao/internal/info_product_type.go
  45. 65 65
      app/dao/internal/info_region.go
  46. 59 59
      app/dao/internal/info_sectask_stage.go
  47. 59 59
      app/dao/internal/info_talent_age_bracket.go
  48. 59 59
      app/dao/internal/info_talent_skilled_area.go
  49. 59 59
      app/dao/internal/info_talent_skin_type.go
  50. 59 59
      app/dao/internal/info_task_stage.go
  51. 63 63
      app/dao/internal/info_third_platform.go
  52. 77 77
      app/dao/internal/info_youngee_strategy.go
  53. 63 63
      app/dao/internal/order_answer.go
  54. 69 69
      app/dao/internal/order_article_review.go
  55. 74 74
      app/dao/internal/order_data_quality.go
  56. 77 77
      app/dao/internal/order_data_review.go
  57. 79 79
      app/dao/internal/order_delivery_info.go
  58. 69 69
      app/dao/internal/order_draft_review.go
  59. 95 95
      app/dao/internal/order_info.go
  60. 71 71
      app/dao/internal/order_link_quality.go
  61. 71 71
      app/dao/internal/order_status_record.go
  62. 95 95
      app/dao/internal/platform_bilibili_account_info.go
  63. 97 97
      app/dao/internal/platform_dianping_account_info.go
  64. 99 99
      app/dao/internal/platform_kuaishou_account_info.go
  65. 103 103
      app/dao/internal/platform_little_red_book_account_info.go
  66. 105 105
      app/dao/internal/platform_tiktok_account_info.go
  67. 101 101
      app/dao/internal/platform_weibo_account_info.go
  68. 101 101
      app/dao/internal/platform_zhihu_account_info.go
  69. 75 75
      app/dao/internal/product.go
  70. 71 71
      app/dao/internal/product_photo.go
  71. 121 121
      app/dao/internal/project_info.go
  72. 67 67
      app/dao/internal/project_photo.go
  73. 63 63
      app/dao/internal/r_order_compelete_stage_to_type.go
  74. 85 85
      app/dao/internal/r_talent_platform_table.go
  75. 101 101
      app/dao/internal/recruit_strategy.go
  76. 69 69
      app/dao/internal/talent_delivery_address.go
  77. 93 93
      app/dao/internal/talent_info.go
  78. 64 64
      app/dao/internal/talent_pay_account_info.go
  79. 89 89
      app/dao/internal/task_base_info.go
  80. 77 77
      app/dao/internal/task_perform_help_info.go
  81. 67 67
      app/dao/internal/task_procedure_article_info.go
  82. 69 69
      app/dao/internal/task_procedure_buy_samples_info.go
  83. 93 93
      app/dao/internal/task_procedure_decision_condition.go
  84. 67 67
      app/dao/internal/task_procedure_draft_info.go
  85. 79 79
      app/dao/internal/task_procedure_quality_data_test_info.go
  86. 69 69
      app/dao/internal/task_recruit_requirements.go
  87. 67 67
      app/dao/internal/task_recruit_talent_level.go
  88. 69 69
      app/dao/internal/task_reward.go
  89. 72 72
      app/dao/internal/task_signup_info.go
  90. 79 79
      app/dao/internal/user.go
  91. 99 99
      app/dao/internal/workflow_node_container.go
  92. 97 97
      app/dao/internal/workflow_node_template.go
  93. 83 83
      app/dao/internal/wx_pay_order.go
  94. 73 73
      app/dao/internal/youngee_contract_info.go
  95. 69 69
      app/dao/internal/youngee_contract_set.go
  96. 81 81
      app/dao/internal/youngee_platform_account_info.go
  97. 69 69
      app/dao/internal/youngee_talent_delivery_address.go
  98. 107 107
      app/dao/internal/youngee_talent_info.go
  99. 139 139
      app/dao/internal/youngee_task_info.go
  100. 85 85
      app/dao/internal/youngee_task_logistics.go

+ 8 - 8
.idea/.gitignore

@@ -1,8 +1,8 @@
-# Default ignored files
-/shelf/
-/workspace.xml
-# Editor-based HTTP Client requests
-/httpRequests/
-# Datasource local storage ignored files
-/dataSources/
-/dataSources.local.xml
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml

+ 5 - 5
.idea/JavaSceneConfigState.xml

@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="SmartInputSourceJavaSceneConfigState">
-    <option name="customChineseScenes" value="{&quot;capsLockState&quot;:false,&quot;code&quot;:&quot;;Printf(format);TalentHttpResult(Msg);panic(v);ListSecTaskTabRes(Msg)&quot;,&quot;enable&quot;:true,&quot;languageType&quot;:&quot;CHINESE&quot;,&quot;name&quot;:&quot;自定义中文切换&quot;,&quot;tip&quot;:&quot;&quot;}" />
-  </component>
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="SmartInputSourceJavaSceneConfigState">
+    <option name="customChineseScenes" value="{&quot;capsLockState&quot;:false,&quot;code&quot;:&quot;;Printf(format);TalentHttpResult(Msg);panic(v);ListSecTaskTabRes(Msg)&quot;,&quot;enable&quot;:true,&quot;languageType&quot;:&quot;CHINESE&quot;,&quot;name&quot;:&quot;自定义中文切换&quot;,&quot;tip&quot;:&quot;&quot;}" />
+  </component>
 </project>

+ 7 - 7
.idea/modules.xml

@@ -1,8 +1,8 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/.idea/youngee_mc_api.iml" filepath="$PROJECT_DIR$/.idea/youngee_mc_api.iml" />
-    </modules>
-  </component>
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/youngee_mc_api.iml" filepath="$PROJECT_DIR$/.idea/youngee_mc_api.iml" />
+    </modules>
+  </component>
 </project>

+ 5 - 5
.idea/vcs.xml

@@ -1,6 +1,6 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="VcsDirectoryMappings">
-    <mapping directory="" vcs="Git" />
-  </component>
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="Git" />
+  </component>
 </project>

+ 12 - 8
.idea/youngee_mc_api.iml

@@ -1,9 +1,13 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="WEB_MODULE" version="4">
-  <component name="Go" enabled="true" />
-  <component name="NewModuleRootManager">
-    <content url="file://$MODULE_DIR$" />
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-  </component>
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="Go" enabled="true">
+    <buildTags>
+      <option name="goVersion" value="1.21" />
+    </buildTags>
+  </component>
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
 </module>

+ 26 - 26
Dockerfile

@@ -1,26 +1,26 @@
-FROM loads/alpine:3.8
-
-LABEL maintainer="john@goframe.org"
-
-###############################################################################
-#                                INSTALLATION
-###############################################################################
-
-# 设置固定的项目路径
-ENV WORKDIR /var/www/youngmini_server
-
-# 添加应用可执行文件,并设置执行权限
-ADD ./bin/linux_amd64/main   $WORKDIR/main
-RUN chmod +x $WORKDIR/main
-
-# 添加I18N多语言文件、静态文件、配置文件、模板文件
-ADD i18n     $WORKDIR/i18n
-ADD public   $WORKDIR/public
-ADD config   $WORKDIR/config
-ADD template $WORKDIR/template
-
-###############################################################################
-#                                   START
-###############################################################################
-WORKDIR $WORKDIR
-CMD ./main
+FROM loads/alpine:3.8
+
+LABEL maintainer="john@goframe.org"
+
+###############################################################################
+#                                INSTALLATION
+###############################################################################
+
+# 设置固定的项目路径
+ENV WORKDIR /var/www/youngmini_server
+
+# 添加应用可执行文件,并设置执行权限
+ADD ./bin/linux_amd64/main   $WORKDIR/main
+RUN chmod +x $WORKDIR/main
+
+# 添加I18N多语言文件、静态文件、配置文件、模板文件
+ADD i18n     $WORKDIR/i18n
+ADD public   $WORKDIR/public
+ADD config   $WORKDIR/config
+ADD template $WORKDIR/template
+
+###############################################################################
+#                                   START
+###############################################################################
+WORKDIR $WORKDIR
+CMD ./main

+ 28 - 28
apiclient_key.pem

@@ -1,28 +1,28 @@
------BEGIN PRIVATE KEY-----
-MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDiS0mOMU85JaH1
-nRsOU57TfKP+3ma7TiEe2jQNHhF1UUW8i1+Hc1NeLe7dh29J5aEa/isu0RG2LHjY
-P73dzPkarAdhmW3ETsbBVazUw7RfhbPawR6EjBArRAojqHLXdSTFeDM6LtmwbWD2
-JEjiBKyTMtsbnap4ubLhR03huPn8V20Hbq3Zg+U8T4XtnK7jrac2SqkuybKheRX8
-OzaefU/nYbxKwyTqKCanAs96ZTFuEceW9Utoa4jb4bqdVVhbc2P5gyyssKfYkfDj
-Pdr2X3vg11qq7bhjQ+xLgUiWwXlqnKY0eHxvx0Zdh5PWdh0oYZtbuHrkPPJaf4zu
-Zkre9VnXAgMBAAECggEASPlaWP5Ru+4E0n29UdtpZm3VPMVff5tsVtSq4GgH3Ts+
-L9UKE1X/Vmmdk9au7recQmYgatKE0ah5t9KmWbZVxmIfZzvhB+MXeRU1zM7nhb5K
-B4srWjcIp8sjMeiKUCy4lO10J5kgHiLHl9iPoEM9m6JUwg0QAipwIvGpjdbm1paH
-esqCyZ2+fyTypO1mkpPOOB6caGwePE0Ppd/U5woPKPS0H5JnBdKPWBh/XYkBigOl
-fMRjJg9BDGPjxI1Rt+F6S359fgfXZJV1m74YVL9HxgfKi+WHdDTtj0094NBqizCg
-goeLZbz6aWYbOBmpFHrK8F2i/pYU658KLCtjjpvnQQKBgQD6JJGRqqF1OLVsjJ+E
-+8ts8IdC+OBYY9YHgLw5D2aFUrtJre9Fiktj0hupXPm+01kmc+5OupR3O/L8jhM6
-+NTe3fmIzNLk72GeZsiWFrZCN0fKjts421wwyhBrqW/qZN66a1kYA7fvr0ToRjL1
-jLhTqu0a8BGRyaxbqlebo/5FkQKBgQDnl8MYmJoYpJ36WK3Bd1j/9eczDmRXf4RW
-kZjIOeXBN4zHZsvlFtMtcaZAw3Z1KPbM4ncuKwl+pc7oNUfOAU/IOiBEiZR7zSYG
-D8g+UoXfZzv5mFQQBSagfY4Q0bigG1Zt/QPMoN5setiG6BJ+bwN7WfXNjRjyaXtZ
-ovUUniFU5wKBgQDrvu0mcL6MIG7zp7Brf3bf6+w+lRmylBzRo2VBDZ+chTUXooJ/
-cm/M2ubQ/lwtmThLAjWVI0jq+qftl+TNzleo12DmqcsUkfrZc5sVwL/ytfDGGU7I
-TgybusQxA1YDfR9gZ+1msZJ3pSJ3GjnKq93IlK2zlo+oa34yQd8hQzRP0QKBgQDQ
-5TkbNHq6g7HjoJ2KBocGyd2zVeX4bpMGKuouoNq2v86CBh0gFMiDEyItBKIS59JF
-2Hg78qHr1M+e8IBGNzSpnJSCfb6rNM55ZT7vyCvs6QdWCaq5kIvY86dzUFhCQqZh
-K3mD2A8Itn4cobQcyzHOz8RBlmXMMo0Ku0xpPoE+PQKBgEFcy2wvv/saKJ+3t2Cw
-4ckwskhsQ2CizlAlTCNmBzou+IYfcg3VxS7P0EA/ViUXHTOx1pjhS977FLqJxe08
-FU7a3mIzzehJA0VnsZC6lzCqSRxdE4bcEs9Opw+sJS7abJKRU2QeZSJEChqAMUhJ
-3oP15BVjOfW79TL/hp8fRZAt
------END PRIVATE KEY-----
+-----BEGIN PRIVATE KEY-----
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDiS0mOMU85JaH1
+nRsOU57TfKP+3ma7TiEe2jQNHhF1UUW8i1+Hc1NeLe7dh29J5aEa/isu0RG2LHjY
+P73dzPkarAdhmW3ETsbBVazUw7RfhbPawR6EjBArRAojqHLXdSTFeDM6LtmwbWD2
+JEjiBKyTMtsbnap4ubLhR03huPn8V20Hbq3Zg+U8T4XtnK7jrac2SqkuybKheRX8
+OzaefU/nYbxKwyTqKCanAs96ZTFuEceW9Utoa4jb4bqdVVhbc2P5gyyssKfYkfDj
+Pdr2X3vg11qq7bhjQ+xLgUiWwXlqnKY0eHxvx0Zdh5PWdh0oYZtbuHrkPPJaf4zu
+Zkre9VnXAgMBAAECggEASPlaWP5Ru+4E0n29UdtpZm3VPMVff5tsVtSq4GgH3Ts+
+L9UKE1X/Vmmdk9au7recQmYgatKE0ah5t9KmWbZVxmIfZzvhB+MXeRU1zM7nhb5K
+B4srWjcIp8sjMeiKUCy4lO10J5kgHiLHl9iPoEM9m6JUwg0QAipwIvGpjdbm1paH
+esqCyZ2+fyTypO1mkpPOOB6caGwePE0Ppd/U5woPKPS0H5JnBdKPWBh/XYkBigOl
+fMRjJg9BDGPjxI1Rt+F6S359fgfXZJV1m74YVL9HxgfKi+WHdDTtj0094NBqizCg
+goeLZbz6aWYbOBmpFHrK8F2i/pYU658KLCtjjpvnQQKBgQD6JJGRqqF1OLVsjJ+E
++8ts8IdC+OBYY9YHgLw5D2aFUrtJre9Fiktj0hupXPm+01kmc+5OupR3O/L8jhM6
++NTe3fmIzNLk72GeZsiWFrZCN0fKjts421wwyhBrqW/qZN66a1kYA7fvr0ToRjL1
+jLhTqu0a8BGRyaxbqlebo/5FkQKBgQDnl8MYmJoYpJ36WK3Bd1j/9eczDmRXf4RW
+kZjIOeXBN4zHZsvlFtMtcaZAw3Z1KPbM4ncuKwl+pc7oNUfOAU/IOiBEiZR7zSYG
+D8g+UoXfZzv5mFQQBSagfY4Q0bigG1Zt/QPMoN5setiG6BJ+bwN7WfXNjRjyaXtZ
+ovUUniFU5wKBgQDrvu0mcL6MIG7zp7Brf3bf6+w+lRmylBzRo2VBDZ+chTUXooJ/
+cm/M2ubQ/lwtmThLAjWVI0jq+qftl+TNzleo12DmqcsUkfrZc5sVwL/ytfDGGU7I
+TgybusQxA1YDfR9gZ+1msZJ3pSJ3GjnKq93IlK2zlo+oa34yQd8hQzRP0QKBgQDQ
+5TkbNHq6g7HjoJ2KBocGyd2zVeX4bpMGKuouoNq2v86CBh0gFMiDEyItBKIS59JF
+2Hg78qHr1M+e8IBGNzSpnJSCfb6rNM55ZT7vyCvs6QdWCaq5kIvY86dzUFhCQqZh
+K3mD2A8Itn4cobQcyzHOz8RBlmXMMo0Ku0xpPoE+PQKBgEFcy2wvv/saKJ+3t2Cw
+4ckwskhsQ2CizlAlTCNmBzou+IYfcg3VxS7P0EA/ViUXHTOx1pjhS977FLqJxe08
+FU7a3mIzzehJA0VnsZC6lzCqSRxdE4bcEs9Opw+sJS7abJKRU2QeZSJEChqAMUhJ
+3oP15BVjOfW79TL/hp8fRZAt
+-----END PRIVATE KEY-----

+ 56 - 1
app/api/youngee_talent_api/talent_auth_get_api.go

@@ -86,7 +86,7 @@ func (*talentAuthGetApi) GetTalentAccountKuaishou(r *ghttp.Request) {
 	}
 }
 
-// 达人抖音授权二维码展示
+// 达人授权二维码展示
 func (*talentAuthGetApi) DisplayQrcode(r *ghttp.Request) {
 	res := youngee_talent_service.GetQrcode(r)
 	err := r.Response.WriteJson(res)
@@ -140,6 +140,61 @@ func (*talentAuthGetApi) QuerySalesFor90Days(r *ghttp.Request) {
 		panic("write response error")
 	}
 }
+
+// 查询快手总作品数
+func (*talentAuthGetApi) VideoCount(r *ghttp.Request) {
+	res := youngee_talent_service.VideoCount(r)
+	err := r.Response.WriteJson(res)
+	if err != nil {
+		panic("write response error")
+	}
+}
+
+// 查询快手总点赞数
+func (*talentAuthGetApi) LikeCount(r *ghttp.Request) {
+	res := youngee_talent_service.LikeCount(r)
+	err := r.Response.WriteJson(res)
+	if err != nil {
+		panic("write response error")
+	}
+}
+
+// 抖音总点赞数
+func (*talentAuthGetApi) DyVideoCount(r *ghttp.Request) {
+	res := youngee_talent_service.DyVideoCount(r)
+	err := r.Response.WriteJson(res)
+	if err != nil {
+		panic("write response error")
+	}
+}
+
+// 查询抖音总点赞数
+func (*talentAuthGetApi) DyLikeCount(r *ghttp.Request) {
+	res := youngee_talent_service.DyLikeCount(r)
+	err := r.Response.WriteJson(res)
+	if err != nil {
+		panic("write response error")
+	}
+}
+
+// 获取用户快手平台账号列表
+func (*talentAuthGetApi) GetKuaishouList(r *ghttp.Request) {
+	res := youngee_talent_service.GetKuaishouList(r)
+	err := r.Response.WriteJson(res)
+	if err != nil {
+		panic("write response error")
+	}
+}
+
+// 获取快手平台账号列表(标记条件不满足的)
+func (*talentAuthGetApi) GetKuaishouListWithCondition(r *ghttp.Request) {
+	res := youngee_talent_service.GetKuaishouListWithCondition(r)
+	err := r.Response.WriteJson(res)
+	if err != nil {
+		panic("write response error")
+	}
+}
+
 func (*talentAuthGetApi) CheckTokenExp(r *ghttp.Request) {
 	res := youngee_talent_service.CheckTokenExp(r)
 	err := r.Response.WriteJson(res)

+ 23 - 23
app/dao/bobocoin_deduct_record.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// bobocoinDeductRecordDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type bobocoinDeductRecordDao struct {
-	*internal.BobocoinDeductRecordDao
-}
-
-var (
-	// BobocoinDeductRecord is globally public accessible object for table bobocoin_deduct_record operations.
-	BobocoinDeductRecord = bobocoinDeductRecordDao{
-		internal.NewBobocoinDeductRecordDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// bobocoinDeductRecordDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type bobocoinDeductRecordDao struct {
+	*internal.BobocoinDeductRecordDao
+}
+
+var (
+	// BobocoinDeductRecord is globally public accessible object for table bobocoin_deduct_record operations.
+	BobocoinDeductRecord = bobocoinDeductRecordDao{
+		internal.NewBobocoinDeductRecordDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 23 - 23
app/dao/bobocoin_income_record.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// bobocoinIncomeRecordDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type bobocoinIncomeRecordDao struct {
-	*internal.BobocoinIncomeRecordDao
-}
-
-var (
-	// BobocoinIncomeRecord is globally public accessible object for table bobocoin_income_record operations.
-	BobocoinIncomeRecord = bobocoinIncomeRecordDao{
-		internal.NewBobocoinIncomeRecordDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// bobocoinIncomeRecordDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type bobocoinIncomeRecordDao struct {
+	*internal.BobocoinIncomeRecordDao
+}
+
+var (
+	// BobocoinIncomeRecord is globally public accessible object for table bobocoin_income_record operations.
+	BobocoinIncomeRecord = bobocoinIncomeRecordDao{
+		internal.NewBobocoinIncomeRecordDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 23 - 23
app/dao/bobocoin_withdrawal_record.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// bobocoinWithdrawalRecordDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type bobocoinWithdrawalRecordDao struct {
-	*internal.BobocoinWithdrawalRecordDao
-}
-
-var (
-	// BobocoinWithdrawalRecord is globally public accessible object for table bobocoin_withdrawal_record operations.
-	BobocoinWithdrawalRecord = bobocoinWithdrawalRecordDao{
-		internal.NewBobocoinWithdrawalRecordDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// bobocoinWithdrawalRecordDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type bobocoinWithdrawalRecordDao struct {
+	*internal.BobocoinWithdrawalRecordDao
+}
+
+var (
+	// BobocoinWithdrawalRecord is globally public accessible object for table bobocoin_withdrawal_record operations.
+	BobocoinWithdrawalRecord = bobocoinWithdrawalRecordDao{
+		internal.NewBobocoinWithdrawalRecordDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 23 - 23
app/dao/brand.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// brandDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type brandDao struct {
-	*internal.BrandDao
-}
-
-var (
-	// Brand is globally public accessible object for table brand operations.
-	Brand = brandDao{
-		internal.NewBrandDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// brandDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type brandDao struct {
+	*internal.BrandDao
+}
+
+var (
+	// Brand is globally public accessible object for table brand operations.
+	Brand = brandDao{
+		internal.NewBrandDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 24 - 24
app/dao/enterprise.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// enterpriseDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type enterpriseDao struct {
-	*internal.EnterpriseDao
-}
-
-var (
-	// Enterprise is globally public accessible object for table enterprise operations.
-	Enterprise = enterpriseDao{
-		internal.NewEnterpriseDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// enterpriseDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type enterpriseDao struct {
+	*internal.EnterpriseDao
+}
+
+var (
+	// Enterprise is globally public accessible object for table enterprise operations.
+	Enterprise = enterpriseDao{
+		internal.NewEnterpriseDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 24 - 24
app/dao/enterprise_pay_record.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// enterprisePayRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type enterprisePayRecordDao struct {
-	*internal.EnterprisePayRecordDao
-}
-
-var (
-	// EnterprisePayRecord is globally public accessible object for table enterprise_pay_record operations.
-	EnterprisePayRecord = enterprisePayRecordDao{
-		internal.NewEnterprisePayRecordDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// enterprisePayRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type enterprisePayRecordDao struct {
+	*internal.EnterprisePayRecordDao
+}
+
+var (
+	// EnterprisePayRecord is globally public accessible object for table enterprise_pay_record operations.
+	EnterprisePayRecord = enterprisePayRecordDao{
+		internal.NewEnterprisePayRecordDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 23 - 23
app/dao/expert.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// expertDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type expertDao struct {
-	*internal.ExpertDao
-}
-
-var (
-	// Expert is globally public accessible object for table expert operations.
-	Expert = expertDao{
-		internal.NewExpertDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// expertDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type expertDao struct {
+	*internal.ExpertDao
+}
+
+var (
+	// Expert is globally public accessible object for table expert operations.
+	Expert = expertDao{
+		internal.NewExpertDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 24 - 24
app/dao/info_auto_default_handle.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoAutoDefaultHandleDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoAutoDefaultHandleDao struct {
-	*internal.InfoAutoDefaultHandleDao
-}
-
-var (
-	// InfoAutoDefaultHandle is globally public accessible object for table info_auto_default_handle operations.
-	InfoAutoDefaultHandle = infoAutoDefaultHandleDao{
-		internal.NewInfoAutoDefaultHandleDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoAutoDefaultHandleDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoAutoDefaultHandleDao struct {
+	*internal.InfoAutoDefaultHandleDao
+}
+
+var (
+	// InfoAutoDefaultHandle is globally public accessible object for table info_auto_default_handle operations.
+	InfoAutoDefaultHandle = infoAutoDefaultHandleDao{
+		internal.NewInfoAutoDefaultHandleDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 24 - 24
app/dao/info_auto_task.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoAutoTaskDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoAutoTaskDao struct {
-	*internal.InfoAutoTaskDao
-}
-
-var (
-	// InfoAutoTask is globally public accessible object for table info_auto_task operations.
-	InfoAutoTask = infoAutoTaskDao{
-		internal.NewInfoAutoTaskDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoAutoTaskDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoAutoTaskDao struct {
+	*internal.InfoAutoTaskDao
+}
+
+var (
+	// InfoAutoTask is globally public accessible object for table info_auto_task operations.
+	InfoAutoTask = infoAutoTaskDao{
+		internal.NewInfoAutoTaskDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 28 - 28
app/dao/info_bank.go

@@ -1,28 +1,28 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoBankDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoBankDao struct {
-	*internal.InfoBankDao
-}
-
-var (
-	// InfoBank is globally public accessible object for table info_bank operations.
-	InfoBank infoBankDao
-)
-
-func init() {
-	InfoBank = infoBankDao{
-		internal.NewInfoBankDao(),
-	}
-}
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoBankDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoBankDao struct {
+	*internal.InfoBankDao
+}
+
+var (
+	// InfoBank is globally public accessible object for table info_bank operations.
+	InfoBank infoBankDao
+)
+
+func init() {
+	InfoBank = infoBankDao{
+		internal.NewInfoBankDao(),
+	}
+}
+
+// Fill with you ideas below.

+ 24 - 24
app/dao/info_message.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoMessageDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoMessageDao struct {
-	*internal.InfoMessageDao
-}
-
-var (
-	// InfoMessage is globally public accessible object for table info_message operations.
-	InfoMessage = infoMessageDao{
-		internal.NewInfoMessageDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoMessageDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoMessageDao struct {
+	*internal.InfoMessageDao
+}
+
+var (
+	// InfoMessage is globally public accessible object for table info_message operations.
+	InfoMessage = infoMessageDao{
+		internal.NewInfoMessageDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 24 - 24
app/dao/info_pricing_strategy.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoPricingStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoPricingStrategyDao struct {
-	*internal.InfoPricingStrategyDao
-}
-
-var (
-	// InfoPricingStrategy is globally public accessible object for table info_pricing_strategy operations.
-	InfoPricingStrategy = infoPricingStrategyDao{
-		internal.NewInfoPricingStrategyDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoPricingStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoPricingStrategyDao struct {
+	*internal.InfoPricingStrategyDao
+}
+
+var (
+	// InfoPricingStrategy is globally public accessible object for table info_pricing_strategy operations.
+	InfoPricingStrategy = infoPricingStrategyDao{
+		internal.NewInfoPricingStrategyDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 23 - 23
app/dao/info_product_classify.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoProductClassifyDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type infoProductClassifyDao struct {
-	*internal.InfoProductClassifyDao
-}
-
-var (
-	// InfoProductClassify is globally public accessible object for table info_product_classify operations.
-	InfoProductClassify = infoProductClassifyDao{
-		internal.NewInfoProductClassifyDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoProductClassifyDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type infoProductClassifyDao struct {
+	*internal.InfoProductClassifyDao
+}
+
+var (
+	// InfoProductClassify is globally public accessible object for table info_product_classify operations.
+	InfoProductClassify = infoProductClassifyDao{
+		internal.NewInfoProductClassifyDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 24 - 24
app/dao/info_product_type.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoProductTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoProductTypeDao struct {
-	*internal.InfoProductTypeDao
-}
-
-var (
-	// InfoProductType is globally public accessible object for table info_product_type operations.
-	InfoProductType = infoProductTypeDao{
-		internal.NewInfoProductTypeDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoProductTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoProductTypeDao struct {
+	*internal.InfoProductTypeDao
+}
+
+var (
+	// InfoProductType is globally public accessible object for table info_product_type operations.
+	InfoProductType = infoProductTypeDao{
+		internal.NewInfoProductTypeDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 23 - 23
app/dao/info_region.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoRegionDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type infoRegionDao struct {
-	*internal.InfoRegionDao
-}
-
-var (
-	// InfoRegion is globally public accessible object for table info_region operations.
-	InfoRegion = infoRegionDao{
-		internal.NewInfoRegionDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoRegionDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type infoRegionDao struct {
+	*internal.InfoRegionDao
+}
+
+var (
+	// InfoRegion is globally public accessible object for table info_region operations.
+	InfoRegion = infoRegionDao{
+		internal.NewInfoRegionDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 24 - 24
app/dao/info_sectask_stage.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoSectaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoSectaskStageDao struct {
-	*internal.InfoSectaskStageDao
-}
-
-var (
-	// InfoSectaskStage is globally public accessible object for table info_sectask_stage operations.
-	InfoSectaskStage = infoSectaskStageDao{
-		internal.NewInfoSectaskStageDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoSectaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoSectaskStageDao struct {
+	*internal.InfoSectaskStageDao
+}
+
+var (
+	// InfoSectaskStage is globally public accessible object for table info_sectask_stage operations.
+	InfoSectaskStage = infoSectaskStageDao{
+		internal.NewInfoSectaskStageDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 23 - 23
app/dao/info_talent_age_bracket.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoTalentAgeBracketDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type infoTalentAgeBracketDao struct {
-	*internal.InfoTalentAgeBracketDao
-}
-
-var (
-	// InfoTalentAgeBracket is globally public accessible object for table info_talent_age_bracket operations.
-	InfoTalentAgeBracket = infoTalentAgeBracketDao{
-		internal.NewInfoTalentAgeBracketDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoTalentAgeBracketDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type infoTalentAgeBracketDao struct {
+	*internal.InfoTalentAgeBracketDao
+}
+
+var (
+	// InfoTalentAgeBracket is globally public accessible object for table info_talent_age_bracket operations.
+	InfoTalentAgeBracket = infoTalentAgeBracketDao{
+		internal.NewInfoTalentAgeBracketDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 23 - 23
app/dao/info_talent_skilled_area.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoTalentSkilledAreaDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type infoTalentSkilledAreaDao struct {
-	*internal.InfoTalentSkilledAreaDao
-}
-
-var (
-	// InfoTalentSkilledArea is globally public accessible object for table info_talent_skilled_area operations.
-	InfoTalentSkilledArea = infoTalentSkilledAreaDao{
-		internal.NewInfoTalentSkilledAreaDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoTalentSkilledAreaDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type infoTalentSkilledAreaDao struct {
+	*internal.InfoTalentSkilledAreaDao
+}
+
+var (
+	// InfoTalentSkilledArea is globally public accessible object for table info_talent_skilled_area operations.
+	InfoTalentSkilledArea = infoTalentSkilledAreaDao{
+		internal.NewInfoTalentSkilledAreaDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 23 - 23
app/dao/info_talent_skin_type.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoTalentSkinTypeDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type infoTalentSkinTypeDao struct {
-	*internal.InfoTalentSkinTypeDao
-}
-
-var (
-	// InfoTalentSkinType is globally public accessible object for table info_talent_skin_type operations.
-	InfoTalentSkinType = infoTalentSkinTypeDao{
-		internal.NewInfoTalentSkinTypeDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoTalentSkinTypeDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type infoTalentSkinTypeDao struct {
+	*internal.InfoTalentSkinTypeDao
+}
+
+var (
+	// InfoTalentSkinType is globally public accessible object for table info_talent_skin_type operations.
+	InfoTalentSkinType = infoTalentSkinTypeDao{
+		internal.NewInfoTalentSkinTypeDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 24 - 24
app/dao/info_task_stage.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoTaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoTaskStageDao struct {
-	*internal.InfoTaskStageDao
-}
-
-var (
-	// InfoTaskStage is globally public accessible object for table info_task_stage operations.
-	InfoTaskStage = infoTaskStageDao{
-		internal.NewInfoTaskStageDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoTaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoTaskStageDao struct {
+	*internal.InfoTaskStageDao
+}
+
+var (
+	// InfoTaskStage is globally public accessible object for table info_task_stage operations.
+	InfoTaskStage = infoTaskStageDao{
+		internal.NewInfoTaskStageDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 23 - 23
app/dao/info_third_platform.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoThirdPlatformDao is the manager for logic model data accessing and custom defined data operations functions management. 
-// You can define custom methods on it to extend its functionality as you wish.
-type infoThirdPlatformDao struct {
-	*internal.InfoThirdPlatformDao
-}
-
-var (
-	// InfoThirdPlatform is globally public accessible object for table info_third_platform operations.
-	InfoThirdPlatform = infoThirdPlatformDao{
-		internal.NewInfoThirdPlatformDao(),
-	}
-)
-
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoThirdPlatformDao is the manager for logic model data accessing and custom defined data operations functions management. 
+// You can define custom methods on it to extend its functionality as you wish.
+type infoThirdPlatformDao struct {
+	*internal.InfoThirdPlatformDao
+}
+
+var (
+	// InfoThirdPlatform is globally public accessible object for table info_third_platform operations.
+	InfoThirdPlatform = infoThirdPlatformDao{
+		internal.NewInfoThirdPlatformDao(),
+	}
+)
+
 // Fill with you ideas below.

+ 24 - 24
app/dao/info_youngee_strategy.go

@@ -1,24 +1,24 @@
-// =================================================================================
-// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
-// =================================================================================
-
-package dao
-
-import (
-	"youngmini_server/app/dao/internal"
-)
-
-// infoYoungeeStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
-// You can define custom methods on it to extend its functionality as you wish.
-type infoYoungeeStrategyDao struct {
-	*internal.InfoYoungeeStrategyDao
-}
-
-var (
-	// InfoYoungeeStrategy is globally public accessible object for table info_youngee_strategy operations.
-	InfoYoungeeStrategy = infoYoungeeStrategyDao{
-		internal.NewInfoYoungeeStrategyDao(),
-	}
-)
-
-// Fill with you ideas below.
+// =================================================================================
+// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
+// =================================================================================
+
+package dao
+
+import (
+	"youngmini_server/app/dao/internal"
+)
+
+// infoYoungeeStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
+// You can define custom methods on it to extend its functionality as you wish.
+type infoYoungeeStrategyDao struct {
+	*internal.InfoYoungeeStrategyDao
+}
+
+var (
+	// InfoYoungeeStrategy is globally public accessible object for table info_youngee_strategy operations.
+	InfoYoungeeStrategy = infoYoungeeStrategyDao{
+		internal.NewInfoYoungeeStrategyDao(),
+	}
+)
+
+// Fill with you ideas below.

+ 73 - 73
app/dao/internal/bobocoin_deduct_record.go

@@ -1,73 +1,73 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// BobocoinDeductRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
-type BobocoinDeductRecordDao struct {
-	Table   string                      // Table is the underlying table name of the DAO.
-	Group   string                      // Group is the database configuration group name of current DAO.
-	Columns BobocoinDeductRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// BobocoinDeductRecordColumns defines and stores column names for table bobocoin_deduct_record.
-type BobocoinDeductRecordColumns struct {
-	RecordId       string // 扣费记录ID
-	TalentId       string // 达人id
-	BobocoinValue  string // 冻结的卜卜币数量(真实数量 * 100)
-	OrderId        string // 订单id,如果是订单执行产生的扣费,则有值
-	ProcedureStage string // 订单的执行步骤,如果是订单产生的扣费,则有此值
-	Reason         string // 扣费原因 1任务超期冻结 2拍单费用 3延期发放
-	CreatedAt      string // 创建时间
-	OperationStage string // 扣款步骤名称
-	TaskName       string // 任务名称(冗余)
-}
-
-//  bobocoinDeductRecordColumns holds the columns for table bobocoin_deduct_record.
-var bobocoinDeductRecordColumns = BobocoinDeductRecordColumns{
-	RecordId:       "record_id",
-	TalentId:       "talent_id",
-	BobocoinValue:  "bobocoin_value",
-	OrderId:        "order_id",
-	ProcedureStage: "procedure_stage",
-	Reason:         "reason",
-	CreatedAt:      "created_at",
-	OperationStage: "operation_stage",
-	TaskName:       "task_name",
-}
-
-// NewBobocoinDeductRecordDao creates and returns a new DAO object for table data access.
-func NewBobocoinDeductRecordDao() *BobocoinDeductRecordDao {
-	return &BobocoinDeductRecordDao{
-		Group:   "default",
-		Table:   "bobocoin_deduct_record",
-		Columns: bobocoinDeductRecordColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *BobocoinDeductRecordDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *BobocoinDeductRecordDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *BobocoinDeductRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// BobocoinDeductRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
+type BobocoinDeductRecordDao struct {
+	Table   string                      // Table is the underlying table name of the DAO.
+	Group   string                      // Group is the database configuration group name of current DAO.
+	Columns BobocoinDeductRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// BobocoinDeductRecordColumns defines and stores column names for table bobocoin_deduct_record.
+type BobocoinDeductRecordColumns struct {
+	RecordId       string // 扣费记录ID
+	TalentId       string // 达人id
+	BobocoinValue  string // 冻结的卜卜币数量(真实数量 * 100)
+	OrderId        string // 订单id,如果是订单执行产生的扣费,则有值
+	ProcedureStage string // 订单的执行步骤,如果是订单产生的扣费,则有此值
+	Reason         string // 扣费原因 1任务超期冻结 2拍单费用 3延期发放
+	CreatedAt      string // 创建时间
+	OperationStage string // 扣款步骤名称
+	TaskName       string // 任务名称(冗余)
+}
+
+//  bobocoinDeductRecordColumns holds the columns for table bobocoin_deduct_record.
+var bobocoinDeductRecordColumns = BobocoinDeductRecordColumns{
+	RecordId:       "record_id",
+	TalentId:       "talent_id",
+	BobocoinValue:  "bobocoin_value",
+	OrderId:        "order_id",
+	ProcedureStage: "procedure_stage",
+	Reason:         "reason",
+	CreatedAt:      "created_at",
+	OperationStage: "operation_stage",
+	TaskName:       "task_name",
+}
+
+// NewBobocoinDeductRecordDao creates and returns a new DAO object for table data access.
+func NewBobocoinDeductRecordDao() *BobocoinDeductRecordDao {
+	return &BobocoinDeductRecordDao{
+		Group:   "default",
+		Table:   "bobocoin_deduct_record",
+		Columns: bobocoinDeductRecordColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *BobocoinDeductRecordDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *BobocoinDeductRecordDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *BobocoinDeductRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/bobocoin_income_record.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// BobocoinIncomeRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
-type BobocoinIncomeRecordDao struct {
-	Table   string                      // Table is the underlying table name of the DAO.
-	Group   string                      // Group is the database configuration group name of current DAO.
-	Columns BobocoinIncomeRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// BobocoinIncomeRecordColumns defines and stores column names for table bobocoin_income_record.
-type BobocoinIncomeRecordColumns struct {
-	RecordId       string // 记录id,主键,自增
-	BobocoinValue  string // 收入的卜卜币数量
-	OrderId        string // 获得卜卜币的订单id
-	RecruitLevelId string // 获得卜卜币的任务的招募级别
-	TalentId       string // 达人id
-	CompleteDate   string // 添加时间(订单完成时间,需要和bobocoin_withdrawal_record表中的打款完成时间字段名一致,因为要以时间排序
-	TaskName       string // 任务名称(冗余)
-}
-
-//  bobocoinIncomeRecordColumns holds the columns for table bobocoin_income_record.
-var bobocoinIncomeRecordColumns = BobocoinIncomeRecordColumns{
-	RecordId:       "record_id",
-	BobocoinValue:  "bobocoin_value",
-	OrderId:        "order_id",
-	RecruitLevelId: "recruit_level_id",
-	TalentId:       "talent_id",
-	CompleteDate:   "complete_date",
-	TaskName:       "task_name",
-}
-
-// NewBobocoinIncomeRecordDao creates and returns a new DAO object for table data access.
-func NewBobocoinIncomeRecordDao() *BobocoinIncomeRecordDao {
-	return &BobocoinIncomeRecordDao{
-		Group:   "default",
-		Table:   "bobocoin_income_record",
-		Columns: bobocoinIncomeRecordColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *BobocoinIncomeRecordDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *BobocoinIncomeRecordDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *BobocoinIncomeRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// BobocoinIncomeRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
+type BobocoinIncomeRecordDao struct {
+	Table   string                      // Table is the underlying table name of the DAO.
+	Group   string                      // Group is the database configuration group name of current DAO.
+	Columns BobocoinIncomeRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// BobocoinIncomeRecordColumns defines and stores column names for table bobocoin_income_record.
+type BobocoinIncomeRecordColumns struct {
+	RecordId       string // 记录id,主键,自增
+	BobocoinValue  string // 收入的卜卜币数量
+	OrderId        string // 获得卜卜币的订单id
+	RecruitLevelId string // 获得卜卜币的任务的招募级别
+	TalentId       string // 达人id
+	CompleteDate   string // 添加时间(订单完成时间,需要和bobocoin_withdrawal_record表中的打款完成时间字段名一致,因为要以时间排序
+	TaskName       string // 任务名称(冗余)
+}
+
+//  bobocoinIncomeRecordColumns holds the columns for table bobocoin_income_record.
+var bobocoinIncomeRecordColumns = BobocoinIncomeRecordColumns{
+	RecordId:       "record_id",
+	BobocoinValue:  "bobocoin_value",
+	OrderId:        "order_id",
+	RecruitLevelId: "recruit_level_id",
+	TalentId:       "talent_id",
+	CompleteDate:   "complete_date",
+	TaskName:       "task_name",
+}
+
+// NewBobocoinIncomeRecordDao creates and returns a new DAO object for table data access.
+func NewBobocoinIncomeRecordDao() *BobocoinIncomeRecordDao {
+	return &BobocoinIncomeRecordDao{
+		Group:   "default",
+		Table:   "bobocoin_income_record",
+		Columns: bobocoinIncomeRecordColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *BobocoinIncomeRecordDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *BobocoinIncomeRecordDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *BobocoinIncomeRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 75 - 75
app/dao/internal/bobocoin_withdrawal_record.go

@@ -1,75 +1,75 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// BobocoinWithdrawalRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
-type BobocoinWithdrawalRecordDao struct {
-	Table   string                          // Table is the underlying table name of the DAO.
-	Group   string                          // Group is the database configuration group name of current DAO.
-	Columns BobocoinWithdrawalRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// BobocoinWithdrawalRecordColumns defines and stores column names for table bobocoin_withdrawal_record.
-type BobocoinWithdrawalRecordColumns struct {
-	RecordId      string // 提现单号
-	TalentId      string // 发起提现的达人id
-	SubmitDate    string // 提交时间
-	DrawAmount    string // 提现金额
-	PayState      string // 支付状态 1未支付 2支付成功 3支付失败
-	PayFailReason string // 支付失败原因
-	CompleteDate  string // 打款时间
-	PayPlatform   string // 支付平台,如支付宝
-	PayAccount    string // 支付账户
-	AccountName   string // 账户姓名
-}
-
-//  bobocoinWithdrawalRecordColumns holds the columns for table bobocoin_withdrawal_record.
-var bobocoinWithdrawalRecordColumns = BobocoinWithdrawalRecordColumns{
-	RecordId:      "record_id",
-	TalentId:      "talent_id",
-	SubmitDate:    "submit_date",
-	DrawAmount:    "draw_amount",
-	PayState:      "pay_state",
-	PayFailReason: "pay_fail_reason",
-	CompleteDate:  "complete_date",
-	PayPlatform:   "pay_platform",
-	PayAccount:    "pay_account",
-	AccountName:   "account_name",
-}
-
-// NewBobocoinWithdrawalRecordDao creates and returns a new DAO object for table data access.
-func NewBobocoinWithdrawalRecordDao() *BobocoinWithdrawalRecordDao {
-	return &BobocoinWithdrawalRecordDao{
-		Group:   "default",
-		Table:   "bobocoin_withdrawal_record",
-		Columns: bobocoinWithdrawalRecordColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *BobocoinWithdrawalRecordDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *BobocoinWithdrawalRecordDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *BobocoinWithdrawalRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// BobocoinWithdrawalRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
+type BobocoinWithdrawalRecordDao struct {
+	Table   string                          // Table is the underlying table name of the DAO.
+	Group   string                          // Group is the database configuration group name of current DAO.
+	Columns BobocoinWithdrawalRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// BobocoinWithdrawalRecordColumns defines and stores column names for table bobocoin_withdrawal_record.
+type BobocoinWithdrawalRecordColumns struct {
+	RecordId      string // 提现单号
+	TalentId      string // 发起提现的达人id
+	SubmitDate    string // 提交时间
+	DrawAmount    string // 提现金额
+	PayState      string // 支付状态 1未支付 2支付成功 3支付失败
+	PayFailReason string // 支付失败原因
+	CompleteDate  string // 打款时间
+	PayPlatform   string // 支付平台,如支付宝
+	PayAccount    string // 支付账户
+	AccountName   string // 账户姓名
+}
+
+//  bobocoinWithdrawalRecordColumns holds the columns for table bobocoin_withdrawal_record.
+var bobocoinWithdrawalRecordColumns = BobocoinWithdrawalRecordColumns{
+	RecordId:      "record_id",
+	TalentId:      "talent_id",
+	SubmitDate:    "submit_date",
+	DrawAmount:    "draw_amount",
+	PayState:      "pay_state",
+	PayFailReason: "pay_fail_reason",
+	CompleteDate:  "complete_date",
+	PayPlatform:   "pay_platform",
+	PayAccount:    "pay_account",
+	AccountName:   "account_name",
+}
+
+// NewBobocoinWithdrawalRecordDao creates and returns a new DAO object for table data access.
+func NewBobocoinWithdrawalRecordDao() *BobocoinWithdrawalRecordDao {
+	return &BobocoinWithdrawalRecordDao{
+		Group:   "default",
+		Table:   "bobocoin_withdrawal_record",
+		Columns: bobocoinWithdrawalRecordColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *BobocoinWithdrawalRecordDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *BobocoinWithdrawalRecordDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *BobocoinWithdrawalRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 77 - 77
app/dao/internal/brand.go

@@ -1,77 +1,77 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// BrandDao is the manager for logic model data accessing and custom defined data operations functions management.
-type BrandDao struct {
-	Table   string       // Table is the underlying table name of the DAO.
-	Group   string       // Group is the database configuration group name of current DAO.
-	Columns BrandColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// BrandColumns defines and stores column names for table brand.
-type BrandColumns struct {
-	BrandId      string // 品牌信息id
-	BrandName    string // 品牌名称
-	BrandLogo    string // 品牌logo链接地址
-	BrandInfo    string // 品牌信息简介
-	BrandPerson  string // 品牌对接人
-	BrandContact string // 品牌对接人联系方式
-	BrandTitle   string // 品牌对接人职称
-	CreatedAt    string // 创建时间
-	CreatPeople  string // 创建人
-	UpdatedAt    string // 更新时间
-	UpdatePeople string // 更新人
-}
-
-//  brandColumns holds the columns for table brand.
-var brandColumns = BrandColumns{
-	BrandId:      "brand_id",
-	BrandName:    "brand_name",
-	BrandLogo:    "brand_logo",
-	BrandInfo:    "brand_info",
-	BrandPerson:  "brand_person",
-	BrandContact: "brand_contact",
-	BrandTitle:   "brand_title",
-	CreatedAt:    "created_at",
-	CreatPeople:  "creat_people",
-	UpdatedAt:    "updated_at",
-	UpdatePeople: "update_people",
-}
-
-// NewBrandDao creates and returns a new DAO object for table data access.
-func NewBrandDao() *BrandDao {
-	return &BrandDao{
-		Group:   "default",
-		Table:   "brand",
-		Columns: brandColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *BrandDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *BrandDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *BrandDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// BrandDao is the manager for logic model data accessing and custom defined data operations functions management.
+type BrandDao struct {
+	Table   string       // Table is the underlying table name of the DAO.
+	Group   string       // Group is the database configuration group name of current DAO.
+	Columns BrandColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// BrandColumns defines and stores column names for table brand.
+type BrandColumns struct {
+	BrandId      string // 品牌信息id
+	BrandName    string // 品牌名称
+	BrandLogo    string // 品牌logo链接地址
+	BrandInfo    string // 品牌信息简介
+	BrandPerson  string // 品牌对接人
+	BrandContact string // 品牌对接人联系方式
+	BrandTitle   string // 品牌对接人职称
+	CreatedAt    string // 创建时间
+	CreatPeople  string // 创建人
+	UpdatedAt    string // 更新时间
+	UpdatePeople string // 更新人
+}
+
+//  brandColumns holds the columns for table brand.
+var brandColumns = BrandColumns{
+	BrandId:      "brand_id",
+	BrandName:    "brand_name",
+	BrandLogo:    "brand_logo",
+	BrandInfo:    "brand_info",
+	BrandPerson:  "brand_person",
+	BrandContact: "brand_contact",
+	BrandTitle:   "brand_title",
+	CreatedAt:    "created_at",
+	CreatPeople:  "creat_people",
+	UpdatedAt:    "updated_at",
+	UpdatePeople: "update_people",
+}
+
+// NewBrandDao creates and returns a new DAO object for table data access.
+func NewBrandDao() *BrandDao {
+	return &BrandDao{
+		Group:   "default",
+		Table:   "brand",
+		Columns: brandColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *BrandDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *BrandDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *BrandDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 79 - 79
app/dao/internal/enterprise.go

@@ -1,79 +1,79 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// EnterpriseDao is the manager for logic model data accessing and custom defined data operations functions management.
-type EnterpriseDao struct {
-	Table   string            // Table is the underlying table name of the DAO.
-	Group   string            // Group is the database configuration group name of current DAO.
-	Columns EnterpriseColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// EnterpriseColumns defines and stores column names for table enterprise.
-type EnterpriseColumns struct {
-	EnterpriseId     string // 企业id,用户ID的生成规则为:1(企业用户代码)+分秒数字+四位随机数字
-	Industry         string // 行业,1-14分别代表能源、化工、材料、机械设备/军工、企业服务/造纸印刷、运输设备、旅游酒店、媒体/信息通信服务、批发/零售、消费品、卫生保健/医疗、金融、建材/建筑/房地产、公共事业
-	BusinessName     string // 公司或组织名称
-	UserId           string // 对应用户id
-	Balance          string // 账户余额
-	FrozenBalance    string // 冻结余额
-	AvailableBalance string // 可用余额
-	BillableAmount   string // 可开票金额
-	Invoicing        string // 开票中金额
-	Recharging       string // 充值中金额
-	CreatedAt        string // 创建时间
-	UpdatedAt        string // 更新时间
-}
-
-//  enterpriseColumns holds the columns for table enterprise.
-var enterpriseColumns = EnterpriseColumns{
-	EnterpriseId:     "enterprise_id",
-	Industry:         "industry",
-	BusinessName:     "business_name",
-	UserId:           "user_id",
-	Balance:          "balance",
-	FrozenBalance:    "frozen_balance",
-	AvailableBalance: "available_balance",
-	BillableAmount:   "billable_amount",
-	Invoicing:        "invoicing",
-	Recharging:       "recharging",
-	CreatedAt:        "created_at",
-	UpdatedAt:        "updated_at",
-}
-
-// NewEnterpriseDao creates and returns a new DAO object for table data access.
-func NewEnterpriseDao() *EnterpriseDao {
-	return &EnterpriseDao{
-		Group:   "default",
-		Table:   "enterprise",
-		Columns: enterpriseColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *EnterpriseDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *EnterpriseDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *EnterpriseDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// EnterpriseDao is the manager for logic model data accessing and custom defined data operations functions management.
+type EnterpriseDao struct {
+	Table   string            // Table is the underlying table name of the DAO.
+	Group   string            // Group is the database configuration group name of current DAO.
+	Columns EnterpriseColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// EnterpriseColumns defines and stores column names for table enterprise.
+type EnterpriseColumns struct {
+	EnterpriseId     string // 企业id,用户ID的生成规则为:1(企业用户代码)+分秒数字+四位随机数字
+	Industry         string // 行业,1-14分别代表能源、化工、材料、机械设备/军工、企业服务/造纸印刷、运输设备、旅游酒店、媒体/信息通信服务、批发/零售、消费品、卫生保健/医疗、金融、建材/建筑/房地产、公共事业
+	BusinessName     string // 公司或组织名称
+	UserId           string // 对应用户id
+	Balance          string // 账户余额
+	FrozenBalance    string // 冻结余额
+	AvailableBalance string // 可用余额
+	BillableAmount   string // 可开票金额
+	Invoicing        string // 开票中金额
+	Recharging       string // 充值中金额
+	CreatedAt        string // 创建时间
+	UpdatedAt        string // 更新时间
+}
+
+//  enterpriseColumns holds the columns for table enterprise.
+var enterpriseColumns = EnterpriseColumns{
+	EnterpriseId:     "enterprise_id",
+	Industry:         "industry",
+	BusinessName:     "business_name",
+	UserId:           "user_id",
+	Balance:          "balance",
+	FrozenBalance:    "frozen_balance",
+	AvailableBalance: "available_balance",
+	BillableAmount:   "billable_amount",
+	Invoicing:        "invoicing",
+	Recharging:       "recharging",
+	CreatedAt:        "created_at",
+	UpdatedAt:        "updated_at",
+}
+
+// NewEnterpriseDao creates and returns a new DAO object for table data access.
+func NewEnterpriseDao() *EnterpriseDao {
+	return &EnterpriseDao{
+		Group:   "default",
+		Table:   "enterprise",
+		Columns: enterpriseColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *EnterpriseDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *EnterpriseDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *EnterpriseDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 71 - 71
app/dao/internal/enterprise_pay_record.go

@@ -1,71 +1,71 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// EnterprisePayRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
-type EnterprisePayRecordDao struct {
-	Table   string                     // Table is the underlying table name of the DAO.
-	Group   string                     // Group is the database configuration group name of current DAO.
-	Columns EnterprisePayRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// EnterprisePayRecordColumns defines and stores column names for table enterprise_pay_record.
-type EnterprisePayRecordColumns struct {
-	Id           string // id
-	Payment      string // 交易金额
-	Balance      string // 交易后账户可用余额
-	PayType      string // 交易类型,1表示充值,2表示支付
-	RechargeType string // 充值方式,1表示在线交易,2表示对公转账
-	EnterpriseId string // 企业id
-	PayAt        string // 交易时间
-	ProjectId    string // 支付的项目id
-}
-
-//  enterprisePayRecordColumns holds the columns for table enterprise_pay_record.
-var enterprisePayRecordColumns = EnterprisePayRecordColumns{
-	Id:           "id",
-	Payment:      "payment",
-	Balance:      "balance",
-	PayType:      "pay_type",
-	RechargeType: "recharge_type",
-	EnterpriseId: "enterprise_id",
-	PayAt:        "pay_at",
-	ProjectId:    "project_id",
-}
-
-// NewEnterprisePayRecordDao creates and returns a new DAO object for table data access.
-func NewEnterprisePayRecordDao() *EnterprisePayRecordDao {
-	return &EnterprisePayRecordDao{
-		Group:   "default",
-		Table:   "enterprise_pay_record",
-		Columns: enterprisePayRecordColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *EnterprisePayRecordDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *EnterprisePayRecordDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *EnterprisePayRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// EnterprisePayRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
+type EnterprisePayRecordDao struct {
+	Table   string                     // Table is the underlying table name of the DAO.
+	Group   string                     // Group is the database configuration group name of current DAO.
+	Columns EnterprisePayRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// EnterprisePayRecordColumns defines and stores column names for table enterprise_pay_record.
+type EnterprisePayRecordColumns struct {
+	Id           string // id
+	Payment      string // 交易金额
+	Balance      string // 交易后账户可用余额
+	PayType      string // 交易类型,1表示充值,2表示支付
+	RechargeType string // 充值方式,1表示在线交易,2表示对公转账
+	EnterpriseId string // 企业id
+	PayAt        string // 交易时间
+	ProjectId    string // 支付的项目id
+}
+
+//  enterprisePayRecordColumns holds the columns for table enterprise_pay_record.
+var enterprisePayRecordColumns = EnterprisePayRecordColumns{
+	Id:           "id",
+	Payment:      "payment",
+	Balance:      "balance",
+	PayType:      "pay_type",
+	RechargeType: "recharge_type",
+	EnterpriseId: "enterprise_id",
+	PayAt:        "pay_at",
+	ProjectId:    "project_id",
+}
+
+// NewEnterprisePayRecordDao creates and returns a new DAO object for table data access.
+func NewEnterprisePayRecordDao() *EnterprisePayRecordDao {
+	return &EnterprisePayRecordDao{
+		Group:   "default",
+		Table:   "enterprise_pay_record",
+		Columns: enterprisePayRecordColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *EnterprisePayRecordDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *EnterprisePayRecordDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *EnterprisePayRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 68 - 68
app/dao/internal/expert.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// ExpertDao is the manager for logic model data accessing and custom defined data operations functions management.
-type ExpertDao struct {
-	Table   string          // Table is the underlying table name of the DAO.
-	Group   string          // Group is the database configuration group name of current DAO.
-	Columns ExpertColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// ExpertColumns defines and stores column names for table expert.
-type ExpertColumns struct {
-	Id             string // 达人表ID      
-    AgeRange       string // 达人年龄区间  
-    SkinChoose     string // 肤质选择      
-    Nationality    string // 国籍          
-    AgentShopArea  string // 探店区域      
-    Gender         string // 性别          
-    WechatId       string // 微信号
-}
-
-//  expertColumns holds the columns for table expert.
-var expertColumns = ExpertColumns{
-	Id:            "id",               
-            AgeRange:      "age_range",        
-            SkinChoose:    "skin_choose",      
-            Nationality:   "nationality",      
-            AgentShopArea: "agent_shop_area",  
-            Gender:        "gender",           
-            WechatId:      "wechat_id",
-}
-
-// NewExpertDao creates and returns a new DAO object for table data access.
-func NewExpertDao() *ExpertDao {
-	return &ExpertDao{
-		Group:   "default",
-		Table:   "expert",
-		Columns: expertColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *ExpertDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *ExpertDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *ExpertDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// ExpertDao is the manager for logic model data accessing and custom defined data operations functions management.
+type ExpertDao struct {
+	Table   string          // Table is the underlying table name of the DAO.
+	Group   string          // Group is the database configuration group name of current DAO.
+	Columns ExpertColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// ExpertColumns defines and stores column names for table expert.
+type ExpertColumns struct {
+	Id             string // 达人表ID      
+    AgeRange       string // 达人年龄区间  
+    SkinChoose     string // 肤质选择      
+    Nationality    string // 国籍          
+    AgentShopArea  string // 探店区域      
+    Gender         string // 性别          
+    WechatId       string // 微信号
+}
+
+//  expertColumns holds the columns for table expert.
+var expertColumns = ExpertColumns{
+	Id:            "id",               
+            AgeRange:      "age_range",        
+            SkinChoose:    "skin_choose",      
+            Nationality:   "nationality",      
+            AgentShopArea: "agent_shop_area",  
+            Gender:        "gender",           
+            WechatId:      "wechat_id",
+}
+
+// NewExpertDao creates and returns a new DAO object for table data access.
+func NewExpertDao() *ExpertDao {
+	return &ExpertDao{
+		Group:   "default",
+		Table:   "expert",
+		Columns: expertColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *ExpertDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *ExpertDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *ExpertDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
 }

+ 89 - 89
app/dao/internal/info_auto_default_handle.go

@@ -1,89 +1,89 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoAutoDefaultHandleDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoAutoDefaultHandleDao struct {
-	Table   string                       // Table is the underlying table name of the DAO.
-	Group   string                       // Group is the database configuration group name of current DAO.
-	Columns InfoAutoDefaultHandleColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoAutoDefaultHandleColumns defines and stores column names for table info_auto_default_handle.
-type InfoAutoDefaultHandleColumns struct {
-	AutoDefaultId          string // 自动处理规则id
-	SketchReplaceNotUpload string // 初稿违约 产品置换 未上传初稿
-	SketchReplaceTimeOut   string // 初稿违约 产品置换 超时未上传初稿
-	SketchOtherNotUpload   string // 初稿违约 自报价、固定稿费 未上传初稿
-	SketchOtherTimeOut     string // 初稿违约 自报价、固定稿费 超时未上传初稿
-	ScriptReplaceNotUpload string // 脚本违约 产品置换 未上传脚本
-	ScriptReplaceTimeOut   string // 脚本违约 产品置换 超时未上传脚本
-	ScriptOtherNotUpload   string // 脚本违约 自报价、固定稿费 未上传脚本
-	ScriptOtherTimeOut     string // 脚本违约 自报价、固定稿费 超时未上传脚本
-	LinkReplaceNotUpload   string // 链接违约 产品置换 未上传链接
-	LinkReplaceTimeOut     string // 链接违约 产品置换 超时未上传链接
-	LinkOtherNotUpload     string // 链接违约 自报价、固定稿费 未上传链接
-	LinkOtherTimeOut       string // 链接违约 自报价、固定稿费 超时未上传链接
-	DataReplaceNotUpload   string // 数据违约 产品置换 未上传数据
-	DataReplaceTimeOut     string // 数据违约 产品置换 超时未上传数据
-	DataOtherNotUpload     string // 数据违约 自报价、固定稿费 未上传数据
-	DataOtherTimeOut       string // 数据违约 自报价、固定稿费 超时未上传数据
-}
-
-//  infoAutoDefaultHandleColumns holds the columns for table info_auto_default_handle.
-var infoAutoDefaultHandleColumns = InfoAutoDefaultHandleColumns{
-	AutoDefaultId:          "auto_default_id",
-	SketchReplaceNotUpload: "sketch_replace_not_upload",
-	SketchReplaceTimeOut:   "sketch_replace_time_out",
-	SketchOtherNotUpload:   "sketch_other_not_upload",
-	SketchOtherTimeOut:     "sketch_other_time_out",
-	ScriptReplaceNotUpload: "script_replace_not_upload",
-	ScriptReplaceTimeOut:   "script_replace_time_out",
-	ScriptOtherNotUpload:   "script_other_not_upload",
-	ScriptOtherTimeOut:     "script_other_time_out",
-	LinkReplaceNotUpload:   "link_replace_not_upload",
-	LinkReplaceTimeOut:     "link_replace_time_out",
-	LinkOtherNotUpload:     "link_other_not_upload",
-	LinkOtherTimeOut:       "link_other_time_out",
-	DataReplaceNotUpload:   "data_replace_not_upload",
-	DataReplaceTimeOut:     "data_replace_time_out",
-	DataOtherNotUpload:     "data_other_not_upload",
-	DataOtherTimeOut:       "data_other_time_out",
-}
-
-// NewInfoAutoDefaultHandleDao creates and returns a new DAO object for table data access.
-func NewInfoAutoDefaultHandleDao() *InfoAutoDefaultHandleDao {
-	return &InfoAutoDefaultHandleDao{
-		Group:   "default",
-		Table:   "info_auto_default_handle",
-		Columns: infoAutoDefaultHandleColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoAutoDefaultHandleDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoAutoDefaultHandleDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoAutoDefaultHandleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoAutoDefaultHandleDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoAutoDefaultHandleDao struct {
+	Table   string                       // Table is the underlying table name of the DAO.
+	Group   string                       // Group is the database configuration group name of current DAO.
+	Columns InfoAutoDefaultHandleColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoAutoDefaultHandleColumns defines and stores column names for table info_auto_default_handle.
+type InfoAutoDefaultHandleColumns struct {
+	AutoDefaultId          string // 自动处理规则id
+	SketchReplaceNotUpload string // 初稿违约 产品置换 未上传初稿
+	SketchReplaceTimeOut   string // 初稿违约 产品置换 超时未上传初稿
+	SketchOtherNotUpload   string // 初稿违约 自报价、固定稿费 未上传初稿
+	SketchOtherTimeOut     string // 初稿违约 自报价、固定稿费 超时未上传初稿
+	ScriptReplaceNotUpload string // 脚本违约 产品置换 未上传脚本
+	ScriptReplaceTimeOut   string // 脚本违约 产品置换 超时未上传脚本
+	ScriptOtherNotUpload   string // 脚本违约 自报价、固定稿费 未上传脚本
+	ScriptOtherTimeOut     string // 脚本违约 自报价、固定稿费 超时未上传脚本
+	LinkReplaceNotUpload   string // 链接违约 产品置换 未上传链接
+	LinkReplaceTimeOut     string // 链接违约 产品置换 超时未上传链接
+	LinkOtherNotUpload     string // 链接违约 自报价、固定稿费 未上传链接
+	LinkOtherTimeOut       string // 链接违约 自报价、固定稿费 超时未上传链接
+	DataReplaceNotUpload   string // 数据违约 产品置换 未上传数据
+	DataReplaceTimeOut     string // 数据违约 产品置换 超时未上传数据
+	DataOtherNotUpload     string // 数据违约 自报价、固定稿费 未上传数据
+	DataOtherTimeOut       string // 数据违约 自报价、固定稿费 超时未上传数据
+}
+
+//  infoAutoDefaultHandleColumns holds the columns for table info_auto_default_handle.
+var infoAutoDefaultHandleColumns = InfoAutoDefaultHandleColumns{
+	AutoDefaultId:          "auto_default_id",
+	SketchReplaceNotUpload: "sketch_replace_not_upload",
+	SketchReplaceTimeOut:   "sketch_replace_time_out",
+	SketchOtherNotUpload:   "sketch_other_not_upload",
+	SketchOtherTimeOut:     "sketch_other_time_out",
+	ScriptReplaceNotUpload: "script_replace_not_upload",
+	ScriptReplaceTimeOut:   "script_replace_time_out",
+	ScriptOtherNotUpload:   "script_other_not_upload",
+	ScriptOtherTimeOut:     "script_other_time_out",
+	LinkReplaceNotUpload:   "link_replace_not_upload",
+	LinkReplaceTimeOut:     "link_replace_time_out",
+	LinkOtherNotUpload:     "link_other_not_upload",
+	LinkOtherTimeOut:       "link_other_time_out",
+	DataReplaceNotUpload:   "data_replace_not_upload",
+	DataReplaceTimeOut:     "data_replace_time_out",
+	DataOtherNotUpload:     "data_other_not_upload",
+	DataOtherTimeOut:       "data_other_time_out",
+}
+
+// NewInfoAutoDefaultHandleDao creates and returns a new DAO object for table data access.
+func NewInfoAutoDefaultHandleDao() *InfoAutoDefaultHandleDao {
+	return &InfoAutoDefaultHandleDao{
+		Group:   "default",
+		Table:   "info_auto_default_handle",
+		Columns: infoAutoDefaultHandleColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoAutoDefaultHandleDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoAutoDefaultHandleDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoAutoDefaultHandleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 83 - 83
app/dao/internal/info_auto_task.go

@@ -1,83 +1,83 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoAutoTaskDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoAutoTaskDao struct {
-	Table   string              // Table is the underlying table name of the DAO.
-	Group   string              // Group is the database configuration group name of current DAO.
-	Columns InfoAutoTaskColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoAutoTaskColumns defines and stores column names for table info_auto_task.
-type InfoAutoTaskColumns struct {
-	AutoTaskId        string // 自动处理规则id
-	SignInOffline     string // 线下探店自动签收时间
-	SignInVirtual     string // 虚拟产品测评自动签收时间
-	ReviewInMv        string // 视频形式的审稿处理
-	ReviewUnlimited   string // 不限形式的审稿处理
-	Postreview        string // 发布审核自动处理
-	CaseClose         string // 结案自动处理
-	Invalid           string // 全流程项目失效自动处理
-	DraftDefaultInPic string // 图片初稿违约自动处理
-	DraftDefaultInMv  string // 视频初稿违约自动处理
-	ScriptDefault     string // 脚本违约自动处理
-	LinkBreach        string // 链接违约自动处理
-	CaseCloseDefault  string // 结案违约自动处理
-	Selectioninvalid  string // 选品项目失效自动处理
-}
-
-//  infoAutoTaskColumns holds the columns for table info_auto_task.
-var infoAutoTaskColumns = InfoAutoTaskColumns{
-	AutoTaskId:        "auto_task_id",
-	SignInOffline:     "sign_in_offline",
-	SignInVirtual:     "sign_in_virtual",
-	ReviewInMv:        "review_in_mv",
-	ReviewUnlimited:   "review_unlimited",
-	Postreview:        "postreview",
-	CaseClose:         "case_close",
-	Invalid:           "invalid",
-	DraftDefaultInPic: "draft_default_in_pic",
-	DraftDefaultInMv:  "draft_default_in_mv",
-	ScriptDefault:     "script_default",
-	LinkBreach:        "link_breach",
-	CaseCloseDefault:  "case_close_default",
-	Selectioninvalid:  "selectioninvalid",
-}
-
-// NewInfoAutoTaskDao creates and returns a new DAO object for table data access.
-func NewInfoAutoTaskDao() *InfoAutoTaskDao {
-	return &InfoAutoTaskDao{
-		Group:   "default",
-		Table:   "info_auto_task",
-		Columns: infoAutoTaskColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoAutoTaskDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoAutoTaskDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoAutoTaskDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoAutoTaskDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoAutoTaskDao struct {
+	Table   string              // Table is the underlying table name of the DAO.
+	Group   string              // Group is the database configuration group name of current DAO.
+	Columns InfoAutoTaskColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoAutoTaskColumns defines and stores column names for table info_auto_task.
+type InfoAutoTaskColumns struct {
+	AutoTaskId        string // 自动处理规则id
+	SignInOffline     string // 线下探店自动签收时间
+	SignInVirtual     string // 虚拟产品测评自动签收时间
+	ReviewInMv        string // 视频形式的审稿处理
+	ReviewUnlimited   string // 不限形式的审稿处理
+	Postreview        string // 发布审核自动处理
+	CaseClose         string // 结案自动处理
+	Invalid           string // 全流程项目失效自动处理
+	DraftDefaultInPic string // 图片初稿违约自动处理
+	DraftDefaultInMv  string // 视频初稿违约自动处理
+	ScriptDefault     string // 脚本违约自动处理
+	LinkBreach        string // 链接违约自动处理
+	CaseCloseDefault  string // 结案违约自动处理
+	Selectioninvalid  string // 选品项目失效自动处理
+}
+
+//  infoAutoTaskColumns holds the columns for table info_auto_task.
+var infoAutoTaskColumns = InfoAutoTaskColumns{
+	AutoTaskId:        "auto_task_id",
+	SignInOffline:     "sign_in_offline",
+	SignInVirtual:     "sign_in_virtual",
+	ReviewInMv:        "review_in_mv",
+	ReviewUnlimited:   "review_unlimited",
+	Postreview:        "postreview",
+	CaseClose:         "case_close",
+	Invalid:           "invalid",
+	DraftDefaultInPic: "draft_default_in_pic",
+	DraftDefaultInMv:  "draft_default_in_mv",
+	ScriptDefault:     "script_default",
+	LinkBreach:        "link_breach",
+	CaseCloseDefault:  "case_close_default",
+	Selectioninvalid:  "selectioninvalid",
+}
+
+// NewInfoAutoTaskDao creates and returns a new DAO object for table data access.
+func NewInfoAutoTaskDao() *InfoAutoTaskDao {
+	return &InfoAutoTaskDao{
+		Group:   "default",
+		Table:   "info_auto_task",
+		Columns: infoAutoTaskColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoAutoTaskDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoAutoTaskDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoAutoTaskDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_bank.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoBankDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoBankDao struct {
-	Table   string          // Table is the underlying table name of the DAO.
-	Group   string          // Group is the database configuration group name of current DAO.
-	Columns InfoBankColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoBankColumns defines and stores column names for table info_bank.
-type InfoBankColumns struct {
-	Id   string // 银行id
-	Name string // 银行名称
-}
-
-//  infoBankColumns holds the columns for table info_bank.
-var infoBankColumns = InfoBankColumns{
-	Id:   "id",
-	Name: "name",
-}
-
-// NewInfoBankDao creates and returns a new DAO object for table data access.
-func NewInfoBankDao() *InfoBankDao {
-	return &InfoBankDao{
-		Group:   "default",
-		Table:   "info_bank",
-		Columns: infoBankColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoBankDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoBankDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoBankDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoBankDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoBankDao struct {
+	Table   string          // Table is the underlying table name of the DAO.
+	Group   string          // Group is the database configuration group name of current DAO.
+	Columns InfoBankColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoBankColumns defines and stores column names for table info_bank.
+type InfoBankColumns struct {
+	Id   string // 银行id
+	Name string // 银行名称
+}
+
+//  infoBankColumns holds the columns for table info_bank.
+var infoBankColumns = InfoBankColumns{
+	Id:   "id",
+	Name: "name",
+}
+
+// NewInfoBankDao creates and returns a new DAO object for table data access.
+func NewInfoBankDao() *InfoBankDao {
+	return &InfoBankDao{
+		Group:   "default",
+		Table:   "info_bank",
+		Columns: infoBankColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoBankDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoBankDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoBankDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_message.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoMessageDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoMessageDao struct {
-	Table   string             // Table is the underlying table name of the DAO.
-	Group   string             // Group is the database configuration group name of current DAO.
-	Columns InfoMessageColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoMessageColumns defines and stores column names for table info_message.
-type InfoMessageColumns struct {
-	Id   string // 消息类型id
-	Text string // 消息内容
-}
-
-//  infoMessageColumns holds the columns for table info_message.
-var infoMessageColumns = InfoMessageColumns{
-	Id:   "id",
-	Text: "text",
-}
-
-// NewInfoMessageDao creates and returns a new DAO object for table data access.
-func NewInfoMessageDao() *InfoMessageDao {
-	return &InfoMessageDao{
-		Group:   "default",
-		Table:   "info_message",
-		Columns: infoMessageColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoMessageDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoMessageDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoMessageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoMessageDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoMessageDao struct {
+	Table   string             // Table is the underlying table name of the DAO.
+	Group   string             // Group is the database configuration group name of current DAO.
+	Columns InfoMessageColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoMessageColumns defines and stores column names for table info_message.
+type InfoMessageColumns struct {
+	Id   string // 消息类型id
+	Text string // 消息内容
+}
+
+//  infoMessageColumns holds the columns for table info_message.
+var infoMessageColumns = InfoMessageColumns{
+	Id:   "id",
+	Text: "text",
+}
+
+// NewInfoMessageDao creates and returns a new DAO object for table data access.
+func NewInfoMessageDao() *InfoMessageDao {
+	return &InfoMessageDao{
+		Group:   "default",
+		Table:   "info_message",
+		Columns: infoMessageColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoMessageDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoMessageDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoMessageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 83 - 83
app/dao/internal/info_pricing_strategy.go

@@ -1,83 +1,83 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoPricingStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoPricingStrategyDao struct {
-	Table   string                     // Table is the underlying table name of the DAO.
-	Group   string                     // Group is the database configuration group name of current DAO.
-	Columns InfoPricingStrategyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoPricingStrategyColumns defines and stores column names for table info_pricing_strategy.
-type InfoPricingStrategyColumns struct {
-	Id            string // id
-	ProjectType   string // 项目类型,0表示不限,1为全流程项目
-	StrategyId    string // 定价策略编号
-	FeeForm       string // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
-	Platform      string // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
-	FansLow       string // 对应粉丝量下限
-	FansUp        string // 对应粉丝量上限
-	ServiceCharge string // 服务费,稿费形式为产品置换时填写,可以为空
-	BaseOffer     string // 基础报价
-	Status        string // 定价策略当前状态,0表示正常,1表示禁用
-	ServiceRate   string // 服务费率*1000,稿费形式为固定稿费和自报价时填写,可以为空
-	UpdateId      string // 修改管理人员id,对应user表中主键
-	UpdateAt      string // 修改时间
-	CreateAt      string // 创建时间
-}
-
-//  infoPricingStrategyColumns holds the columns for table info_pricing_strategy.
-var infoPricingStrategyColumns = InfoPricingStrategyColumns{
-	Id:            "id",
-	ProjectType:   "project_type",
-	StrategyId:    "strategyId",
-	FeeForm:       "fee_form",
-	Platform:      "platform",
-	FansLow:       "fans_low",
-	FansUp:        "fans_up",
-	ServiceCharge: "service_charge",
-	BaseOffer:     "base_offer",
-	Status:        "status",
-	ServiceRate:   "service_rate",
-	UpdateId:      "update_id",
-	UpdateAt:      "update_at",
-	CreateAt:      "create_at",
-}
-
-// NewInfoPricingStrategyDao creates and returns a new DAO object for table data access.
-func NewInfoPricingStrategyDao() *InfoPricingStrategyDao {
-	return &InfoPricingStrategyDao{
-		Group:   "default",
-		Table:   "info_pricing_strategy",
-		Columns: infoPricingStrategyColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoPricingStrategyDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoPricingStrategyDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoPricingStrategyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoPricingStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoPricingStrategyDao struct {
+	Table   string                     // Table is the underlying table name of the DAO.
+	Group   string                     // Group is the database configuration group name of current DAO.
+	Columns InfoPricingStrategyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoPricingStrategyColumns defines and stores column names for table info_pricing_strategy.
+type InfoPricingStrategyColumns struct {
+	Id            string // id
+	ProjectType   string // 项目类型,0表示不限,1为全流程项目
+	StrategyId    string // 定价策略编号
+	FeeForm       string // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
+	Platform      string // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
+	FansLow       string // 对应粉丝量下限
+	FansUp        string // 对应粉丝量上限
+	ServiceCharge string // 服务费,稿费形式为产品置换时填写,可以为空
+	BaseOffer     string // 基础报价
+	Status        string // 定价策略当前状态,0表示正常,1表示禁用
+	ServiceRate   string // 服务费率*1000,稿费形式为固定稿费和自报价时填写,可以为空
+	UpdateId      string // 修改管理人员id,对应user表中主键
+	UpdateAt      string // 修改时间
+	CreateAt      string // 创建时间
+}
+
+//  infoPricingStrategyColumns holds the columns for table info_pricing_strategy.
+var infoPricingStrategyColumns = InfoPricingStrategyColumns{
+	Id:            "id",
+	ProjectType:   "project_type",
+	StrategyId:    "strategyId",
+	FeeForm:       "fee_form",
+	Platform:      "platform",
+	FansLow:       "fans_low",
+	FansUp:        "fans_up",
+	ServiceCharge: "service_charge",
+	BaseOffer:     "base_offer",
+	Status:        "status",
+	ServiceRate:   "service_rate",
+	UpdateId:      "update_id",
+	UpdateAt:      "update_at",
+	CreateAt:      "create_at",
+}
+
+// NewInfoPricingStrategyDao creates and returns a new DAO object for table data access.
+func NewInfoPricingStrategyDao() *InfoPricingStrategyDao {
+	return &InfoPricingStrategyDao{
+		Group:   "default",
+		Table:   "info_pricing_strategy",
+		Columns: infoPricingStrategyColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoPricingStrategyDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoPricingStrategyDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoPricingStrategyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_product_classify.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoProductClassifyDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoProductClassifyDao struct {
-	Table   string                     // Table is the underlying table name of the DAO.
-	Group   string                     // Group is the database configuration group name of current DAO.
-	Columns InfoProductClassifyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoProductClassifyColumns defines and stores column names for table info_product_classify.
-type InfoProductClassifyColumns struct {
-	ClassifyId string // 分类id
-	Classify   string // 分类名
-}
-
-//  infoProductClassifyColumns holds the columns for table info_product_classify.
-var infoProductClassifyColumns = InfoProductClassifyColumns{
-	ClassifyId: "classify_id",
-	Classify:   "classify",
-}
-
-// NewInfoProductClassifyDao creates and returns a new DAO object for table data access.
-func NewInfoProductClassifyDao() *InfoProductClassifyDao {
-	return &InfoProductClassifyDao{
-		Group:   "default",
-		Table:   "info_product_classify",
-		Columns: infoProductClassifyColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoProductClassifyDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoProductClassifyDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoProductClassifyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoProductClassifyDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoProductClassifyDao struct {
+	Table   string                     // Table is the underlying table name of the DAO.
+	Group   string                     // Group is the database configuration group name of current DAO.
+	Columns InfoProductClassifyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoProductClassifyColumns defines and stores column names for table info_product_classify.
+type InfoProductClassifyColumns struct {
+	ClassifyId string // 分类id
+	Classify   string // 分类名
+}
+
+//  infoProductClassifyColumns holds the columns for table info_product_classify.
+var infoProductClassifyColumns = InfoProductClassifyColumns{
+	ClassifyId: "classify_id",
+	Classify:   "classify",
+}
+
+// NewInfoProductClassifyDao creates and returns a new DAO object for table data access.
+func NewInfoProductClassifyDao() *InfoProductClassifyDao {
+	return &InfoProductClassifyDao{
+		Group:   "default",
+		Table:   "info_product_classify",
+		Columns: infoProductClassifyColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoProductClassifyDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoProductClassifyDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoProductClassifyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_product_type.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoProductTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoProductTypeDao struct {
-	Table   string                 // Table is the underlying table name of the DAO.
-	Group   string                 // Group is the database configuration group name of current DAO.
-	Columns InfoProductTypeColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoProductTypeColumns defines and stores column names for table info_product_type.
-type InfoProductTypeColumns struct {
-	ProductTypeId string // 商品类型id
-	ProductType   string // 商品类型
-}
-
-//  infoProductTypeColumns holds the columns for table info_product_type.
-var infoProductTypeColumns = InfoProductTypeColumns{
-	ProductTypeId: "product_type_id",
-	ProductType:   "product_type",
-}
-
-// NewInfoProductTypeDao creates and returns a new DAO object for table data access.
-func NewInfoProductTypeDao() *InfoProductTypeDao {
-	return &InfoProductTypeDao{
-		Group:   "default",
-		Table:   "info_product_type",
-		Columns: infoProductTypeColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoProductTypeDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoProductTypeDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoProductTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoProductTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoProductTypeDao struct {
+	Table   string                 // Table is the underlying table name of the DAO.
+	Group   string                 // Group is the database configuration group name of current DAO.
+	Columns InfoProductTypeColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoProductTypeColumns defines and stores column names for table info_product_type.
+type InfoProductTypeColumns struct {
+	ProductTypeId string // 商品类型id
+	ProductType   string // 商品类型
+}
+
+//  infoProductTypeColumns holds the columns for table info_product_type.
+var infoProductTypeColumns = InfoProductTypeColumns{
+	ProductTypeId: "product_type_id",
+	ProductType:   "product_type",
+}
+
+// NewInfoProductTypeDao creates and returns a new DAO object for table data access.
+func NewInfoProductTypeDao() *InfoProductTypeDao {
+	return &InfoProductTypeDao{
+		Group:   "default",
+		Table:   "info_product_type",
+		Columns: infoProductTypeColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoProductTypeDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoProductTypeDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoProductTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 65 - 65
app/dao/internal/info_region.go

@@ -1,65 +1,65 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoRegionDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoRegionDao struct {
-	Table   string            // Table is the underlying table name of the DAO.
-	Group   string            // Group is the database configuration group name of current DAO.
-	Columns InfoRegionColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoRegionColumns defines and stores column names for table info_region.
-type InfoRegionColumns struct {
-	RegionId    string //
-	SelfCode    string //
-	RegionLevel string //
-	ParentCode  string //
-	RegionName  string //
-}
-
-//  infoRegionColumns holds the columns for table info_region.
-var infoRegionColumns = InfoRegionColumns{
-	RegionId:    "region_id",
-	SelfCode:    "self_code",
-	RegionLevel: "region_level",
-	ParentCode:  "parent_code",
-	RegionName:  "region_name",
-}
-
-// NewInfoRegionDao creates and returns a new DAO object for table data access.
-func NewInfoRegionDao() *InfoRegionDao {
-	return &InfoRegionDao{
-		Group:   "default",
-		Table:   "info_region",
-		Columns: infoRegionColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoRegionDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoRegionDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoRegionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoRegionDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoRegionDao struct {
+	Table   string            // Table is the underlying table name of the DAO.
+	Group   string            // Group is the database configuration group name of current DAO.
+	Columns InfoRegionColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoRegionColumns defines and stores column names for table info_region.
+type InfoRegionColumns struct {
+	RegionId    string //
+	SelfCode    string //
+	RegionLevel string //
+	ParentCode  string //
+	RegionName  string //
+}
+
+//  infoRegionColumns holds the columns for table info_region.
+var infoRegionColumns = InfoRegionColumns{
+	RegionId:    "region_id",
+	SelfCode:    "self_code",
+	RegionLevel: "region_level",
+	ParentCode:  "parent_code",
+	RegionName:  "region_name",
+}
+
+// NewInfoRegionDao creates and returns a new DAO object for table data access.
+func NewInfoRegionDao() *InfoRegionDao {
+	return &InfoRegionDao{
+		Group:   "default",
+		Table:   "info_region",
+		Columns: infoRegionColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoRegionDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoRegionDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoRegionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_sectask_stage.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoSectaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoSectaskStageDao struct {
-	Table   string                  // Table is the underlying table name of the DAO.
-	Group   string                  // Group is the database configuration group name of current DAO.
-	Columns InfoSectaskStageColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoSectaskStageColumns defines and stores column names for table info_sectask_stage.
-type InfoSectaskStageColumns struct {
-	TaskStageId string // 选品任务阶段id
-	TaskStage   string // 选品任务阶段
-}
-
-//  infoSectaskStageColumns holds the columns for table info_sectask_stage.
-var infoSectaskStageColumns = InfoSectaskStageColumns{
-	TaskStageId: "task_stage_id",
-	TaskStage:   "task_stage",
-}
-
-// NewInfoSectaskStageDao creates and returns a new DAO object for table data access.
-func NewInfoSectaskStageDao() *InfoSectaskStageDao {
-	return &InfoSectaskStageDao{
-		Group:   "default",
-		Table:   "info_sectask_stage",
-		Columns: infoSectaskStageColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoSectaskStageDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoSectaskStageDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoSectaskStageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoSectaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoSectaskStageDao struct {
+	Table   string                  // Table is the underlying table name of the DAO.
+	Group   string                  // Group is the database configuration group name of current DAO.
+	Columns InfoSectaskStageColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoSectaskStageColumns defines and stores column names for table info_sectask_stage.
+type InfoSectaskStageColumns struct {
+	TaskStageId string // 选品任务阶段id
+	TaskStage   string // 选品任务阶段
+}
+
+//  infoSectaskStageColumns holds the columns for table info_sectask_stage.
+var infoSectaskStageColumns = InfoSectaskStageColumns{
+	TaskStageId: "task_stage_id",
+	TaskStage:   "task_stage",
+}
+
+// NewInfoSectaskStageDao creates and returns a new DAO object for table data access.
+func NewInfoSectaskStageDao() *InfoSectaskStageDao {
+	return &InfoSectaskStageDao{
+		Group:   "default",
+		Table:   "info_sectask_stage",
+		Columns: infoSectaskStageColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoSectaskStageDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoSectaskStageDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoSectaskStageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_talent_age_bracket.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoTalentAgeBracketDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoTalentAgeBracketDao struct {
-	Table   string                      // Table is the underlying table name of the DAO.
-	Group   string                      // Group is the database configuration group name of current DAO.
-	Columns InfoTalentAgeBracketColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoTalentAgeBracketColumns defines and stores column names for table info_talent_age_bracket.
-type InfoTalentAgeBracketColumns struct {
-	AgeAid             string //
-	AgeBracketDiscribe string //
-}
-
-//  infoTalentAgeBracketColumns holds the columns for table info_talent_age_bracket.
-var infoTalentAgeBracketColumns = InfoTalentAgeBracketColumns{
-	AgeAid:             "age_aid",
-	AgeBracketDiscribe: "age_bracket_discribe",
-}
-
-// NewInfoTalentAgeBracketDao creates and returns a new DAO object for table data access.
-func NewInfoTalentAgeBracketDao() *InfoTalentAgeBracketDao {
-	return &InfoTalentAgeBracketDao{
-		Group:   "default",
-		Table:   "info_talent_age_bracket",
-		Columns: infoTalentAgeBracketColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoTalentAgeBracketDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoTalentAgeBracketDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoTalentAgeBracketDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoTalentAgeBracketDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoTalentAgeBracketDao struct {
+	Table   string                      // Table is the underlying table name of the DAO.
+	Group   string                      // Group is the database configuration group name of current DAO.
+	Columns InfoTalentAgeBracketColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoTalentAgeBracketColumns defines and stores column names for table info_talent_age_bracket.
+type InfoTalentAgeBracketColumns struct {
+	AgeAid             string //
+	AgeBracketDiscribe string //
+}
+
+//  infoTalentAgeBracketColumns holds the columns for table info_talent_age_bracket.
+var infoTalentAgeBracketColumns = InfoTalentAgeBracketColumns{
+	AgeAid:             "age_aid",
+	AgeBracketDiscribe: "age_bracket_discribe",
+}
+
+// NewInfoTalentAgeBracketDao creates and returns a new DAO object for table data access.
+func NewInfoTalentAgeBracketDao() *InfoTalentAgeBracketDao {
+	return &InfoTalentAgeBracketDao{
+		Group:   "default",
+		Table:   "info_talent_age_bracket",
+		Columns: infoTalentAgeBracketColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoTalentAgeBracketDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoTalentAgeBracketDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoTalentAgeBracketDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_talent_skilled_area.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoTalentSkilledAreaDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoTalentSkilledAreaDao struct {
-	Table   string                       // Table is the underlying table name of the DAO.
-	Group   string                       // Group is the database configuration group name of current DAO.
-	Columns InfoTalentSkilledAreaColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoTalentSkilledAreaColumns defines and stores column names for table info_talent_skilled_area.
-type InfoTalentSkilledAreaColumns struct {
-	SkilledId    string //
-	SkilledAreas string // 擅长领域
-}
-
-//  infoTalentSkilledAreaColumns holds the columns for table info_talent_skilled_area.
-var infoTalentSkilledAreaColumns = InfoTalentSkilledAreaColumns{
-	SkilledId:    "skilled_id",
-	SkilledAreas: "skilled_areas",
-}
-
-// NewInfoTalentSkilledAreaDao creates and returns a new DAO object for table data access.
-func NewInfoTalentSkilledAreaDao() *InfoTalentSkilledAreaDao {
-	return &InfoTalentSkilledAreaDao{
-		Group:   "default",
-		Table:   "info_talent_skilled_area",
-		Columns: infoTalentSkilledAreaColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoTalentSkilledAreaDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoTalentSkilledAreaDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoTalentSkilledAreaDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoTalentSkilledAreaDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoTalentSkilledAreaDao struct {
+	Table   string                       // Table is the underlying table name of the DAO.
+	Group   string                       // Group is the database configuration group name of current DAO.
+	Columns InfoTalentSkilledAreaColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoTalentSkilledAreaColumns defines and stores column names for table info_talent_skilled_area.
+type InfoTalentSkilledAreaColumns struct {
+	SkilledId    string //
+	SkilledAreas string // 擅长领域
+}
+
+//  infoTalentSkilledAreaColumns holds the columns for table info_talent_skilled_area.
+var infoTalentSkilledAreaColumns = InfoTalentSkilledAreaColumns{
+	SkilledId:    "skilled_id",
+	SkilledAreas: "skilled_areas",
+}
+
+// NewInfoTalentSkilledAreaDao creates and returns a new DAO object for table data access.
+func NewInfoTalentSkilledAreaDao() *InfoTalentSkilledAreaDao {
+	return &InfoTalentSkilledAreaDao{
+		Group:   "default",
+		Table:   "info_talent_skilled_area",
+		Columns: infoTalentSkilledAreaColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoTalentSkilledAreaDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoTalentSkilledAreaDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoTalentSkilledAreaDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_talent_skin_type.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoTalentSkinTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoTalentSkinTypeDao struct {
-	Table   string                    // Table is the underlying table name of the DAO.
-	Group   string                    // Group is the database configuration group name of current DAO.
-	Columns InfoTalentSkinTypeColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoTalentSkinTypeColumns defines and stores column names for table info_talent_skin_type.
-type InfoTalentSkinTypeColumns struct {
-	SkinId           string //
-	SkinTypeDescribe string //
-}
-
-//  infoTalentSkinTypeColumns holds the columns for table info_talent_skin_type.
-var infoTalentSkinTypeColumns = InfoTalentSkinTypeColumns{
-	SkinId:           "skin_id",
-	SkinTypeDescribe: "skin_type_describe",
-}
-
-// NewInfoTalentSkinTypeDao creates and returns a new DAO object for table data access.
-func NewInfoTalentSkinTypeDao() *InfoTalentSkinTypeDao {
-	return &InfoTalentSkinTypeDao{
-		Group:   "default",
-		Table:   "info_talent_skin_type",
-		Columns: infoTalentSkinTypeColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoTalentSkinTypeDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoTalentSkinTypeDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoTalentSkinTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoTalentSkinTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoTalentSkinTypeDao struct {
+	Table   string                    // Table is the underlying table name of the DAO.
+	Group   string                    // Group is the database configuration group name of current DAO.
+	Columns InfoTalentSkinTypeColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoTalentSkinTypeColumns defines and stores column names for table info_talent_skin_type.
+type InfoTalentSkinTypeColumns struct {
+	SkinId           string //
+	SkinTypeDescribe string //
+}
+
+//  infoTalentSkinTypeColumns holds the columns for table info_talent_skin_type.
+var infoTalentSkinTypeColumns = InfoTalentSkinTypeColumns{
+	SkinId:           "skin_id",
+	SkinTypeDescribe: "skin_type_describe",
+}
+
+// NewInfoTalentSkinTypeDao creates and returns a new DAO object for table data access.
+func NewInfoTalentSkinTypeDao() *InfoTalentSkinTypeDao {
+	return &InfoTalentSkinTypeDao{
+		Group:   "default",
+		Table:   "info_talent_skin_type",
+		Columns: infoTalentSkinTypeColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoTalentSkinTypeDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoTalentSkinTypeDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoTalentSkinTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 59 - 59
app/dao/internal/info_task_stage.go

@@ -1,59 +1,59 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoTaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoTaskStageDao struct {
-	Table   string               // Table is the underlying table name of the DAO.
-	Group   string               // Group is the database configuration group name of current DAO.
-	Columns InfoTaskStageColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoTaskStageColumns defines and stores column names for table info_task_stage.
-type InfoTaskStageColumns struct {
-	TaskStageId string // 任务阶段id
-	TaskStage   string // 任务阶段
-}
-
-//  infoTaskStageColumns holds the columns for table info_task_stage.
-var infoTaskStageColumns = InfoTaskStageColumns{
-	TaskStageId: "task_stage_id",
-	TaskStage:   "task_stage",
-}
-
-// NewInfoTaskStageDao creates and returns a new DAO object for table data access.
-func NewInfoTaskStageDao() *InfoTaskStageDao {
-	return &InfoTaskStageDao{
-		Group:   "default",
-		Table:   "info_task_stage",
-		Columns: infoTaskStageColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoTaskStageDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoTaskStageDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoTaskStageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoTaskStageDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoTaskStageDao struct {
+	Table   string               // Table is the underlying table name of the DAO.
+	Group   string               // Group is the database configuration group name of current DAO.
+	Columns InfoTaskStageColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoTaskStageColumns defines and stores column names for table info_task_stage.
+type InfoTaskStageColumns struct {
+	TaskStageId string // 任务阶段id
+	TaskStage   string // 任务阶段
+}
+
+//  infoTaskStageColumns holds the columns for table info_task_stage.
+var infoTaskStageColumns = InfoTaskStageColumns{
+	TaskStageId: "task_stage_id",
+	TaskStage:   "task_stage",
+}
+
+// NewInfoTaskStageDao creates and returns a new DAO object for table data access.
+func NewInfoTaskStageDao() *InfoTaskStageDao {
+	return &InfoTaskStageDao{
+		Group:   "default",
+		Table:   "info_task_stage",
+		Columns: infoTaskStageColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoTaskStageDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoTaskStageDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoTaskStageDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 63 - 63
app/dao/internal/info_third_platform.go

@@ -1,63 +1,63 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoThirdPlatformDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoThirdPlatformDao struct {
-	Table   string                   // Table is the underlying table name of the DAO.
-	Group   string                   // Group is the database configuration group name of current DAO.
-	Columns InfoThirdPlatformColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoThirdPlatformColumns defines and stores column names for table info_third_platform.
-type InfoThirdPlatformColumns struct {
-	PlatformId        string // 平台id,主键
-	PlatformName      string // 平台名
-	PlatformIcon      string // 平台图标url
-	PlatformTableName string // 平台数据表表名
-}
-
-//  infoThirdPlatformColumns holds the columns for table info_third_platform.
-var infoThirdPlatformColumns = InfoThirdPlatformColumns{
-	PlatformId:        "platform_id",
-	PlatformName:      "platform_name",
-	PlatformIcon:      "platform_icon",
-	PlatformTableName: "platform_table_name",
-}
-
-// NewInfoThirdPlatformDao creates and returns a new DAO object for table data access.
-func NewInfoThirdPlatformDao() *InfoThirdPlatformDao {
-	return &InfoThirdPlatformDao{
-		Group:   "default",
-		Table:   "info_third_platform",
-		Columns: infoThirdPlatformColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoThirdPlatformDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoThirdPlatformDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoThirdPlatformDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoThirdPlatformDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoThirdPlatformDao struct {
+	Table   string                   // Table is the underlying table name of the DAO.
+	Group   string                   // Group is the database configuration group name of current DAO.
+	Columns InfoThirdPlatformColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoThirdPlatformColumns defines and stores column names for table info_third_platform.
+type InfoThirdPlatformColumns struct {
+	PlatformId        string // 平台id,主键
+	PlatformName      string // 平台名
+	PlatformIcon      string // 平台图标url
+	PlatformTableName string // 平台数据表表名
+}
+
+//  infoThirdPlatformColumns holds the columns for table info_third_platform.
+var infoThirdPlatformColumns = InfoThirdPlatformColumns{
+	PlatformId:        "platform_id",
+	PlatformName:      "platform_name",
+	PlatformIcon:      "platform_icon",
+	PlatformTableName: "platform_table_name",
+}
+
+// NewInfoThirdPlatformDao creates and returns a new DAO object for table data access.
+func NewInfoThirdPlatformDao() *InfoThirdPlatformDao {
+	return &InfoThirdPlatformDao{
+		Group:   "default",
+		Table:   "info_third_platform",
+		Columns: infoThirdPlatformColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoThirdPlatformDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoThirdPlatformDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoThirdPlatformDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 77 - 77
app/dao/internal/info_youngee_strategy.go

@@ -1,77 +1,77 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// InfoYoungeeStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
-type InfoYoungeeStrategyDao struct {
-	Table   string                     // Table is the underlying table name of the DAO.
-	Group   string                     // Group is the database configuration group name of current DAO.
-	Columns InfoYoungeeStrategyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// InfoYoungeeStrategyColumns defines and stores column names for table info_youngee_strategy.
-type InfoYoungeeStrategyColumns struct {
-	Id          string // id
-	ProjectType string // 项目类型,0表示不限,1为全流程项目,2为选品项目
-	StrategyId  string // 定价策略编号
-	Platform    string // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
-	TaskType    string // 任务形式,实体商品寄拍、虚拟产品测评、线下探店打卡、悬赏任务、纯佣带货
-	ContentType string // 内容形式 图文、视频、直播
-	Reason      string // 奖励原因,成团-新用户、成团-老用户、成单-申请成功、成单-结案完毕;
-	Points      string // 积分奖励
-	Cash        string // 现金奖励
-	Status      string // '定价策略当前状态,0表示正常,1表示禁用',
-	CreateAt    string // 创建时间
-}
-
-//  infoYoungeeStrategyColumns holds the columns for table info_youngee_strategy.
-var infoYoungeeStrategyColumns = InfoYoungeeStrategyColumns{
-	Id:          "id",
-	ProjectType: "project_type",
-	StrategyId:  "strategyId",
-	Platform:    "platform",
-	TaskType:    "task_type",
-	ContentType: "content_type",
-	Reason:      "reason",
-	Points:      "points",
-	Cash:        "cash",
-	Status:      "status",
-	CreateAt:    "create_at",
-}
-
-// NewInfoYoungeeStrategyDao creates and returns a new DAO object for table data access.
-func NewInfoYoungeeStrategyDao() *InfoYoungeeStrategyDao {
-	return &InfoYoungeeStrategyDao{
-		Group:   "default",
-		Table:   "info_youngee_strategy",
-		Columns: infoYoungeeStrategyColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *InfoYoungeeStrategyDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *InfoYoungeeStrategyDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *InfoYoungeeStrategyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// InfoYoungeeStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
+type InfoYoungeeStrategyDao struct {
+	Table   string                     // Table is the underlying table name of the DAO.
+	Group   string                     // Group is the database configuration group name of current DAO.
+	Columns InfoYoungeeStrategyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// InfoYoungeeStrategyColumns defines and stores column names for table info_youngee_strategy.
+type InfoYoungeeStrategyColumns struct {
+	Id          string // id
+	ProjectType string // 项目类型,0表示不限,1为全流程项目,2为选品项目
+	StrategyId  string // 定价策略编号
+	Platform    string // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
+	TaskType    string // 任务形式,实体商品寄拍、虚拟产品测评、线下探店打卡、悬赏任务、纯佣带货
+	ContentType string // 内容形式 图文、视频、直播
+	Reason      string // 奖励原因,成团-新用户、成团-老用户、成单-申请成功、成单-结案完毕;
+	Points      string // 积分奖励
+	Cash        string // 现金奖励
+	Status      string // '定价策略当前状态,0表示正常,1表示禁用',
+	CreateAt    string // 创建时间
+}
+
+//  infoYoungeeStrategyColumns holds the columns for table info_youngee_strategy.
+var infoYoungeeStrategyColumns = InfoYoungeeStrategyColumns{
+	Id:          "id",
+	ProjectType: "project_type",
+	StrategyId:  "strategyId",
+	Platform:    "platform",
+	TaskType:    "task_type",
+	ContentType: "content_type",
+	Reason:      "reason",
+	Points:      "points",
+	Cash:        "cash",
+	Status:      "status",
+	CreateAt:    "create_at",
+}
+
+// NewInfoYoungeeStrategyDao creates and returns a new DAO object for table data access.
+func NewInfoYoungeeStrategyDao() *InfoYoungeeStrategyDao {
+	return &InfoYoungeeStrategyDao{
+		Group:   "default",
+		Table:   "info_youngee_strategy",
+		Columns: infoYoungeeStrategyColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *InfoYoungeeStrategyDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *InfoYoungeeStrategyDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *InfoYoungeeStrategyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 63 - 63
app/dao/internal/order_answer.go

@@ -1,63 +1,63 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderAnswerDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderAnswerDao struct {
-	Table   string             // Table is the underlying table name of the DAO.
-	Group   string             // Group is the database configuration group name of current DAO.
-	Columns OrderAnswerColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderAnswerColumns defines and stores column names for table order_answer.
-type OrderAnswerColumns struct {
-	TraId                string //
-	OrderId              string // 报名信息(order_info)id
-	AdditionalQuestionId string // task_require_additional_tallent_info表中的id,即问题
-	QuestionAnswer       string // 问题答案,单选或多选为选项的id,问题为输入框时则为文本,为图片上传时则为上传后的图片url
-}
-
-//  orderAnswerColumns holds the columns for table order_answer.
-var orderAnswerColumns = OrderAnswerColumns{
-	TraId:                "tra_id",
-	OrderId:              "order_id",
-	AdditionalQuestionId: "additional_question_id",
-	QuestionAnswer:       "question_answer",
-}
-
-// NewOrderAnswerDao creates and returns a new DAO object for table data access.
-func NewOrderAnswerDao() *OrderAnswerDao {
-	return &OrderAnswerDao{
-		Group:   "default",
-		Table:   "order_answer",
-		Columns: orderAnswerColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderAnswerDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderAnswerDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderAnswerDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderAnswerDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderAnswerDao struct {
+	Table   string             // Table is the underlying table name of the DAO.
+	Group   string             // Group is the database configuration group name of current DAO.
+	Columns OrderAnswerColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderAnswerColumns defines and stores column names for table order_answer.
+type OrderAnswerColumns struct {
+	TraId                string //
+	OrderId              string // 报名信息(order_info)id
+	AdditionalQuestionId string // task_require_additional_tallent_info表中的id,即问题
+	QuestionAnswer       string // 问题答案,单选或多选为选项的id,问题为输入框时则为文本,为图片上传时则为上传后的图片url
+}
+
+//  orderAnswerColumns holds the columns for table order_answer.
+var orderAnswerColumns = OrderAnswerColumns{
+	TraId:                "tra_id",
+	OrderId:              "order_id",
+	AdditionalQuestionId: "additional_question_id",
+	QuestionAnswer:       "question_answer",
+}
+
+// NewOrderAnswerDao creates and returns a new DAO object for table data access.
+func NewOrderAnswerDao() *OrderAnswerDao {
+	return &OrderAnswerDao{
+		Group:   "default",
+		Table:   "order_answer",
+		Columns: orderAnswerColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderAnswerDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderAnswerDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderAnswerDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/order_article_review.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderArticleReviewDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderArticleReviewDao struct {
-	Table   string                    // Table is the underlying table name of the DAO.
-	Group   string                    // Group is the database configuration group name of current DAO.
-	Columns OrderArticleReviewColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderArticleReviewColumns defines and stores column names for table order_article_review.
-type OrderArticleReviewColumns struct {
-	OrderArticleId string // 作品审核id
-	OrderId        string // 订单id(order_info)id
-	ArticleLink    string // 作品链接列表
-	AuditStatus    string // 审核状态 1待审核 2审核通过 3审核驳回
-	AuditOpinion   string // 作品审核意见
-	CreatedAt      string // 创建时间(发货时间)
-	ConfirmTime    string // 确认收获时间
-}
-
-//  orderArticleReviewColumns holds the columns for table order_article_review.
-var orderArticleReviewColumns = OrderArticleReviewColumns{
-	OrderArticleId: "order_article_id",
-	OrderId:        "order_id",
-	ArticleLink:    "article_link",
-	AuditStatus:    "audit_status",
-	AuditOpinion:   "audit_opinion",
-	CreatedAt:      "created_at",
-	ConfirmTime:    "confirm_time",
-}
-
-// NewOrderArticleReviewDao creates and returns a new DAO object for table data access.
-func NewOrderArticleReviewDao() *OrderArticleReviewDao {
-	return &OrderArticleReviewDao{
-		Group:   "default",
-		Table:   "order_article_review",
-		Columns: orderArticleReviewColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderArticleReviewDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderArticleReviewDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderArticleReviewDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderArticleReviewDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderArticleReviewDao struct {
+	Table   string                    // Table is the underlying table name of the DAO.
+	Group   string                    // Group is the database configuration group name of current DAO.
+	Columns OrderArticleReviewColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderArticleReviewColumns defines and stores column names for table order_article_review.
+type OrderArticleReviewColumns struct {
+	OrderArticleId string // 作品审核id
+	OrderId        string // 订单id(order_info)id
+	ArticleLink    string // 作品链接列表
+	AuditStatus    string // 审核状态 1待审核 2审核通过 3审核驳回
+	AuditOpinion   string // 作品审核意见
+	CreatedAt      string // 创建时间(发货时间)
+	ConfirmTime    string // 确认收获时间
+}
+
+//  orderArticleReviewColumns holds the columns for table order_article_review.
+var orderArticleReviewColumns = OrderArticleReviewColumns{
+	OrderArticleId: "order_article_id",
+	OrderId:        "order_id",
+	ArticleLink:    "article_link",
+	AuditStatus:    "audit_status",
+	AuditOpinion:   "audit_opinion",
+	CreatedAt:      "created_at",
+	ConfirmTime:    "confirm_time",
+}
+
+// NewOrderArticleReviewDao creates and returns a new DAO object for table data access.
+func NewOrderArticleReviewDao() *OrderArticleReviewDao {
+	return &OrderArticleReviewDao{
+		Group:   "default",
+		Table:   "order_article_review",
+		Columns: orderArticleReviewColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderArticleReviewDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderArticleReviewDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderArticleReviewDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 74 - 74
app/dao/internal/order_data_quality.go

@@ -1,75 +1,75 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderDataQualityDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderDataQualityDao struct {
-	Table   string          // Table is the underlying table name of the DAO.
-	Group   string          // Group is the database configuration group name of current DAO.
-	Columns OrderDataQualityColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderDataQualityColumns defines and stores column names for table order_data_quality.
-type OrderDataQualityColumns struct {
-	DataQualityId  string // 数据质检id              
-    OrderId        string // 报名信息(order_info)id  
-    DataLink       string // 数据截图                
-    DataReview     string // 数据质检审核意见        
-    CreatedAt      string // 创建时间(发货时间)      
-    ConfirmTime    string // 确认收获时间            
-    LikeNumber     string // 点赞数                  
-    LittleEye      string // 小眼睛                  
-    CommitNum      string // 评论数                  
-    CollectNum     string // 收藏数
-}
-
-//  orderDataQualityColumns holds the columns for table order_data_quality.
-var orderDataQualityColumns = OrderDataQualityColumns{
-	DataQualityId: "data_quality_id",  
-            OrderId:       "order_id",         
-            DataLink:      "data_link",        
-            DataReview:    "data_review",      
-            CreatedAt:     "created_at",       
-            ConfirmTime:   "confirm_time",     
-            LikeNumber:    "like_number",      
-            LittleEye:     "little_eye",       
-            CommitNum:     "commit_num",       
-            CollectNum:    "collect_num",
-}
-
-// NewOrderDataQualityDao creates and returns a new DAO object for table data access.
-func NewOrderDataQualityDao() *OrderDataQualityDao {
-	return &OrderDataQualityDao{
-		Group:   "default",
-		Table:   "order_data_quality",
-		Columns: orderDataQualityColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderDataQualityDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderDataQualityDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderDataQualityDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderDataQualityDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderDataQualityDao struct {
+	Table   string          // Table is the underlying table name of the DAO.
+	Group   string          // Group is the database configuration group name of current DAO.
+	Columns OrderDataQualityColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderDataQualityColumns defines and stores column names for table order_data_quality.
+type OrderDataQualityColumns struct {
+	DataQualityId  string // 数据质检id              
+    OrderId        string // 报名信息(order_info)id  
+    DataLink       string // 数据截图                
+    DataReview     string // 数据质检审核意见        
+    CreatedAt      string // 创建时间(发货时间)      
+    ConfirmTime    string // 确认收获时间            
+    LikeNumber     string // 点赞数                  
+    LittleEye      string // 小眼睛                  
+    CommitNum      string // 评论数                  
+    CollectNum     string // 收藏数
+}
+
+//  orderDataQualityColumns holds the columns for table order_data_quality.
+var orderDataQualityColumns = OrderDataQualityColumns{
+	DataQualityId: "data_quality_id",  
+            OrderId:       "order_id",         
+            DataLink:      "data_link",        
+            DataReview:    "data_review",      
+            CreatedAt:     "created_at",       
+            ConfirmTime:   "confirm_time",     
+            LikeNumber:    "like_number",      
+            LittleEye:     "little_eye",       
+            CommitNum:     "commit_num",       
+            CollectNum:    "collect_num",
+}
+
+// NewOrderDataQualityDao creates and returns a new DAO object for table data access.
+func NewOrderDataQualityDao() *OrderDataQualityDao {
+	return &OrderDataQualityDao{
+		Group:   "default",
+		Table:   "order_data_quality",
+		Columns: orderDataQualityColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderDataQualityDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderDataQualityDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderDataQualityDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
 }

+ 77 - 77
app/dao/internal/order_data_review.go

@@ -1,77 +1,77 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderDataReviewDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderDataReviewDao struct {
-	Table   string                 // Table is the underlying table name of the DAO.
-	Group   string                 // Group is the database configuration group name of current DAO.
-	Columns OrderDataReviewColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderDataReviewColumns defines and stores column names for table order_data_review.
-type OrderDataReviewColumns struct {
-	DataQualityId string // 数据质检id
-	OrderId       string // 报名信息(order_info)id
-	LikeNumber    string // 点赞数
-	LittleEye     string // 小眼睛
-	CommitNum     string // 评论数
-	CollectNum    string // 收藏数
-	DataLink      string // 数据截图列表
-	AuditStatus   string // 审核状态 1待审核 2审核通过 3审核失败
-	AuditOpinion  string // 数据质检审核意见
-	CreatedAt     string // 创建时间(发货时间)
-	ConfirmTime   string // 确认收获时间
-}
-
-//  orderDataReviewColumns holds the columns for table order_data_review.
-var orderDataReviewColumns = OrderDataReviewColumns{
-	DataQualityId: "data_quality_id",
-	OrderId:       "order_id",
-	LikeNumber:    "like_number",
-	LittleEye:     "little_eye",
-	CommitNum:     "commit_num",
-	CollectNum:    "collect_num",
-	DataLink:      "data_link",
-	AuditStatus:   "audit_status",
-	AuditOpinion:  "audit_opinion",
-	CreatedAt:     "created_at",
-	ConfirmTime:   "confirm_time",
-}
-
-// NewOrderDataReviewDao creates and returns a new DAO object for table data access.
-func NewOrderDataReviewDao() *OrderDataReviewDao {
-	return &OrderDataReviewDao{
-		Group:   "default",
-		Table:   "order_data_review",
-		Columns: orderDataReviewColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderDataReviewDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderDataReviewDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderDataReviewDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderDataReviewDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderDataReviewDao struct {
+	Table   string                 // Table is the underlying table name of the DAO.
+	Group   string                 // Group is the database configuration group name of current DAO.
+	Columns OrderDataReviewColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderDataReviewColumns defines and stores column names for table order_data_review.
+type OrderDataReviewColumns struct {
+	DataQualityId string // 数据质检id
+	OrderId       string // 报名信息(order_info)id
+	LikeNumber    string // 点赞数
+	LittleEye     string // 小眼睛
+	CommitNum     string // 评论数
+	CollectNum    string // 收藏数
+	DataLink      string // 数据截图列表
+	AuditStatus   string // 审核状态 1待审核 2审核通过 3审核失败
+	AuditOpinion  string // 数据质检审核意见
+	CreatedAt     string // 创建时间(发货时间)
+	ConfirmTime   string // 确认收获时间
+}
+
+//  orderDataReviewColumns holds the columns for table order_data_review.
+var orderDataReviewColumns = OrderDataReviewColumns{
+	DataQualityId: "data_quality_id",
+	OrderId:       "order_id",
+	LikeNumber:    "like_number",
+	LittleEye:     "little_eye",
+	CommitNum:     "commit_num",
+	CollectNum:    "collect_num",
+	DataLink:      "data_link",
+	AuditStatus:   "audit_status",
+	AuditOpinion:  "audit_opinion",
+	CreatedAt:     "created_at",
+	ConfirmTime:   "confirm_time",
+}
+
+// NewOrderDataReviewDao creates and returns a new DAO object for table data access.
+func NewOrderDataReviewDao() *OrderDataReviewDao {
+	return &OrderDataReviewDao{
+		Group:   "default",
+		Table:   "order_data_review",
+		Columns: orderDataReviewColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderDataReviewDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderDataReviewDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderDataReviewDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 79 - 79
app/dao/internal/order_delivery_info.go

@@ -1,79 +1,79 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderDeliveryInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderDeliveryInfoDao struct {
-	Table   string                   // Table is the underlying table name of the DAO.
-	Group   string                   // Group is the database configuration group name of current DAO.
-	Columns OrderDeliveryInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderDeliveryInfoColumns defines and stores column names for table order_delivery_info.
-type OrderDeliveryInfoColumns struct {
-	OrderDeliveryId  string // 执行补充信息
-	OrderId          string // 订单id
-	OrderAddressee   string // 收货人
-	OrderPhone       string // 订单所填手机号
-	RegionCode       string // 区域码
-	OrderAddress     string // 订单地址
-	LogisticsCompany string // 物流公司
-	TrackingNum      string // 物流单号
-	CreatedAt        string // 创建时间
-	ConfirmTime      string // 确认收获时间
-	DeliveryTime     string // 发货时间
-	DeliveryStatus   string // 发货状态   1是未发货,2是已发货 3已收货
-}
-
-//  orderDeliveryInfoColumns holds the columns for table order_delivery_info.
-var orderDeliveryInfoColumns = OrderDeliveryInfoColumns{
-	OrderDeliveryId:  "order_delivery_id",
-	OrderId:          "order_id",
-	OrderAddressee:   "order_addressee",
-	OrderPhone:       "order_phone",
-	RegionCode:       "region_code",
-	OrderAddress:     "order_address",
-	LogisticsCompany: "logistics_company",
-	TrackingNum:      "tracking_num",
-	CreatedAt:        "created_at",
-	ConfirmTime:      "confirm_time",
-	DeliveryTime:     "delivery_time",
-	DeliveryStatus:   "delivery_status",
-}
-
-// NewOrderDeliveryInfoDao creates and returns a new DAO object for table data access.
-func NewOrderDeliveryInfoDao() *OrderDeliveryInfoDao {
-	return &OrderDeliveryInfoDao{
-		Group:   "default",
-		Table:   "order_delivery_info",
-		Columns: orderDeliveryInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderDeliveryInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderDeliveryInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderDeliveryInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderDeliveryInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderDeliveryInfoDao struct {
+	Table   string                   // Table is the underlying table name of the DAO.
+	Group   string                   // Group is the database configuration group name of current DAO.
+	Columns OrderDeliveryInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderDeliveryInfoColumns defines and stores column names for table order_delivery_info.
+type OrderDeliveryInfoColumns struct {
+	OrderDeliveryId  string // 执行补充信息
+	OrderId          string // 订单id
+	OrderAddressee   string // 收货人
+	OrderPhone       string // 订单所填手机号
+	RegionCode       string // 区域码
+	OrderAddress     string // 订单地址
+	LogisticsCompany string // 物流公司
+	TrackingNum      string // 物流单号
+	CreatedAt        string // 创建时间
+	ConfirmTime      string // 确认收获时间
+	DeliveryTime     string // 发货时间
+	DeliveryStatus   string // 发货状态   1是未发货,2是已发货 3已收货
+}
+
+//  orderDeliveryInfoColumns holds the columns for table order_delivery_info.
+var orderDeliveryInfoColumns = OrderDeliveryInfoColumns{
+	OrderDeliveryId:  "order_delivery_id",
+	OrderId:          "order_id",
+	OrderAddressee:   "order_addressee",
+	OrderPhone:       "order_phone",
+	RegionCode:       "region_code",
+	OrderAddress:     "order_address",
+	LogisticsCompany: "logistics_company",
+	TrackingNum:      "tracking_num",
+	CreatedAt:        "created_at",
+	ConfirmTime:      "confirm_time",
+	DeliveryTime:     "delivery_time",
+	DeliveryStatus:   "delivery_status",
+}
+
+// NewOrderDeliveryInfoDao creates and returns a new DAO object for table data access.
+func NewOrderDeliveryInfoDao() *OrderDeliveryInfoDao {
+	return &OrderDeliveryInfoDao{
+		Group:   "default",
+		Table:   "order_delivery_info",
+		Columns: orderDeliveryInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderDeliveryInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderDeliveryInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderDeliveryInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/order_draft_review.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderDraftReviewDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderDraftReviewDao struct {
-	Table   string                  // Table is the underlying table name of the DAO.
-	Group   string                  // Group is the database configuration group name of current DAO.
-	Columns OrderDraftReviewColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderDraftReviewColumns defines and stores column names for table order_draft_review.
-type OrderDraftReviewColumns struct {
-	OrderDraftId string // 初稿审核id
-	OrderId      string // 订单id
-	OnlineLink   string // 在线链接
-	AuditStatus  string // 审核状态 1待审核 2审核通过 3审核驳回
-	AuditOpinion string // 审核意见
-	CreatedAt    string // 创建时间
-	ConfirmTime  string // 初稿通过时间
-}
-
-//  orderDraftReviewColumns holds the columns for table order_draft_review.
-var orderDraftReviewColumns = OrderDraftReviewColumns{
-	OrderDraftId: "order_draft_id",
-	OrderId:      "order_id",
-	OnlineLink:   "online_link",
-	AuditStatus:  "audit_status",
-	AuditOpinion: "audit_opinion",
-	CreatedAt:    "created_at",
-	ConfirmTime:  "confirm_time",
-}
-
-// NewOrderDraftReviewDao creates and returns a new DAO object for table data access.
-func NewOrderDraftReviewDao() *OrderDraftReviewDao {
-	return &OrderDraftReviewDao{
-		Group:   "default",
-		Table:   "order_draft_review",
-		Columns: orderDraftReviewColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderDraftReviewDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderDraftReviewDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderDraftReviewDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderDraftReviewDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderDraftReviewDao struct {
+	Table   string                  // Table is the underlying table name of the DAO.
+	Group   string                  // Group is the database configuration group name of current DAO.
+	Columns OrderDraftReviewColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderDraftReviewColumns defines and stores column names for table order_draft_review.
+type OrderDraftReviewColumns struct {
+	OrderDraftId string // 初稿审核id
+	OrderId      string // 订单id
+	OnlineLink   string // 在线链接
+	AuditStatus  string // 审核状态 1待审核 2审核通过 3审核驳回
+	AuditOpinion string // 审核意见
+	CreatedAt    string // 创建时间
+	ConfirmTime  string // 初稿通过时间
+}
+
+//  orderDraftReviewColumns holds the columns for table order_draft_review.
+var orderDraftReviewColumns = OrderDraftReviewColumns{
+	OrderDraftId: "order_draft_id",
+	OrderId:      "order_id",
+	OnlineLink:   "online_link",
+	AuditStatus:  "audit_status",
+	AuditOpinion: "audit_opinion",
+	CreatedAt:    "created_at",
+	ConfirmTime:  "confirm_time",
+}
+
+// NewOrderDraftReviewDao creates and returns a new DAO object for table data access.
+func NewOrderDraftReviewDao() *OrderDraftReviewDao {
+	return &OrderDraftReviewDao{
+		Group:   "default",
+		Table:   "order_draft_review",
+		Columns: orderDraftReviewColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderDraftReviewDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderDraftReviewDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderDraftReviewDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 95 - 95
app/dao/internal/order_info.go

@@ -1,95 +1,95 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderInfoDao struct {
-	Table   string           // Table is the underlying table name of the DAO.
-	Group   string           // Group is the database configuration group name of current DAO.
-	Columns OrderInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderInfoColumns defines and stores column names for table order_info.
-type OrderInfoColumns struct {
-	OrderId                string //
-	TaskId                 string // 任务id
-	TaskName               string // 任务名称(冗余)
-	TaskBrandName          string // 品牌名称(冗余)
-	ProductName            string // 商品名称(冗余)
-	ProductMainImg         string // 商品主图url(冗余)
-	TalentId               string // 达人id
-	TalentPlatformInfoSnap string // 达人平台信息快照
-	TalentPersonalInfoSnap string // 达人个人信息快照
-	TalentPostAddrSnap     string // 收货地址快照
-	TaskLevelId            string // 报名选择的招募等级id(task_recruit_talent_level表中的id)
-	SettleAmount           string // 待结算金额
-	ProdSpecificationId    string // 商品规格列表的索引
-	ProdNote               string // 商品备注
-	OrderStatus            string // 订单状态
-	CreateDate             string // 创建时间
-	SelectDate             string // 反选时间
-	PartnerWay             string // 合作方式
-	CompleteStatus         string // 结束方式 1未结束 2正常结束 3反选失败 4达人取消
-	CompleteDate           string // 结束时间
-}
-
-//  orderInfoColumns holds the columns for table order_info.
-var orderInfoColumns = OrderInfoColumns{
-	OrderId:                "order_id",
-	TaskId:                 "task_id",
-	TaskName:               "task_name",
-	TaskBrandName:          "task_brand_name",
-	ProductName:            "product_name",
-	ProductMainImg:         "product_main_img",
-	TalentId:               "talent_id",
-	TalentPlatformInfoSnap: "talent_platform_info_snap",
-	TalentPersonalInfoSnap: "talent_personal_info_snap",
-	TalentPostAddrSnap:     "talent_post_addr_snap",
-	TaskLevelId:            "task_level_id",
-	SettleAmount:           "settle_amount",
-	ProdSpecificationId:    "prod_specification_id",
-	ProdNote:               "prod_note",
-	OrderStatus:            "order_status",
-	CreateDate:             "create_date",
-	SelectDate:             "select_date",
-	PartnerWay:             "partner_way",
-	CompleteStatus:         "complete_status",
-	CompleteDate:           "complete_date",
-}
-
-// NewOrderInfoDao creates and returns a new DAO object for table data access.
-func NewOrderInfoDao() *OrderInfoDao {
-	return &OrderInfoDao{
-		Group:   "default",
-		Table:   "order_info",
-		Columns: orderInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderInfoDao struct {
+	Table   string           // Table is the underlying table name of the DAO.
+	Group   string           // Group is the database configuration group name of current DAO.
+	Columns OrderInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderInfoColumns defines and stores column names for table order_info.
+type OrderInfoColumns struct {
+	OrderId                string //
+	TaskId                 string // 任务id
+	TaskName               string // 任务名称(冗余)
+	TaskBrandName          string // 品牌名称(冗余)
+	ProductName            string // 商品名称(冗余)
+	ProductMainImg         string // 商品主图url(冗余)
+	TalentId               string // 达人id
+	TalentPlatformInfoSnap string // 达人平台信息快照
+	TalentPersonalInfoSnap string // 达人个人信息快照
+	TalentPostAddrSnap     string // 收货地址快照
+	TaskLevelId            string // 报名选择的招募等级id(task_recruit_talent_level表中的id)
+	SettleAmount           string // 待结算金额
+	ProdSpecificationId    string // 商品规格列表的索引
+	ProdNote               string // 商品备注
+	OrderStatus            string // 订单状态
+	CreateDate             string // 创建时间
+	SelectDate             string // 反选时间
+	PartnerWay             string // 合作方式
+	CompleteStatus         string // 结束方式 1未结束 2正常结束 3反选失败 4达人取消
+	CompleteDate           string // 结束时间
+}
+
+//  orderInfoColumns holds the columns for table order_info.
+var orderInfoColumns = OrderInfoColumns{
+	OrderId:                "order_id",
+	TaskId:                 "task_id",
+	TaskName:               "task_name",
+	TaskBrandName:          "task_brand_name",
+	ProductName:            "product_name",
+	ProductMainImg:         "product_main_img",
+	TalentId:               "talent_id",
+	TalentPlatformInfoSnap: "talent_platform_info_snap",
+	TalentPersonalInfoSnap: "talent_personal_info_snap",
+	TalentPostAddrSnap:     "talent_post_addr_snap",
+	TaskLevelId:            "task_level_id",
+	SettleAmount:           "settle_amount",
+	ProdSpecificationId:    "prod_specification_id",
+	ProdNote:               "prod_note",
+	OrderStatus:            "order_status",
+	CreateDate:             "create_date",
+	SelectDate:             "select_date",
+	PartnerWay:             "partner_way",
+	CompleteStatus:         "complete_status",
+	CompleteDate:           "complete_date",
+}
+
+// NewOrderInfoDao creates and returns a new DAO object for table data access.
+func NewOrderInfoDao() *OrderInfoDao {
+	return &OrderInfoDao{
+		Group:   "default",
+		Table:   "order_info",
+		Columns: orderInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 71 - 71
app/dao/internal/order_link_quality.go

@@ -1,71 +1,71 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderLinkQualityDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderLinkQualityDao struct {
-	Table   string                  // Table is the underlying table name of the DAO.
-	Group   string                  // Group is the database configuration group name of current DAO.
-	Columns OrderLinkQualityColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderLinkQualityColumns defines and stores column names for table order_link_quality.
-type OrderLinkQualityColumns struct {
-	LinkQualityId string // 链接质检id
-	OrderId       string // 报名信息(order_info)id
-	PostLink      string // 发布链接
-	PhotoLink     string // 图片链接
-	AuditStatus   string // 审核状态 1待审核 2审核成功 3审核失败
-	AuditOpinion  string // 审核意见
-	CreatedAt     string // 创建时间(发货时间)
-	ConfirmTime   string // 确认收获时间
-}
-
-//  orderLinkQualityColumns holds the columns for table order_link_quality.
-var orderLinkQualityColumns = OrderLinkQualityColumns{
-	LinkQualityId: "link_quality_id",
-	OrderId:       "order_id",
-	PostLink:      "post_link",
-	PhotoLink:     "photo_link",
-	AuditStatus:   "audit_status",
-	AuditOpinion:  "audit_opinion",
-	CreatedAt:     "created_at",
-	ConfirmTime:   "confirm_time",
-}
-
-// NewOrderLinkQualityDao creates and returns a new DAO object for table data access.
-func NewOrderLinkQualityDao() *OrderLinkQualityDao {
-	return &OrderLinkQualityDao{
-		Group:   "default",
-		Table:   "order_link_quality",
-		Columns: orderLinkQualityColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderLinkQualityDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderLinkQualityDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderLinkQualityDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderLinkQualityDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderLinkQualityDao struct {
+	Table   string                  // Table is the underlying table name of the DAO.
+	Group   string                  // Group is the database configuration group name of current DAO.
+	Columns OrderLinkQualityColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderLinkQualityColumns defines and stores column names for table order_link_quality.
+type OrderLinkQualityColumns struct {
+	LinkQualityId string // 链接质检id
+	OrderId       string // 报名信息(order_info)id
+	PostLink      string // 发布链接
+	PhotoLink     string // 图片链接
+	AuditStatus   string // 审核状态 1待审核 2审核成功 3审核失败
+	AuditOpinion  string // 审核意见
+	CreatedAt     string // 创建时间(发货时间)
+	ConfirmTime   string // 确认收获时间
+}
+
+//  orderLinkQualityColumns holds the columns for table order_link_quality.
+var orderLinkQualityColumns = OrderLinkQualityColumns{
+	LinkQualityId: "link_quality_id",
+	OrderId:       "order_id",
+	PostLink:      "post_link",
+	PhotoLink:     "photo_link",
+	AuditStatus:   "audit_status",
+	AuditOpinion:  "audit_opinion",
+	CreatedAt:     "created_at",
+	ConfirmTime:   "confirm_time",
+}
+
+// NewOrderLinkQualityDao creates and returns a new DAO object for table data access.
+func NewOrderLinkQualityDao() *OrderLinkQualityDao {
+	return &OrderLinkQualityDao{
+		Group:   "default",
+		Table:   "order_link_quality",
+		Columns: orderLinkQualityColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderLinkQualityDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderLinkQualityDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderLinkQualityDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 71 - 71
app/dao/internal/order_status_record.go

@@ -1,71 +1,71 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// OrderStatusRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
-type OrderStatusRecordDao struct {
-	Table   string                   // Table is the underlying table name of the DAO.
-	Group   string                   // Group is the database configuration group name of current DAO.
-	Columns OrderStatusRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// OrderStatusRecordColumns defines and stores column names for table order_status_record.
-type OrderStatusRecordColumns struct {
-	OrderStatusId string // 订单状态记录表id
-	OrderId       string // 对应订单的id
-	AlterBefore   string // 修改订单前状态
-	AlterAfter    string // 修改订单后状态
-	RoleTag       string // 身份标记 1后台管理员 2达人
-	RecordId      string // 操作员工账号
-	RecordName    string // 操作员工姓名
-	CreatedAt     string // 创建时间
-}
-
-//  orderStatusRecordColumns holds the columns for table order_status_record.
-var orderStatusRecordColumns = OrderStatusRecordColumns{
-	OrderStatusId: "order_status_id",
-	OrderId:       "order_id",
-	AlterBefore:   "alter_before",
-	AlterAfter:    "alter_after",
-	RoleTag:       "role_tag",
-	RecordId:      "record_id",
-	RecordName:    "record_name",
-	CreatedAt:     "created_at",
-}
-
-// NewOrderStatusRecordDao creates and returns a new DAO object for table data access.
-func NewOrderStatusRecordDao() *OrderStatusRecordDao {
-	return &OrderStatusRecordDao{
-		Group:   "default",
-		Table:   "order_status_record",
-		Columns: orderStatusRecordColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *OrderStatusRecordDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *OrderStatusRecordDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *OrderStatusRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// OrderStatusRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
+type OrderStatusRecordDao struct {
+	Table   string                   // Table is the underlying table name of the DAO.
+	Group   string                   // Group is the database configuration group name of current DAO.
+	Columns OrderStatusRecordColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// OrderStatusRecordColumns defines and stores column names for table order_status_record.
+type OrderStatusRecordColumns struct {
+	OrderStatusId string // 订单状态记录表id
+	OrderId       string // 对应订单的id
+	AlterBefore   string // 修改订单前状态
+	AlterAfter    string // 修改订单后状态
+	RoleTag       string // 身份标记 1后台管理员 2达人
+	RecordId      string // 操作员工账号
+	RecordName    string // 操作员工姓名
+	CreatedAt     string // 创建时间
+}
+
+//  orderStatusRecordColumns holds the columns for table order_status_record.
+var orderStatusRecordColumns = OrderStatusRecordColumns{
+	OrderStatusId: "order_status_id",
+	OrderId:       "order_id",
+	AlterBefore:   "alter_before",
+	AlterAfter:    "alter_after",
+	RoleTag:       "role_tag",
+	RecordId:      "record_id",
+	RecordName:    "record_name",
+	CreatedAt:     "created_at",
+}
+
+// NewOrderStatusRecordDao creates and returns a new DAO object for table data access.
+func NewOrderStatusRecordDao() *OrderStatusRecordDao {
+	return &OrderStatusRecordDao{
+		Group:   "default",
+		Table:   "order_status_record",
+		Columns: orderStatusRecordColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *OrderStatusRecordDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *OrderStatusRecordDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *OrderStatusRecordDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 95 - 95
app/dao/internal/platform_bilibili_account_info.go

@@ -1,95 +1,95 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// PlatformBilibiliAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type PlatformBilibiliAccountInfoDao struct {
-	Table   string                             // Table is the underlying table name of the DAO.
-	Group   string                             // Group is the database configuration group name of current DAO.
-	Columns PlatformBilibiliAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// PlatformBilibiliAccountInfoColumns defines and stores column names for table platform_bilibili_account_info.
-type PlatformBilibiliAccountInfoColumns struct {
-	BilibiliId         string //
-	TalentId           string // 达人账号id(talent_info表id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformName       string // 平台名称(冗余)
-	PlatformIconUrl    string // 平台icon的url(冗余)
-	PlatformAccountId  string // 在平台上的账号
-	PlatformNickname   string // 在平台上的昵称
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	GotLikeCount       string // 点赞数
-	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
-	IsAppearInVideo    string // 是否出镜
-	HomePageCaptureUrl string // 主页截图链接
-	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
-	SubmitDate         string // 提交时间
-	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
-	ExamineDate        string // 审核日期
-	ExamineFailReason  string // 审核失败原因
-	UpdatedAt          string // 更新时间
-	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
-}
-
-//  platformBilibiliAccountInfoColumns holds the columns for table platform_bilibili_account_info.
-var platformBilibiliAccountInfoColumns = PlatformBilibiliAccountInfoColumns{
-	BilibiliId:         "bilibili_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformName:       "platform_name",
-	PlatformIconUrl:    "platform_icon_url",
-	PlatformAccountId:  "platform_account_id",
-	PlatformNickname:   "platform_nickname",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	GotLikeCount:       "got_like_count",
-	SkilledAt:          "skilled_at",
-	IsAppearInVideo:    "is_appear_in_video",
-	HomePageCaptureUrl: "home_page_capture_url",
-	AccountFrom:        "account_from",
-	SubmitDate:         "submit_date",
-	ExamineFailAdminId: "examine_fail_admin_id",
-	ExamineDate:        "examine_date",
-	ExamineFailReason:  "examine_fail_reason",
-	UpdatedAt:          "updated_at",
-	ExamineSucAdminId:  "examine_suc_admin_id",
-}
-
-// NewPlatformBilibiliAccountInfoDao creates and returns a new DAO object for table data access.
-func NewPlatformBilibiliAccountInfoDao() *PlatformBilibiliAccountInfoDao {
-	return &PlatformBilibiliAccountInfoDao{
-		Group:   "default",
-		Table:   "platform_bilibili_account_info",
-		Columns: platformBilibiliAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *PlatformBilibiliAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *PlatformBilibiliAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *PlatformBilibiliAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// PlatformBilibiliAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type PlatformBilibiliAccountInfoDao struct {
+	Table   string                             // Table is the underlying table name of the DAO.
+	Group   string                             // Group is the database configuration group name of current DAO.
+	Columns PlatformBilibiliAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// PlatformBilibiliAccountInfoColumns defines and stores column names for table platform_bilibili_account_info.
+type PlatformBilibiliAccountInfoColumns struct {
+	BilibiliId         string //
+	TalentId           string // 达人账号id(talent_info表id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformName       string // 平台名称(冗余)
+	PlatformIconUrl    string // 平台icon的url(冗余)
+	PlatformAccountId  string // 在平台上的账号
+	PlatformNickname   string // 在平台上的昵称
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	GotLikeCount       string // 点赞数
+	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
+	IsAppearInVideo    string // 是否出镜
+	HomePageCaptureUrl string // 主页截图链接
+	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
+	SubmitDate         string // 提交时间
+	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
+	ExamineDate        string // 审核日期
+	ExamineFailReason  string // 审核失败原因
+	UpdatedAt          string // 更新时间
+	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
+}
+
+//  platformBilibiliAccountInfoColumns holds the columns for table platform_bilibili_account_info.
+var platformBilibiliAccountInfoColumns = PlatformBilibiliAccountInfoColumns{
+	BilibiliId:         "bilibili_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformName:       "platform_name",
+	PlatformIconUrl:    "platform_icon_url",
+	PlatformAccountId:  "platform_account_id",
+	PlatformNickname:   "platform_nickname",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	GotLikeCount:       "got_like_count",
+	SkilledAt:          "skilled_at",
+	IsAppearInVideo:    "is_appear_in_video",
+	HomePageCaptureUrl: "home_page_capture_url",
+	AccountFrom:        "account_from",
+	SubmitDate:         "submit_date",
+	ExamineFailAdminId: "examine_fail_admin_id",
+	ExamineDate:        "examine_date",
+	ExamineFailReason:  "examine_fail_reason",
+	UpdatedAt:          "updated_at",
+	ExamineSucAdminId:  "examine_suc_admin_id",
+}
+
+// NewPlatformBilibiliAccountInfoDao creates and returns a new DAO object for table data access.
+func NewPlatformBilibiliAccountInfoDao() *PlatformBilibiliAccountInfoDao {
+	return &PlatformBilibiliAccountInfoDao{
+		Group:   "default",
+		Table:   "platform_bilibili_account_info",
+		Columns: platformBilibiliAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *PlatformBilibiliAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *PlatformBilibiliAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *PlatformBilibiliAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 97 - 97
app/dao/internal/platform_dianping_account_info.go

@@ -1,97 +1,97 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// PlatformDianpingAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type PlatformDianpingAccountInfoDao struct {
-	Table   string                             // Table is the underlying table name of the DAO.
-	Group   string                             // Group is the database configuration group name of current DAO.
-	Columns PlatformDianpingAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// PlatformDianpingAccountInfoColumns defines and stores column names for table platform_dianping_account_info.
-type PlatformDianpingAccountInfoColumns struct {
-	DianpingId         string //
-	TalentId           string // 达人账号id(talent_info表id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformName       string // 平台名称(冗余)
-	PlatformIconUrl    string // 平台icon的url(冗余)
-	PlatformAccountId  string // 在平台上的账号
-	PlatformNickname   string // 在平台上的昵称
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	GotLikeCount       string // 点赞数
-	MembershipLevel    string // 会员等级
-	IsAppearInVideo    string // 是否出镜
-	HomePageCaptureUrl string // 主页截图图片url
-	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
-	ExamineStatus      string // 审核状态 1待审核 2审核通过 3审核失败
-	SubmitDate         string // 提交时间
-	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
-	ExamineDate        string // 审核日期
-	ExamineFailReason  string // 审核失败原因
-	UpdatedAt          string // 更新时间
-	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
-}
-
-//  platformDianpingAccountInfoColumns holds the columns for table platform_dianping_account_info.
-var platformDianpingAccountInfoColumns = PlatformDianpingAccountInfoColumns{
-	DianpingId:         "dianping_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformName:       "platform_name",
-	PlatformIconUrl:    "platform_icon_url",
-	PlatformAccountId:  "platform_account_id",
-	PlatformNickname:   "platform_nickname",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	GotLikeCount:       "got_like_count",
-	MembershipLevel:    "membership_level",
-	IsAppearInVideo:    "is_appear_in_video",
-	HomePageCaptureUrl: "home_page_capture_url",
-	AccountFrom:        "account_from",
-	ExamineStatus:      "examine_status",
-	SubmitDate:         "submit_date",
-	ExamineFailAdminId: "examine_fail_admin_id",
-	ExamineDate:        "examine_date",
-	ExamineFailReason:  "examine_fail_reason",
-	UpdatedAt:          "updated_at",
-	ExamineSucAdminId:  "examine_suc_admin_id",
-}
-
-// NewPlatformDianpingAccountInfoDao creates and returns a new DAO object for table data access.
-func NewPlatformDianpingAccountInfoDao() *PlatformDianpingAccountInfoDao {
-	return &PlatformDianpingAccountInfoDao{
-		Group:   "default",
-		Table:   "platform_dianping_account_info",
-		Columns: platformDianpingAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *PlatformDianpingAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *PlatformDianpingAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *PlatformDianpingAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// PlatformDianpingAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type PlatformDianpingAccountInfoDao struct {
+	Table   string                             // Table is the underlying table name of the DAO.
+	Group   string                             // Group is the database configuration group name of current DAO.
+	Columns PlatformDianpingAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// PlatformDianpingAccountInfoColumns defines and stores column names for table platform_dianping_account_info.
+type PlatformDianpingAccountInfoColumns struct {
+	DianpingId         string //
+	TalentId           string // 达人账号id(talent_info表id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformName       string // 平台名称(冗余)
+	PlatformIconUrl    string // 平台icon的url(冗余)
+	PlatformAccountId  string // 在平台上的账号
+	PlatformNickname   string // 在平台上的昵称
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	GotLikeCount       string // 点赞数
+	MembershipLevel    string // 会员等级
+	IsAppearInVideo    string // 是否出镜
+	HomePageCaptureUrl string // 主页截图图片url
+	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
+	ExamineStatus      string // 审核状态 1待审核 2审核通过 3审核失败
+	SubmitDate         string // 提交时间
+	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
+	ExamineDate        string // 审核日期
+	ExamineFailReason  string // 审核失败原因
+	UpdatedAt          string // 更新时间
+	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
+}
+
+//  platformDianpingAccountInfoColumns holds the columns for table platform_dianping_account_info.
+var platformDianpingAccountInfoColumns = PlatformDianpingAccountInfoColumns{
+	DianpingId:         "dianping_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformName:       "platform_name",
+	PlatformIconUrl:    "platform_icon_url",
+	PlatformAccountId:  "platform_account_id",
+	PlatformNickname:   "platform_nickname",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	GotLikeCount:       "got_like_count",
+	MembershipLevel:    "membership_level",
+	IsAppearInVideo:    "is_appear_in_video",
+	HomePageCaptureUrl: "home_page_capture_url",
+	AccountFrom:        "account_from",
+	ExamineStatus:      "examine_status",
+	SubmitDate:         "submit_date",
+	ExamineFailAdminId: "examine_fail_admin_id",
+	ExamineDate:        "examine_date",
+	ExamineFailReason:  "examine_fail_reason",
+	UpdatedAt:          "updated_at",
+	ExamineSucAdminId:  "examine_suc_admin_id",
+}
+
+// NewPlatformDianpingAccountInfoDao creates and returns a new DAO object for table data access.
+func NewPlatformDianpingAccountInfoDao() *PlatformDianpingAccountInfoDao {
+	return &PlatformDianpingAccountInfoDao{
+		Group:   "default",
+		Table:   "platform_dianping_account_info",
+		Columns: platformDianpingAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *PlatformDianpingAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *PlatformDianpingAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *PlatformDianpingAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 99 - 99
app/dao/internal/platform_kuaishou_account_info.go

@@ -1,99 +1,99 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// PlatformKuaishouAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type PlatformKuaishouAccountInfoDao struct {
-	Table   string                             // Table is the underlying table name of the DAO.
-	Group   string                             // Group is the database configuration group name of current DAO.
-	Columns PlatformKuaishouAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// PlatformKuaishouAccountInfoColumns defines and stores column names for table platform_kuaishou_account_info.
-type PlatformKuaishouAccountInfoColumns struct {
-	KuaishouId         string //
-	TalentId           string // 达人账号id(talent_info表id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformName       string // 平台名称(冗余)
-	PlatformIconUrl    string // 平台icon的url(冗余)
-	PlatformAccountId  string // 在平台上的账号
-	PlatformNickname   string // 在平台上的昵称
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	CompositionCount   string // 作品数量
-	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
-	IsSupportLive      string // 是否支持直播
-	IsOpenCart         string // 是否开通购物车
-	IsAppearInVideo    string // 是否出镜
-	HomePageCaptureUrl string // 主页截图图片url
-	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
-	SubmitDate         string // 提交时间
-	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
-	ExamineDate        string // 审核日期
-	ExamineFailReason  string // 审核失败原因
-	UpdatedAt          string // 更新时间
-	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
-}
-
-//  platformKuaishouAccountInfoColumns holds the columns for table platform_kuaishou_account_info.
-var platformKuaishouAccountInfoColumns = PlatformKuaishouAccountInfoColumns{
-	KuaishouId:         "kuaishou_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformName:       "platform_name",
-	PlatformIconUrl:    "platform_icon_url",
-	PlatformAccountId:  "platform_account_id",
-	PlatformNickname:   "platform_nickname",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	CompositionCount:   "composition_count",
-	SkilledAt:          "skilled_at",
-	IsSupportLive:      "is_support_live",
-	IsOpenCart:         "is_open_cart",
-	IsAppearInVideo:    "is_appear_in_video",
-	HomePageCaptureUrl: "home_page_capture_url",
-	AccountFrom:        "account_from",
-	SubmitDate:         "submit_date",
-	ExamineFailAdminId: "examine_fail_admin_id",
-	ExamineDate:        "examine_date",
-	ExamineFailReason:  "examine_fail_reason",
-	UpdatedAt:          "updated_at",
-	ExamineSucAdminId:  "examine_suc_admin_id",
-}
-
-// NewPlatformKuaishouAccountInfoDao creates and returns a new DAO object for table data access.
-func NewPlatformKuaishouAccountInfoDao() *PlatformKuaishouAccountInfoDao {
-	return &PlatformKuaishouAccountInfoDao{
-		Group:   "default",
-		Table:   "platform_kuaishou_account_info",
-		Columns: platformKuaishouAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *PlatformKuaishouAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *PlatformKuaishouAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *PlatformKuaishouAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// PlatformKuaishouAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type PlatformKuaishouAccountInfoDao struct {
+	Table   string                             // Table is the underlying table name of the DAO.
+	Group   string                             // Group is the database configuration group name of current DAO.
+	Columns PlatformKuaishouAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// PlatformKuaishouAccountInfoColumns defines and stores column names for table platform_kuaishou_account_info.
+type PlatformKuaishouAccountInfoColumns struct {
+	KuaishouId         string //
+	TalentId           string // 达人账号id(talent_info表id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformName       string // 平台名称(冗余)
+	PlatformIconUrl    string // 平台icon的url(冗余)
+	PlatformAccountId  string // 在平台上的账号
+	PlatformNickname   string // 在平台上的昵称
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	CompositionCount   string // 作品数量
+	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
+	IsSupportLive      string // 是否支持直播
+	IsOpenCart         string // 是否开通购物车
+	IsAppearInVideo    string // 是否出镜
+	HomePageCaptureUrl string // 主页截图图片url
+	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
+	SubmitDate         string // 提交时间
+	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
+	ExamineDate        string // 审核日期
+	ExamineFailReason  string // 审核失败原因
+	UpdatedAt          string // 更新时间
+	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
+}
+
+//  platformKuaishouAccountInfoColumns holds the columns for table platform_kuaishou_account_info.
+var platformKuaishouAccountInfoColumns = PlatformKuaishouAccountInfoColumns{
+	KuaishouId:         "kuaishou_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformName:       "platform_name",
+	PlatformIconUrl:    "platform_icon_url",
+	PlatformAccountId:  "platform_account_id",
+	PlatformNickname:   "platform_nickname",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	CompositionCount:   "composition_count",
+	SkilledAt:          "skilled_at",
+	IsSupportLive:      "is_support_live",
+	IsOpenCart:         "is_open_cart",
+	IsAppearInVideo:    "is_appear_in_video",
+	HomePageCaptureUrl: "home_page_capture_url",
+	AccountFrom:        "account_from",
+	SubmitDate:         "submit_date",
+	ExamineFailAdminId: "examine_fail_admin_id",
+	ExamineDate:        "examine_date",
+	ExamineFailReason:  "examine_fail_reason",
+	UpdatedAt:          "updated_at",
+	ExamineSucAdminId:  "examine_suc_admin_id",
+}
+
+// NewPlatformKuaishouAccountInfoDao creates and returns a new DAO object for table data access.
+func NewPlatformKuaishouAccountInfoDao() *PlatformKuaishouAccountInfoDao {
+	return &PlatformKuaishouAccountInfoDao{
+		Group:   "default",
+		Table:   "platform_kuaishou_account_info",
+		Columns: platformKuaishouAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *PlatformKuaishouAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *PlatformKuaishouAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *PlatformKuaishouAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 103 - 103
app/dao/internal/platform_little_red_book_account_info.go

@@ -1,103 +1,103 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// PlatformLittleRedBookAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type PlatformLittleRedBookAccountInfoDao struct {
-	Table   string                                  // Table is the underlying table name of the DAO.
-	Group   string                                  // Group is the database configuration group name of current DAO.
-	Columns PlatformLittleRedBookAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// PlatformLittleRedBookAccountInfoColumns defines and stores column names for table platform_little_red_book_account_info.
-type PlatformLittleRedBookAccountInfoColumns struct {
-	RedBookId          string //
-	TalentId           string // 达人账号id(talent_info表id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformName       string // 平台名称(冗余)
-	PlatformIconUrl    string // 平台icon的url(冗余)
-	PlatformAccountId  string // 在平台上的账号
-	PlatformNickname   string // 在平台上的昵称
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	GotLikeCount       string // (点)赞(收)藏数
-	NoteCount          string // 笔记总量
-	IsSupportReporting string // 是否支持报备
-	IsSupportLive      string // 是否支持直播
-	CanMakeVideo       string // 是否可以制作视频
-	IsAppearInVideo    string // 是否出镜
-	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)  {0,不限。1,母婴。2,美妆护肤。3,时尚穿搭。4,旅游。5,美食。6,数码科技。7,健康养生。8,情感。9,宠物。10,运动健身。11,家居生活。12,搞笑。13,音乐  }
-	HomePageCaptureUrl string // 主页截图链接
-	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
-	SubmitDate         string // 提交时间
-	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
-	ExamineDate        string // 审核日期
-	ExamineFailReason  string // 审核失败原因
-	UpdatedAt          string // 更新时间
-	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
-}
-
-//  platformLittleRedBookAccountInfoColumns holds the columns for table platform_little_red_book_account_info.
-var platformLittleRedBookAccountInfoColumns = PlatformLittleRedBookAccountInfoColumns{
-	RedBookId:          "red_book_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformName:       "platform_name",
-	PlatformIconUrl:    "platform_icon_url",
-	PlatformAccountId:  "platform_account_id",
-	PlatformNickname:   "platform_nickname",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	GotLikeCount:       "got_like_count",
-	NoteCount:          "note_count",
-	IsSupportReporting: "is_support_reporting",
-	IsSupportLive:      "is_support_live",
-	CanMakeVideo:       "can_make_video",
-	IsAppearInVideo:    "is_appear_in_video",
-	SkilledAt:          "skilled_at",
-	HomePageCaptureUrl: "home_page_capture_url",
-	AccountFrom:        "account_from",
-	SubmitDate:         "submit_date",
-	ExamineFailAdminId: "examine_fail_admin_id",
-	ExamineDate:        "examine_date",
-	ExamineFailReason:  "examine_fail_reason",
-	UpdatedAt:          "updated_at",
-	ExamineSucAdminId:  "examine_suc_admin_id",
-}
-
-// NewPlatformLittleRedBookAccountInfoDao creates and returns a new DAO object for table data access.
-func NewPlatformLittleRedBookAccountInfoDao() *PlatformLittleRedBookAccountInfoDao {
-	return &PlatformLittleRedBookAccountInfoDao{
-		Group:   "default",
-		Table:   "platform_little_red_book_account_info",
-		Columns: platformLittleRedBookAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *PlatformLittleRedBookAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *PlatformLittleRedBookAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *PlatformLittleRedBookAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// PlatformLittleRedBookAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type PlatformLittleRedBookAccountInfoDao struct {
+	Table   string                                  // Table is the underlying table name of the DAO.
+	Group   string                                  // Group is the database configuration group name of current DAO.
+	Columns PlatformLittleRedBookAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// PlatformLittleRedBookAccountInfoColumns defines and stores column names for table platform_little_red_book_account_info.
+type PlatformLittleRedBookAccountInfoColumns struct {
+	RedBookId          string //
+	TalentId           string // 达人账号id(talent_info表id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformName       string // 平台名称(冗余)
+	PlatformIconUrl    string // 平台icon的url(冗余)
+	PlatformAccountId  string // 在平台上的账号
+	PlatformNickname   string // 在平台上的昵称
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	GotLikeCount       string // (点)赞(收)藏数
+	NoteCount          string // 笔记总量
+	IsSupportReporting string // 是否支持报备
+	IsSupportLive      string // 是否支持直播
+	CanMakeVideo       string // 是否可以制作视频
+	IsAppearInVideo    string // 是否出镜
+	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)  {0,不限。1,母婴。2,美妆护肤。3,时尚穿搭。4,旅游。5,美食。6,数码科技。7,健康养生。8,情感。9,宠物。10,运动健身。11,家居生活。12,搞笑。13,音乐  }
+	HomePageCaptureUrl string // 主页截图链接
+	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
+	SubmitDate         string // 提交时间
+	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
+	ExamineDate        string // 审核日期
+	ExamineFailReason  string // 审核失败原因
+	UpdatedAt          string // 更新时间
+	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
+}
+
+//  platformLittleRedBookAccountInfoColumns holds the columns for table platform_little_red_book_account_info.
+var platformLittleRedBookAccountInfoColumns = PlatformLittleRedBookAccountInfoColumns{
+	RedBookId:          "red_book_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformName:       "platform_name",
+	PlatformIconUrl:    "platform_icon_url",
+	PlatformAccountId:  "platform_account_id",
+	PlatformNickname:   "platform_nickname",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	GotLikeCount:       "got_like_count",
+	NoteCount:          "note_count",
+	IsSupportReporting: "is_support_reporting",
+	IsSupportLive:      "is_support_live",
+	CanMakeVideo:       "can_make_video",
+	IsAppearInVideo:    "is_appear_in_video",
+	SkilledAt:          "skilled_at",
+	HomePageCaptureUrl: "home_page_capture_url",
+	AccountFrom:        "account_from",
+	SubmitDate:         "submit_date",
+	ExamineFailAdminId: "examine_fail_admin_id",
+	ExamineDate:        "examine_date",
+	ExamineFailReason:  "examine_fail_reason",
+	UpdatedAt:          "updated_at",
+	ExamineSucAdminId:  "examine_suc_admin_id",
+}
+
+// NewPlatformLittleRedBookAccountInfoDao creates and returns a new DAO object for table data access.
+func NewPlatformLittleRedBookAccountInfoDao() *PlatformLittleRedBookAccountInfoDao {
+	return &PlatformLittleRedBookAccountInfoDao{
+		Group:   "default",
+		Table:   "platform_little_red_book_account_info",
+		Columns: platformLittleRedBookAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *PlatformLittleRedBookAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *PlatformLittleRedBookAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *PlatformLittleRedBookAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 105 - 105
app/dao/internal/platform_tiktok_account_info.go

@@ -1,105 +1,105 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// PlatformTiktokAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type PlatformTiktokAccountInfoDao struct {
-	Table   string                           // Table is the underlying table name of the DAO.
-	Group   string                           // Group is the database configuration group name of current DAO.
-	Columns PlatformTiktokAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// PlatformTiktokAccountInfoColumns defines and stores column names for table platform_tiktok_account_info.
-type PlatformTiktokAccountInfoColumns struct {
-	TiktokId           string //
-	TalentId           string // 达人账号id(talent_info表id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformName       string // 平台名称(冗余)
-	PlatformIconUrl    string // 平台icon的url(冗余)
-	PlatformAccountId  string // 在平台上的账号
-	PlatformNickname   string // 在平台上的昵称
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	GotLikeCount       string // 点赞数
-	CompositionCount   string // 作品数量
-	TiktokUid          string // 抖音uid
-	IsSupportReporting string // 是否支持报备
-	IsSupportLive      string // 是否支持直播
-	IsOpenShowcase     string // 是否开通商品橱窗
-	IsAppearInVideo    string // 是否出镜
-	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
-	HomePageCaptureUrl string // 主页截图图片链接
-	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
-	SubmitDate         string // 提交时间
-	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
-	ExamineDate        string // 审核日期
-	ExamineFailReason  string // 审核失败原因
-	UpdatedAt          string // 更新时间
-	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
-}
-
-//  platformTiktokAccountInfoColumns holds the columns for table platform_tiktok_account_info.
-var platformTiktokAccountInfoColumns = PlatformTiktokAccountInfoColumns{
-	TiktokId:           "tiktok_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformName:       "platform_name",
-	PlatformIconUrl:    "platform_icon_url",
-	PlatformAccountId:  "platform_account_id",
-	PlatformNickname:   "platform_nickname",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	GotLikeCount:       "got_like_count",
-	CompositionCount:   "composition_count",
-	TiktokUid:          "tiktok_uid",
-	IsSupportReporting: "is_support_reporting",
-	IsSupportLive:      "is_support_live",
-	IsOpenShowcase:     "is_open_showcase",
-	IsAppearInVideo:    "is_appear_in_video",
-	SkilledAt:          "skilled_at",
-	HomePageCaptureUrl: "home_page_capture_url",
-	AccountFrom:        "account_from",
-	SubmitDate:         "submit_date",
-	ExamineFailAdminId: "examine_fail_admin_id",
-	ExamineDate:        "examine_date",
-	ExamineFailReason:  "examine_fail_reason",
-	UpdatedAt:          "updated_at",
-	ExamineSucAdminId:  "examine_suc_admin_id",
-}
-
-// NewPlatformTiktokAccountInfoDao creates and returns a new DAO object for table data access.
-func NewPlatformTiktokAccountInfoDao() *PlatformTiktokAccountInfoDao {
-	return &PlatformTiktokAccountInfoDao{
-		Group:   "default",
-		Table:   "platform_tiktok_account_info",
-		Columns: platformTiktokAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *PlatformTiktokAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *PlatformTiktokAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *PlatformTiktokAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// PlatformTiktokAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type PlatformTiktokAccountInfoDao struct {
+	Table   string                           // Table is the underlying table name of the DAO.
+	Group   string                           // Group is the database configuration group name of current DAO.
+	Columns PlatformTiktokAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// PlatformTiktokAccountInfoColumns defines and stores column names for table platform_tiktok_account_info.
+type PlatformTiktokAccountInfoColumns struct {
+	TiktokId           string //
+	TalentId           string // 达人账号id(talent_info表id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformName       string // 平台名称(冗余)
+	PlatformIconUrl    string // 平台icon的url(冗余)
+	PlatformAccountId  string // 在平台上的账号
+	PlatformNickname   string // 在平台上的昵称
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	GotLikeCount       string // 点赞数
+	CompositionCount   string // 作品数量
+	TiktokUid          string // 抖音uid
+	IsSupportReporting string // 是否支持报备
+	IsSupportLive      string // 是否支持直播
+	IsOpenShowcase     string // 是否开通商品橱窗
+	IsAppearInVideo    string // 是否出镜
+	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
+	HomePageCaptureUrl string // 主页截图图片链接
+	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
+	SubmitDate         string // 提交时间
+	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
+	ExamineDate        string // 审核日期
+	ExamineFailReason  string // 审核失败原因
+	UpdatedAt          string // 更新时间
+	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
+}
+
+//  platformTiktokAccountInfoColumns holds the columns for table platform_tiktok_account_info.
+var platformTiktokAccountInfoColumns = PlatformTiktokAccountInfoColumns{
+	TiktokId:           "tiktok_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformName:       "platform_name",
+	PlatformIconUrl:    "platform_icon_url",
+	PlatformAccountId:  "platform_account_id",
+	PlatformNickname:   "platform_nickname",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	GotLikeCount:       "got_like_count",
+	CompositionCount:   "composition_count",
+	TiktokUid:          "tiktok_uid",
+	IsSupportReporting: "is_support_reporting",
+	IsSupportLive:      "is_support_live",
+	IsOpenShowcase:     "is_open_showcase",
+	IsAppearInVideo:    "is_appear_in_video",
+	SkilledAt:          "skilled_at",
+	HomePageCaptureUrl: "home_page_capture_url",
+	AccountFrom:        "account_from",
+	SubmitDate:         "submit_date",
+	ExamineFailAdminId: "examine_fail_admin_id",
+	ExamineDate:        "examine_date",
+	ExamineFailReason:  "examine_fail_reason",
+	UpdatedAt:          "updated_at",
+	ExamineSucAdminId:  "examine_suc_admin_id",
+}
+
+// NewPlatformTiktokAccountInfoDao creates and returns a new DAO object for table data access.
+func NewPlatformTiktokAccountInfoDao() *PlatformTiktokAccountInfoDao {
+	return &PlatformTiktokAccountInfoDao{
+		Group:   "default",
+		Table:   "platform_tiktok_account_info",
+		Columns: platformTiktokAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *PlatformTiktokAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *PlatformTiktokAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *PlatformTiktokAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 101 - 101
app/dao/internal/platform_weibo_account_info.go

@@ -1,101 +1,101 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// PlatformWeiboAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type PlatformWeiboAccountInfoDao struct {
-	Table   string                          // Table is the underlying table name of the DAO.
-	Group   string                          // Group is the database configuration group name of current DAO.
-	Columns PlatformWeiboAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// PlatformWeiboAccountInfoColumns defines and stores column names for table platform_weibo_account_info.
-type PlatformWeiboAccountInfoColumns struct {
-	WeiboId            string //
-	TalentId           string // 达人账号id(talent_info表id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformName       string // 平台名称(冗余)
-	PlatformIconUrl    string // 平台icon的url(冗余)
-	PlatformAccountId  string // 在平台上的账号
-	PlatformNickname   string // 在平台上的昵称
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	WeiboTotalNum      string // 微博总量
-	IsSupportReporting string // 是否支持报备
-	IsSupportLive      string // 是否支持直播
-	CanMakeVideo       string // 是否可以制作视频
-	IsAppearInVideo    string // 是否出镜
-	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
-	HomePageCaptureUrl string // 主页截图链接
-	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
-	SubmitDate         string // 提交时间
-	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
-	ExamineDate        string // 审核日期
-	ExamineFailReason  string // 审核失败原因
-	UpdatedAt          string // 更新时间
-	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
-}
-
-//  platformWeiboAccountInfoColumns holds the columns for table platform_weibo_account_info.
-var platformWeiboAccountInfoColumns = PlatformWeiboAccountInfoColumns{
-	WeiboId:            "weibo_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformName:       "platform_name",
-	PlatformIconUrl:    "platform_icon_url",
-	PlatformAccountId:  "platform_account_id",
-	PlatformNickname:   "platform_nickname",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	WeiboTotalNum:      "weibo_total_num",
-	IsSupportReporting: "is_support_reporting",
-	IsSupportLive:      "is_support_live",
-	CanMakeVideo:       "can_make_video",
-	IsAppearInVideo:    "is_appear_in_video",
-	SkilledAt:          "skilled_at",
-	HomePageCaptureUrl: "home_page_capture_url",
-	AccountFrom:        "account_from",
-	SubmitDate:         "submit_date",
-	ExamineFailAdminId: "examine_fail_admin_id",
-	ExamineDate:        "examine_date",
-	ExamineFailReason:  "examine_fail_reason",
-	UpdatedAt:          "updated_at",
-	ExamineSucAdminId:  "examine_suc_admin_id",
-}
-
-// NewPlatformWeiboAccountInfoDao creates and returns a new DAO object for table data access.
-func NewPlatformWeiboAccountInfoDao() *PlatformWeiboAccountInfoDao {
-	return &PlatformWeiboAccountInfoDao{
-		Group:   "default",
-		Table:   "platform_weibo_account_info",
-		Columns: platformWeiboAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *PlatformWeiboAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *PlatformWeiboAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *PlatformWeiboAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// PlatformWeiboAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type PlatformWeiboAccountInfoDao struct {
+	Table   string                          // Table is the underlying table name of the DAO.
+	Group   string                          // Group is the database configuration group name of current DAO.
+	Columns PlatformWeiboAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// PlatformWeiboAccountInfoColumns defines and stores column names for table platform_weibo_account_info.
+type PlatformWeiboAccountInfoColumns struct {
+	WeiboId            string //
+	TalentId           string // 达人账号id(talent_info表id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformName       string // 平台名称(冗余)
+	PlatformIconUrl    string // 平台icon的url(冗余)
+	PlatformAccountId  string // 在平台上的账号
+	PlatformNickname   string // 在平台上的昵称
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	WeiboTotalNum      string // 微博总量
+	IsSupportReporting string // 是否支持报备
+	IsSupportLive      string // 是否支持直播
+	CanMakeVideo       string // 是否可以制作视频
+	IsAppearInVideo    string // 是否出镜
+	SkilledAt          string // 擅长领域(info_tallent_skilled_area表中的id的数组)
+	HomePageCaptureUrl string // 主页截图链接
+	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
+	SubmitDate         string // 提交时间
+	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
+	ExamineDate        string // 审核日期
+	ExamineFailReason  string // 审核失败原因
+	UpdatedAt          string // 更新时间
+	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
+}
+
+//  platformWeiboAccountInfoColumns holds the columns for table platform_weibo_account_info.
+var platformWeiboAccountInfoColumns = PlatformWeiboAccountInfoColumns{
+	WeiboId:            "weibo_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformName:       "platform_name",
+	PlatformIconUrl:    "platform_icon_url",
+	PlatformAccountId:  "platform_account_id",
+	PlatformNickname:   "platform_nickname",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	WeiboTotalNum:      "weibo_total_num",
+	IsSupportReporting: "is_support_reporting",
+	IsSupportLive:      "is_support_live",
+	CanMakeVideo:       "can_make_video",
+	IsAppearInVideo:    "is_appear_in_video",
+	SkilledAt:          "skilled_at",
+	HomePageCaptureUrl: "home_page_capture_url",
+	AccountFrom:        "account_from",
+	SubmitDate:         "submit_date",
+	ExamineFailAdminId: "examine_fail_admin_id",
+	ExamineDate:        "examine_date",
+	ExamineFailReason:  "examine_fail_reason",
+	UpdatedAt:          "updated_at",
+	ExamineSucAdminId:  "examine_suc_admin_id",
+}
+
+// NewPlatformWeiboAccountInfoDao creates and returns a new DAO object for table data access.
+func NewPlatformWeiboAccountInfoDao() *PlatformWeiboAccountInfoDao {
+	return &PlatformWeiboAccountInfoDao{
+		Group:   "default",
+		Table:   "platform_weibo_account_info",
+		Columns: platformWeiboAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *PlatformWeiboAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *PlatformWeiboAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *PlatformWeiboAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 101 - 101
app/dao/internal/platform_zhihu_account_info.go

@@ -1,101 +1,101 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// PlatformZhihuAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type PlatformZhihuAccountInfoDao struct {
-	Table   string                          // Table is the underlying table name of the DAO.
-	Group   string                          // Group is the database configuration group name of current DAO.
-	Columns PlatformZhihuAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// PlatformZhihuAccountInfoColumns defines and stores column names for table platform_zhihu_account_info.
-type PlatformZhihuAccountInfoColumns struct {
-	ZhihuId            string //
-	TalentId           string // 达人账号id(talent_info表的id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformName       string // 平台名称(冗余)
-	PlatformIconUrl    string // 平台icon的url(冗余)
-	PlatformAccountId  string // 在平台上的账号
-	PlatformNickname   string // 在平台上的昵称
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	GotAgreeCount      string // 被赞同总数
-	GotLikeCount       string // 被喜欢总数
-	GotCollectCount    string // 被收藏总数
-	AnswerCount        string // 回答总数
-	CreativeLevel      string // 创作等级
-	TotalReadPlayCount string // 总阅读播放量
-	HomePageCaptureUrl string // 主页截图
-	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
-	SubmitDate         string // 提交时间
-	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
-	ExamineDate        string // 审核日期
-	ExamineFailReason  string // 审核失败原因
-	UpdatedAt          string // 更新时间
-	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
-}
-
-//  platformZhihuAccountInfoColumns holds the columns for table platform_zhihu_account_info.
-var platformZhihuAccountInfoColumns = PlatformZhihuAccountInfoColumns{
-	ZhihuId:            "zhihu_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformName:       "platform_name",
-	PlatformIconUrl:    "platform_icon_url",
-	PlatformAccountId:  "platform_account_id",
-	PlatformNickname:   "platform_nickname",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	GotAgreeCount:      "got_agree_count",
-	GotLikeCount:       "got_like_count",
-	GotCollectCount:    "got_collect_count",
-	AnswerCount:        "answer_count",
-	CreativeLevel:      "creative_level",
-	TotalReadPlayCount: "total_read_play_count",
-	HomePageCaptureUrl: "home_page_capture_url",
-	AccountFrom:        "account_from",
-	SubmitDate:         "submit_date",
-	ExamineFailAdminId: "examine_fail_admin_id",
-	ExamineDate:        "examine_date",
-	ExamineFailReason:  "examine_fail_reason",
-	UpdatedAt:          "updated_at",
-	ExamineSucAdminId:  "examine_suc_admin_id",
-}
-
-// NewPlatformZhihuAccountInfoDao creates and returns a new DAO object for table data access.
-func NewPlatformZhihuAccountInfoDao() *PlatformZhihuAccountInfoDao {
-	return &PlatformZhihuAccountInfoDao{
-		Group:   "default",
-		Table:   "platform_zhihu_account_info",
-		Columns: platformZhihuAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *PlatformZhihuAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *PlatformZhihuAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *PlatformZhihuAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// PlatformZhihuAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type PlatformZhihuAccountInfoDao struct {
+	Table   string                          // Table is the underlying table name of the DAO.
+	Group   string                          // Group is the database configuration group name of current DAO.
+	Columns PlatformZhihuAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// PlatformZhihuAccountInfoColumns defines and stores column names for table platform_zhihu_account_info.
+type PlatformZhihuAccountInfoColumns struct {
+	ZhihuId            string //
+	TalentId           string // 达人账号id(talent_info表的id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformName       string // 平台名称(冗余)
+	PlatformIconUrl    string // 平台icon的url(冗余)
+	PlatformAccountId  string // 在平台上的账号
+	PlatformNickname   string // 在平台上的昵称
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	GotAgreeCount      string // 被赞同总数
+	GotLikeCount       string // 被喜欢总数
+	GotCollectCount    string // 被收藏总数
+	AnswerCount        string // 回答总数
+	CreativeLevel      string // 创作等级
+	TotalReadPlayCount string // 总阅读播放量
+	HomePageCaptureUrl string // 主页截图
+	AccountFrom        string // 账号来源(仅B端批量上传的账号需要填写)
+	SubmitDate         string // 提交时间
+	ExamineFailAdminId string // 审核失败操作管理员id(user表中的id)
+	ExamineDate        string // 审核日期
+	ExamineFailReason  string // 审核失败原因
+	UpdatedAt          string // 更新时间
+	ExamineSucAdminId  string // 审核成功操作管理员id(user表中的id)
+}
+
+//  platformZhihuAccountInfoColumns holds the columns for table platform_zhihu_account_info.
+var platformZhihuAccountInfoColumns = PlatformZhihuAccountInfoColumns{
+	ZhihuId:            "zhihu_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformName:       "platform_name",
+	PlatformIconUrl:    "platform_icon_url",
+	PlatformAccountId:  "platform_account_id",
+	PlatformNickname:   "platform_nickname",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	GotAgreeCount:      "got_agree_count",
+	GotLikeCount:       "got_like_count",
+	GotCollectCount:    "got_collect_count",
+	AnswerCount:        "answer_count",
+	CreativeLevel:      "creative_level",
+	TotalReadPlayCount: "total_read_play_count",
+	HomePageCaptureUrl: "home_page_capture_url",
+	AccountFrom:        "account_from",
+	SubmitDate:         "submit_date",
+	ExamineFailAdminId: "examine_fail_admin_id",
+	ExamineDate:        "examine_date",
+	ExamineFailReason:  "examine_fail_reason",
+	UpdatedAt:          "updated_at",
+	ExamineSucAdminId:  "examine_suc_admin_id",
+}
+
+// NewPlatformZhihuAccountInfoDao creates and returns a new DAO object for table data access.
+func NewPlatformZhihuAccountInfoDao() *PlatformZhihuAccountInfoDao {
+	return &PlatformZhihuAccountInfoDao{
+		Group:   "default",
+		Table:   "platform_zhihu_account_info",
+		Columns: platformZhihuAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *PlatformZhihuAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *PlatformZhihuAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *PlatformZhihuAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 75 - 75
app/dao/internal/product.go

@@ -1,75 +1,75 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// ProductDao is the manager for logic model data accessing and custom defined data operations functions management.
-type ProductDao struct {
-	Table   string         // Table is the underlying table name of the DAO.
-	Group   string         // Group is the database configuration group name of current DAO.
-	Columns ProductColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// ProductColumns defines and stores column names for table product.
-type ProductColumns struct {
-	ProductId            string //
-	ProductName          string // 商品名称
-	ProductType          string // 商品类型 1:实物 ,2:商品,3:线下
-	ProductClassify      string // 商品分类id(info_product_classifyh表id)
-	ProductPrice         string // 商品价格
-	ProductSpecification string // 商品规格
-	CreatedAt            string // 创建时间
-	CreatPeople          string // 创建人
-	UpdatedAt            string // 更新时间
-	UpdatePeople         string // 更新人
-}
-
-//  productColumns holds the columns for table product.
-var productColumns = ProductColumns{
-	ProductId:            "product_id",
-	ProductName:          "product_name",
-	ProductType:          "product_type",
-	ProductClassify:      "product_classify",
-	ProductPrice:         "product_price",
-	ProductSpecification: "product_specification",
-	CreatedAt:            "created_at",
-	CreatPeople:          "creat_people",
-	UpdatedAt:            "updated_at",
-	UpdatePeople:         "update_people",
-}
-
-// NewProductDao creates and returns a new DAO object for table data access.
-func NewProductDao() *ProductDao {
-	return &ProductDao{
-		Group:   "default",
-		Table:   "product",
-		Columns: productColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *ProductDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *ProductDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *ProductDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// ProductDao is the manager for logic model data accessing and custom defined data operations functions management.
+type ProductDao struct {
+	Table   string         // Table is the underlying table name of the DAO.
+	Group   string         // Group is the database configuration group name of current DAO.
+	Columns ProductColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// ProductColumns defines and stores column names for table product.
+type ProductColumns struct {
+	ProductId            string //
+	ProductName          string // 商品名称
+	ProductType          string // 商品类型 1:实物 ,2:商品,3:线下
+	ProductClassify      string // 商品分类id(info_product_classifyh表id)
+	ProductPrice         string // 商品价格
+	ProductSpecification string // 商品规格
+	CreatedAt            string // 创建时间
+	CreatPeople          string // 创建人
+	UpdatedAt            string // 更新时间
+	UpdatePeople         string // 更新人
+}
+
+//  productColumns holds the columns for table product.
+var productColumns = ProductColumns{
+	ProductId:            "product_id",
+	ProductName:          "product_name",
+	ProductType:          "product_type",
+	ProductClassify:      "product_classify",
+	ProductPrice:         "product_price",
+	ProductSpecification: "product_specification",
+	CreatedAt:            "created_at",
+	CreatPeople:          "creat_people",
+	UpdatedAt:            "updated_at",
+	UpdatePeople:         "update_people",
+}
+
+// NewProductDao creates and returns a new DAO object for table data access.
+func NewProductDao() *ProductDao {
+	return &ProductDao{
+		Group:   "default",
+		Table:   "product",
+		Columns: productColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *ProductDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *ProductDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *ProductDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 71 - 71
app/dao/internal/product_photo.go

@@ -1,71 +1,71 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// ProductPhotoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type ProductPhotoDao struct {
-	Table   string              // Table is the underlying table name of the DAO.
-	Group   string              // Group is the database configuration group name of current DAO.
-	Columns ProductPhotoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// ProductPhotoColumns defines and stores column names for table product_photo.
-type ProductPhotoColumns struct {
-	ProductPhotoId string // 商品链接图主键id
-	ProductId      string // 商品表id
-	Symbol         string // 图片是主图还是详情图标志位 1主图 2轮播图 3,详情图
-	PhotoUrl       string // 商品图片链接
-	CreatedAt      string // 创建时间
-	CreatPeople    string // 创建人
-	UpdatedAt      string // 更新时间
-	UpdatePeople   string // 更新人
-}
-
-//  productPhotoColumns holds the columns for table product_photo.
-var productPhotoColumns = ProductPhotoColumns{
-	ProductPhotoId: "product_photo_id",
-	ProductId:      "product_id",
-	Symbol:         "symbol",
-	PhotoUrl:       "photo_url",
-	CreatedAt:      "created_at",
-	CreatPeople:    "creat_people",
-	UpdatedAt:      "updated_at",
-	UpdatePeople:   "update_people",
-}
-
-// NewProductPhotoDao creates and returns a new DAO object for table data access.
-func NewProductPhotoDao() *ProductPhotoDao {
-	return &ProductPhotoDao{
-		Group:   "default",
-		Table:   "product_photo",
-		Columns: productPhotoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *ProductPhotoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *ProductPhotoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *ProductPhotoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// ProductPhotoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type ProductPhotoDao struct {
+	Table   string              // Table is the underlying table name of the DAO.
+	Group   string              // Group is the database configuration group name of current DAO.
+	Columns ProductPhotoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// ProductPhotoColumns defines and stores column names for table product_photo.
+type ProductPhotoColumns struct {
+	ProductPhotoId string // 商品链接图主键id
+	ProductId      string // 商品表id
+	Symbol         string // 图片是主图还是详情图标志位 1主图 2轮播图 3,详情图
+	PhotoUrl       string // 商品图片链接
+	CreatedAt      string // 创建时间
+	CreatPeople    string // 创建人
+	UpdatedAt      string // 更新时间
+	UpdatePeople   string // 更新人
+}
+
+//  productPhotoColumns holds the columns for table product_photo.
+var productPhotoColumns = ProductPhotoColumns{
+	ProductPhotoId: "product_photo_id",
+	ProductId:      "product_id",
+	Symbol:         "symbol",
+	PhotoUrl:       "photo_url",
+	CreatedAt:      "created_at",
+	CreatPeople:    "creat_people",
+	UpdatedAt:      "updated_at",
+	UpdatePeople:   "update_people",
+}
+
+// NewProductPhotoDao creates and returns a new DAO object for table data access.
+func NewProductPhotoDao() *ProductPhotoDao {
+	return &ProductPhotoDao{
+		Group:   "default",
+		Table:   "product_photo",
+		Columns: productPhotoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *ProductPhotoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *ProductPhotoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *ProductPhotoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 121 - 121
app/dao/internal/project_info.go

@@ -1,121 +1,121 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// ProjectInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type ProjectInfoDao struct {
-	Table   string             // Table is the underlying table name of the DAO.
-	Group   string             // Group is the database configuration group name of current DAO.
-	Columns ProjectInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// ProjectInfoColumns defines and stores column names for table project_info.
-type ProjectInfoColumns struct {
-	ProjectId         string // 项目id
-	ProjectName       string // 项目名称
-	ProjectStatus     string // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、失效、执行中、已结案
-	ProjectType       string // 项目类型,1代表全流程项目,2代表专项项目
-	ProjectPlatform   string // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
-	ProjectForm       string // 项目形式,1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
-	TalentType        string // 达人类型
-	RecruitDdl        string // 招募截止时间
-	ContentType       string // 内容形式,1代表图文,2代表视频
-	ProjectDetail     string // 项目详情
-	ApplyNum          string // 报名人数
-	RecruitNum        string // 已招募人数
-	EnterpriseId      string // 所属企业id
-	ProductId         string // 关联商品id
-	CreatedAt         string // 创建时间
-	UpdatedAt         string // 修改时间
-	FeeForm           string // 稿费形式列表
-	AutoFailAt        string // 失效自动处理时间
-	AutoTaskId        string // 定时任务id
-	AutoDefaultId     string // 违约状态id
-	PaymentAmount     string // 支付金额
-	PayAt             string // 支付时间
-	AutoScriptBreakAt string // 脚本违约自动处理时间
-	AutoSketchBreakAt string // 初稿违约自动处理时间
-	FailReason        string // 失效原因,1、2分别表示逾期未支付、项目存在风险
-	PassAt            string // 审核通过时间
-	FinishAt          string // 结案时间
-	EstimatedCost     string // 预估成本
-	IsRead            string // 是否已读
-	SettlementAmount  string // 结算金额
-	ProductSnap       string // 商品信息快照
-	ProductPhotoSnap  string // 商品图片快照
-	SubmitAt          string // 提交审核时间
-}
-
-//  projectInfoColumns holds the columns for table project_info.
-var projectInfoColumns = ProjectInfoColumns{
-	ProjectId:         "project_id",
-	ProjectName:       "project_name",
-	ProjectStatus:     "project_status",
-	ProjectType:       "project_type",
-	ProjectPlatform:   "project_platform",
-	ProjectForm:       "project_form",
-	TalentType:        "talent_type",
-	RecruitDdl:        "recruit_ddl",
-	ContentType:       "content_type",
-	ProjectDetail:     "project_detail",
-	ApplyNum:          "apply_num",
-	RecruitNum:        "recruit_num",
-	EnterpriseId:      "enterprise_id",
-	ProductId:         "product_id",
-	CreatedAt:         "created_at",
-	UpdatedAt:         "updated_at",
-	FeeForm:           "fee_form",
-	AutoFailAt:        "auto_fail_at",
-	AutoTaskId:        "auto_task_id",
-	AutoDefaultId:     "auto_default_id",
-	PaymentAmount:     "payment_amount",
-	PayAt:             "pay_at",
-	AutoScriptBreakAt: "auto_script_break_at",
-	AutoSketchBreakAt: "auto_sketch_break_at",
-	FailReason:        "fail_reason",
-	PassAt:            "pass_at",
-	FinishAt:          "finish_at",
-	EstimatedCost:     "estimated_cost",
-	IsRead:            "is_read",
-	SettlementAmount:  "settlement_amount",
-	ProductSnap:       "product_snap",
-	ProductPhotoSnap:  "product_photo_snap",
-	SubmitAt:          "submit_at",
-}
-
-// NewProjectInfoDao creates and returns a new DAO object for table data access.
-func NewProjectInfoDao() *ProjectInfoDao {
-	return &ProjectInfoDao{
-		Group:   "default",
-		Table:   "project_info",
-		Columns: projectInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *ProjectInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *ProjectInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *ProjectInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// ProjectInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type ProjectInfoDao struct {
+	Table   string             // Table is the underlying table name of the DAO.
+	Group   string             // Group is the database configuration group name of current DAO.
+	Columns ProjectInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// ProjectInfoColumns defines and stores column names for table project_info.
+type ProjectInfoColumns struct {
+	ProjectId         string // 项目id
+	ProjectName       string // 项目名称
+	ProjectStatus     string // 项目状态,1-10分别代表创建中、待审核、审核通过、招募中、招募完毕、待支付、已支付、失效、执行中、已结案
+	ProjectType       string // 项目类型,1代表全流程项目,2代表专项项目
+	ProjectPlatform   string // 项目平台,1-7分别代表小红书、抖音、微博、快手、b站、大众点评、知乎
+	ProjectForm       string // 项目形式,1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
+	TalentType        string // 达人类型
+	RecruitDdl        string // 招募截止时间
+	ContentType       string // 内容形式,1代表图文,2代表视频
+	ProjectDetail     string // 项目详情
+	ApplyNum          string // 报名人数
+	RecruitNum        string // 已招募人数
+	EnterpriseId      string // 所属企业id
+	ProductId         string // 关联商品id
+	CreatedAt         string // 创建时间
+	UpdatedAt         string // 修改时间
+	FeeForm           string // 稿费形式列表
+	AutoFailAt        string // 失效自动处理时间
+	AutoTaskId        string // 定时任务id
+	AutoDefaultId     string // 违约状态id
+	PaymentAmount     string // 支付金额
+	PayAt             string // 支付时间
+	AutoScriptBreakAt string // 脚本违约自动处理时间
+	AutoSketchBreakAt string // 初稿违约自动处理时间
+	FailReason        string // 失效原因,1、2分别表示逾期未支付、项目存在风险
+	PassAt            string // 审核通过时间
+	FinishAt          string // 结案时间
+	EstimatedCost     string // 预估成本
+	IsRead            string // 是否已读
+	SettlementAmount  string // 结算金额
+	ProductSnap       string // 商品信息快照
+	ProductPhotoSnap  string // 商品图片快照
+	SubmitAt          string // 提交审核时间
+}
+
+//  projectInfoColumns holds the columns for table project_info.
+var projectInfoColumns = ProjectInfoColumns{
+	ProjectId:         "project_id",
+	ProjectName:       "project_name",
+	ProjectStatus:     "project_status",
+	ProjectType:       "project_type",
+	ProjectPlatform:   "project_platform",
+	ProjectForm:       "project_form",
+	TalentType:        "talent_type",
+	RecruitDdl:        "recruit_ddl",
+	ContentType:       "content_type",
+	ProjectDetail:     "project_detail",
+	ApplyNum:          "apply_num",
+	RecruitNum:        "recruit_num",
+	EnterpriseId:      "enterprise_id",
+	ProductId:         "product_id",
+	CreatedAt:         "created_at",
+	UpdatedAt:         "updated_at",
+	FeeForm:           "fee_form",
+	AutoFailAt:        "auto_fail_at",
+	AutoTaskId:        "auto_task_id",
+	AutoDefaultId:     "auto_default_id",
+	PaymentAmount:     "payment_amount",
+	PayAt:             "pay_at",
+	AutoScriptBreakAt: "auto_script_break_at",
+	AutoSketchBreakAt: "auto_sketch_break_at",
+	FailReason:        "fail_reason",
+	PassAt:            "pass_at",
+	FinishAt:          "finish_at",
+	EstimatedCost:     "estimated_cost",
+	IsRead:            "is_read",
+	SettlementAmount:  "settlement_amount",
+	ProductSnap:       "product_snap",
+	ProductPhotoSnap:  "product_photo_snap",
+	SubmitAt:          "submit_at",
+}
+
+// NewProjectInfoDao creates and returns a new DAO object for table data access.
+func NewProjectInfoDao() *ProjectInfoDao {
+	return &ProjectInfoDao{
+		Group:   "default",
+		Table:   "project_info",
+		Columns: projectInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *ProjectInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *ProjectInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *ProjectInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 67 - 67
app/dao/internal/project_photo.go

@@ -1,67 +1,67 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// ProjectPhotoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type ProjectPhotoDao struct {
-	Table   string              // Table is the underlying table name of the DAO.
-	Group   string              // Group is the database configuration group name of current DAO.
-	Columns ProjectPhotoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// ProjectPhotoColumns defines and stores column names for table project_photo.
-type ProjectPhotoColumns struct {
-	ProjectPhotoId string // 项目图片id
-	PhotoUrl       string // 图片url
-	PhotoUid       string //
-	ProjectId      string // 所属项目id
-	CreatedAt      string // 创建时间
-	FileName       string // 文件名称
-}
-
-//  projectPhotoColumns holds the columns for table project_photo.
-var projectPhotoColumns = ProjectPhotoColumns{
-	ProjectPhotoId: "project_photo_id",
-	PhotoUrl:       "photo_url",
-	PhotoUid:       "photo_uid",
-	ProjectId:      "project_id",
-	CreatedAt:      "created_at",
-	FileName:       "file_name",
-}
-
-// NewProjectPhotoDao creates and returns a new DAO object for table data access.
-func NewProjectPhotoDao() *ProjectPhotoDao {
-	return &ProjectPhotoDao{
-		Group:   "default",
-		Table:   "project_photo",
-		Columns: projectPhotoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *ProjectPhotoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *ProjectPhotoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *ProjectPhotoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// ProjectPhotoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type ProjectPhotoDao struct {
+	Table   string              // Table is the underlying table name of the DAO.
+	Group   string              // Group is the database configuration group name of current DAO.
+	Columns ProjectPhotoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// ProjectPhotoColumns defines and stores column names for table project_photo.
+type ProjectPhotoColumns struct {
+	ProjectPhotoId string // 项目图片id
+	PhotoUrl       string // 图片url
+	PhotoUid       string //
+	ProjectId      string // 所属项目id
+	CreatedAt      string // 创建时间
+	FileName       string // 文件名称
+}
+
+//  projectPhotoColumns holds the columns for table project_photo.
+var projectPhotoColumns = ProjectPhotoColumns{
+	ProjectPhotoId: "project_photo_id",
+	PhotoUrl:       "photo_url",
+	PhotoUid:       "photo_uid",
+	ProjectId:      "project_id",
+	CreatedAt:      "created_at",
+	FileName:       "file_name",
+}
+
+// NewProjectPhotoDao creates and returns a new DAO object for table data access.
+func NewProjectPhotoDao() *ProjectPhotoDao {
+	return &ProjectPhotoDao{
+		Group:   "default",
+		Table:   "project_photo",
+		Columns: projectPhotoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *ProjectPhotoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *ProjectPhotoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *ProjectPhotoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 63 - 63
app/dao/internal/r_order_compelete_stage_to_type.go

@@ -1,63 +1,63 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// ROrderCompeleteStageToTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
-type ROrderCompeleteStageToTypeDao struct {
-	Table   string                            // Table is the underlying table name of the DAO.
-	Group   string                            // Group is the database configuration group name of current DAO.
-	Columns ROrderCompeleteStageToTypeColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// ROrderCompeleteStageToTypeColumns defines and stores column names for table r_order_compelete_stage_to_type.
-type ROrderCompeleteStageToTypeColumns struct {
-	RId                 string //
-	OrderProcedureStage string // 任务流程的阶段(对应workflow_node_container表中的procedure_stage字段)
-	OrderProcedureStep  string // 任务流程的步骤(对应workflow_node_container表中的step_in_stage字段)
-	CompleteType        string // 任务步骤如果存在结束任务的可能,则这里是对应的结束任务的方式
-}
-
-//  rOrderCompeleteStageToTypeColumns holds the columns for table r_order_compelete_stage_to_type.
-var rOrderCompeleteStageToTypeColumns = ROrderCompeleteStageToTypeColumns{
-	RId:                 "r_id",
-	OrderProcedureStage: "order_procedure_stage",
-	OrderProcedureStep:  "order_procedure_step",
-	CompleteType:        "complete_type",
-}
-
-// NewROrderCompeleteStageToTypeDao creates and returns a new DAO object for table data access.
-func NewROrderCompeleteStageToTypeDao() *ROrderCompeleteStageToTypeDao {
-	return &ROrderCompeleteStageToTypeDao{
-		Group:   "default",
-		Table:   "r_order_compelete_stage_to_type",
-		Columns: rOrderCompeleteStageToTypeColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *ROrderCompeleteStageToTypeDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *ROrderCompeleteStageToTypeDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *ROrderCompeleteStageToTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// ROrderCompeleteStageToTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
+type ROrderCompeleteStageToTypeDao struct {
+	Table   string                            // Table is the underlying table name of the DAO.
+	Group   string                            // Group is the database configuration group name of current DAO.
+	Columns ROrderCompeleteStageToTypeColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// ROrderCompeleteStageToTypeColumns defines and stores column names for table r_order_compelete_stage_to_type.
+type ROrderCompeleteStageToTypeColumns struct {
+	RId                 string //
+	OrderProcedureStage string // 任务流程的阶段(对应workflow_node_container表中的procedure_stage字段)
+	OrderProcedureStep  string // 任务流程的步骤(对应workflow_node_container表中的step_in_stage字段)
+	CompleteType        string // 任务步骤如果存在结束任务的可能,则这里是对应的结束任务的方式
+}
+
+//  rOrderCompeleteStageToTypeColumns holds the columns for table r_order_compelete_stage_to_type.
+var rOrderCompeleteStageToTypeColumns = ROrderCompeleteStageToTypeColumns{
+	RId:                 "r_id",
+	OrderProcedureStage: "order_procedure_stage",
+	OrderProcedureStep:  "order_procedure_step",
+	CompleteType:        "complete_type",
+}
+
+// NewROrderCompeleteStageToTypeDao creates and returns a new DAO object for table data access.
+func NewROrderCompeleteStageToTypeDao() *ROrderCompeleteStageToTypeDao {
+	return &ROrderCompeleteStageToTypeDao{
+		Group:   "default",
+		Table:   "r_order_compelete_stage_to_type",
+		Columns: rOrderCompeleteStageToTypeColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *ROrderCompeleteStageToTypeDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *ROrderCompeleteStageToTypeDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *ROrderCompeleteStageToTypeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 85 - 85
app/dao/internal/r_talent_platform_table.go

@@ -1,85 +1,85 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// RTalentPlatformTableDao is the manager for logic model data accessing and custom defined data operations functions management.
-type RTalentPlatformTableDao struct {
-	Table   string                      // Table is the underlying table name of the DAO.
-	Group   string                      // Group is the database configuration group name of current DAO.
-	Columns RTalentPlatformTableColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// RTalentPlatformTableColumns defines and stores column names for table r_talent_platform_table.
-type RTalentPlatformTableColumns struct {
-	RtId           string // 审核表的主键ID
-	Tid            string // 达人id(talent_info表中的id)
-	PId            string // 平台id(info_third_platform表中的id)
-	PName          string // 平台名称
-	PNickname      string // 账号所在平台昵称
-	PAccountId     string // 平台对应的ID(达人在所在平台的ID)
-	FansCount      string // 达人在平台的粉丝数量
-	HomePageUrl    string // 达人的主页链接
-	ExamineState   string // 审核状态 1待审核 2审核通过 3审核驳回
-	FailReason     string // 审核驳回原因
-	ExamineAdminId string // 审核操作管理员id
-	CreateDate     string // 创建时间
-	ExamineDate    string // 审核时间
-	DisableDate    string // 下架时间
-	Deleted        string // 是否逻辑删除 0否 1是
-}
-
-//  rTalentPlatformTableColumns holds the columns for table r_talent_platform_table.
-var rTalentPlatformTableColumns = RTalentPlatformTableColumns{
-	RtId:           "rt_id",
-	Tid:            "tid",
-	PId:            "p_id",
-	PName:          "p_name",
-	PNickname:      "p_nickname",
-	PAccountId:     "p_account_id",
-	FansCount:      "fans_count",
-	HomePageUrl:    "home_page_url",
-	ExamineState:   "examine_state",
-	FailReason:     "fail_reason",
-	ExamineAdminId: "examine_admin_id",
-	CreateDate:     "create_date",
-	ExamineDate:    "examine_date",
-	DisableDate:    "disable_date",
-	Deleted:        "deleted",
-}
-
-// NewRTalentPlatformTableDao creates and returns a new DAO object for table data access.
-func NewRTalentPlatformTableDao() *RTalentPlatformTableDao {
-	return &RTalentPlatformTableDao{
-		Group:   "default",
-		Table:   "r_talent_platform_table",
-		Columns: rTalentPlatformTableColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *RTalentPlatformTableDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *RTalentPlatformTableDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *RTalentPlatformTableDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// RTalentPlatformTableDao is the manager for logic model data accessing and custom defined data operations functions management.
+type RTalentPlatformTableDao struct {
+	Table   string                      // Table is the underlying table name of the DAO.
+	Group   string                      // Group is the database configuration group name of current DAO.
+	Columns RTalentPlatformTableColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// RTalentPlatformTableColumns defines and stores column names for table r_talent_platform_table.
+type RTalentPlatformTableColumns struct {
+	RtId           string // 审核表的主键ID
+	Tid            string // 达人id(talent_info表中的id)
+	PId            string // 平台id(info_third_platform表中的id)
+	PName          string // 平台名称
+	PNickname      string // 账号所在平台昵称
+	PAccountId     string // 平台对应的ID(达人在所在平台的ID)
+	FansCount      string // 达人在平台的粉丝数量
+	HomePageUrl    string // 达人的主页链接
+	ExamineState   string // 审核状态 1待审核 2审核通过 3审核驳回
+	FailReason     string // 审核驳回原因
+	ExamineAdminId string // 审核操作管理员id
+	CreateDate     string // 创建时间
+	ExamineDate    string // 审核时间
+	DisableDate    string // 下架时间
+	Deleted        string // 是否逻辑删除 0否 1是
+}
+
+//  rTalentPlatformTableColumns holds the columns for table r_talent_platform_table.
+var rTalentPlatformTableColumns = RTalentPlatformTableColumns{
+	RtId:           "rt_id",
+	Tid:            "tid",
+	PId:            "p_id",
+	PName:          "p_name",
+	PNickname:      "p_nickname",
+	PAccountId:     "p_account_id",
+	FansCount:      "fans_count",
+	HomePageUrl:    "home_page_url",
+	ExamineState:   "examine_state",
+	FailReason:     "fail_reason",
+	ExamineAdminId: "examine_admin_id",
+	CreateDate:     "create_date",
+	ExamineDate:    "examine_date",
+	DisableDate:    "disable_date",
+	Deleted:        "deleted",
+}
+
+// NewRTalentPlatformTableDao creates and returns a new DAO object for table data access.
+func NewRTalentPlatformTableDao() *RTalentPlatformTableDao {
+	return &RTalentPlatformTableDao{
+		Group:   "default",
+		Table:   "r_talent_platform_table",
+		Columns: rTalentPlatformTableColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *RTalentPlatformTableDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *RTalentPlatformTableDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *RTalentPlatformTableDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 101 - 101
app/dao/internal/recruit_strategy.go

@@ -1,101 +1,101 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// RecruitStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
-type RecruitStrategyDao struct {
-	Table   string                 // Table is the underlying table name of the DAO.
-	Group   string                 // Group is the database configuration group name of current DAO.
-	Columns RecruitStrategyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// RecruitStrategyColumns defines and stores column names for table recruit_strategy.
-type RecruitStrategyColumns struct {
-	RecruitStrategyId string // 招募策略id
-	FeeForm           string // 稿费形式,1-3分别代表产品置换、固定稿费、自报价
-	StrategyId        string // 策略id
-	FollowersLow      string // 达人粉丝数下限
-	FollowersUp       string // 达人粉丝数上限
-	RecruitNumber     string // 招募数量
-	Offer             string // 报价
-	TOffer            string // 达人所见报价
-	ProjectId         string // 所属项目id
-	ServiceCharge     string // 平台服务费,稿费形式为产品置换时必填
-	SelectedNumber    string // 已选数量,被企业选择的达人数量
-	WaitingNumber     string // 待发货
-	DeliveredNumber   string // 已发货
-	SignedNumber      string // 已签收
-	MaxOffer          string // 报价上限
-	MinOffer          string // 报价下限
-	FanNumber         string // 总粉丝量
-	PlayNumber        string // 总播放量
-	LikeNumber        string // 总点赞数
-	CollectNumber     string // 总收藏量
-	CommentNumber     string // 总评论数
-	FinishNumber      string // 结案数量
-	TotalOffer        string // 支付合计
-}
-
-//  recruitStrategyColumns holds the columns for table recruit_strategy.
-var recruitStrategyColumns = RecruitStrategyColumns{
-	RecruitStrategyId: "recruit_strategy_id",
-	FeeForm:           "fee_form",
-	StrategyId:        "strategy_id",
-	FollowersLow:      "followers_low",
-	FollowersUp:       "followers_up",
-	RecruitNumber:     "recruit_number",
-	Offer:             "offer",
-	TOffer:            "t_offer",
-	ProjectId:         "project_id",
-	ServiceCharge:     "service_charge",
-	SelectedNumber:    "selected_number",
-	WaitingNumber:     "waiting_number",
-	DeliveredNumber:   "delivered_number",
-	SignedNumber:      "signed_number",
-	MaxOffer:          "max_offer",
-	MinOffer:          "min_offer",
-	FanNumber:         "fan_number",
-	PlayNumber:        "play_number",
-	LikeNumber:        "like_number",
-	CollectNumber:     "collect_number",
-	CommentNumber:     "comment_number",
-	FinishNumber:      "finish_number",
-	TotalOffer:        "total_offer",
-}
-
-// NewRecruitStrategyDao creates and returns a new DAO object for table data access.
-func NewRecruitStrategyDao() *RecruitStrategyDao {
-	return &RecruitStrategyDao{
-		Group:   "default",
-		Table:   "recruit_strategy",
-		Columns: recruitStrategyColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *RecruitStrategyDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *RecruitStrategyDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *RecruitStrategyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// RecruitStrategyDao is the manager for logic model data accessing and custom defined data operations functions management.
+type RecruitStrategyDao struct {
+	Table   string                 // Table is the underlying table name of the DAO.
+	Group   string                 // Group is the database configuration group name of current DAO.
+	Columns RecruitStrategyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// RecruitStrategyColumns defines and stores column names for table recruit_strategy.
+type RecruitStrategyColumns struct {
+	RecruitStrategyId string // 招募策略id
+	FeeForm           string // 稿费形式,1-3分别代表产品置换、固定稿费、自报价
+	StrategyId        string // 策略id
+	FollowersLow      string // 达人粉丝数下限
+	FollowersUp       string // 达人粉丝数上限
+	RecruitNumber     string // 招募数量
+	Offer             string // 报价
+	TOffer            string // 达人所见报价
+	ProjectId         string // 所属项目id
+	ServiceCharge     string // 平台服务费,稿费形式为产品置换时必填
+	SelectedNumber    string // 已选数量,被企业选择的达人数量
+	WaitingNumber     string // 待发货
+	DeliveredNumber   string // 已发货
+	SignedNumber      string // 已签收
+	MaxOffer          string // 报价上限
+	MinOffer          string // 报价下限
+	FanNumber         string // 总粉丝量
+	PlayNumber        string // 总播放量
+	LikeNumber        string // 总点赞数
+	CollectNumber     string // 总收藏量
+	CommentNumber     string // 总评论数
+	FinishNumber      string // 结案数量
+	TotalOffer        string // 支付合计
+}
+
+//  recruitStrategyColumns holds the columns for table recruit_strategy.
+var recruitStrategyColumns = RecruitStrategyColumns{
+	RecruitStrategyId: "recruit_strategy_id",
+	FeeForm:           "fee_form",
+	StrategyId:        "strategy_id",
+	FollowersLow:      "followers_low",
+	FollowersUp:       "followers_up",
+	RecruitNumber:     "recruit_number",
+	Offer:             "offer",
+	TOffer:            "t_offer",
+	ProjectId:         "project_id",
+	ServiceCharge:     "service_charge",
+	SelectedNumber:    "selected_number",
+	WaitingNumber:     "waiting_number",
+	DeliveredNumber:   "delivered_number",
+	SignedNumber:      "signed_number",
+	MaxOffer:          "max_offer",
+	MinOffer:          "min_offer",
+	FanNumber:         "fan_number",
+	PlayNumber:        "play_number",
+	LikeNumber:        "like_number",
+	CollectNumber:     "collect_number",
+	CommentNumber:     "comment_number",
+	FinishNumber:      "finish_number",
+	TotalOffer:        "total_offer",
+}
+
+// NewRecruitStrategyDao creates and returns a new DAO object for table data access.
+func NewRecruitStrategyDao() *RecruitStrategyDao {
+	return &RecruitStrategyDao{
+		Group:   "default",
+		Table:   "recruit_strategy",
+		Columns: recruitStrategyColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *RecruitStrategyDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *RecruitStrategyDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *RecruitStrategyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/talent_delivery_address.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TalentDeliveryAddressDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TalentDeliveryAddressDao struct {
-	Table   string                       // Table is the underlying table name of the DAO.
-	Group   string                       // Group is the database configuration group name of current DAO.
-	Columns TalentDeliveryAddressColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TalentDeliveryAddressColumns defines and stores column names for table talent_delivery_address.
-type TalentDeliveryAddressColumns struct {
-	AddressId    string //
-	RegionCode   string // 区域码,取info_region表中的self_code字段值
-	DetailAddr   string // 详细地址
-	PhoneNumber  string // 联系电话
-	ReceiverName string // 收货人名字
-	DefaultTag   string // 是否默认收货地址
-	TalentId     string // 达人id(talent_info表中的id)
-}
-
-//  talentDeliveryAddressColumns holds the columns for table talent_delivery_address.
-var talentDeliveryAddressColumns = TalentDeliveryAddressColumns{
-	AddressId:    "address_id",
-	RegionCode:   "region_code",
-	DetailAddr:   "detail_addr",
-	PhoneNumber:  "phone_number",
-	ReceiverName: "receiver_name",
-	DefaultTag:   "default_tag",
-	TalentId:     "talent_id",
-}
-
-// NewTalentDeliveryAddressDao creates and returns a new DAO object for table data access.
-func NewTalentDeliveryAddressDao() *TalentDeliveryAddressDao {
-	return &TalentDeliveryAddressDao{
-		Group:   "default",
-		Table:   "talent_delivery_address",
-		Columns: talentDeliveryAddressColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TalentDeliveryAddressDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TalentDeliveryAddressDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TalentDeliveryAddressDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TalentDeliveryAddressDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TalentDeliveryAddressDao struct {
+	Table   string                       // Table is the underlying table name of the DAO.
+	Group   string                       // Group is the database configuration group name of current DAO.
+	Columns TalentDeliveryAddressColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TalentDeliveryAddressColumns defines and stores column names for table talent_delivery_address.
+type TalentDeliveryAddressColumns struct {
+	AddressId    string //
+	RegionCode   string // 区域码,取info_region表中的self_code字段值
+	DetailAddr   string // 详细地址
+	PhoneNumber  string // 联系电话
+	ReceiverName string // 收货人名字
+	DefaultTag   string // 是否默认收货地址
+	TalentId     string // 达人id(talent_info表中的id)
+}
+
+//  talentDeliveryAddressColumns holds the columns for table talent_delivery_address.
+var talentDeliveryAddressColumns = TalentDeliveryAddressColumns{
+	AddressId:    "address_id",
+	RegionCode:   "region_code",
+	DetailAddr:   "detail_addr",
+	PhoneNumber:  "phone_number",
+	ReceiverName: "receiver_name",
+	DefaultTag:   "default_tag",
+	TalentId:     "talent_id",
+}
+
+// NewTalentDeliveryAddressDao creates and returns a new DAO object for table data access.
+func NewTalentDeliveryAddressDao() *TalentDeliveryAddressDao {
+	return &TalentDeliveryAddressDao{
+		Group:   "default",
+		Table:   "talent_delivery_address",
+		Columns: talentDeliveryAddressColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TalentDeliveryAddressDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TalentDeliveryAddressDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TalentDeliveryAddressDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 93 - 93
app/dao/internal/talent_info.go

@@ -1,93 +1,93 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TalentInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TalentInfoDao struct {
-	Table   string            // Table is the underlying table name of the DAO.
-	Group   string            // Group is the database configuration group name of current DAO.
-	Columns TalentInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TalentInfoColumns defines and stores column names for table talent_info.
-type TalentInfoColumns struct {
-	Id                string //
-	TalentWxOpenid    string // 达人的微信openid
-	TalentWxNickname  string // 达人的微信昵称
-	TalentWxNumber    string // 达人微信号
-	TalentGender      string // 性别,0未知 1男 2女
-	TalentPhoneNumber string // 电话号码
-	TalentAgeBracket  string // 年龄段,取tallent_age_bracket表id
-	TalentSkinType    string // 肤质,取tallent_skin_type表的id
-	TalentNationality string // 国籍,取tallent_nationality表id
-	VisitStoreRegion  string // 探店区域,取region_info表中的self_code
-	ApprovalStatus    string // 审核状态 0提交未审核 1审核通过 2审核失败
-	ApprovalDate      string // 审核时间
-	Enabled           string // 是否上架(激活)
-	EnabledDate       string // 上架(激活)时间
-	InBlacklist       string // 是否加入黑名单 0否 1是
-	CreateDate        string // 创建时间
-	LastLoginDate     string // 最后登录时间
-	AliName           string // 支付宝姓名
-	AliAccount        string // 支付宝账号
-}
-
-//  talentInfoColumns holds the columns for table talent_info.
-var talentInfoColumns = TalentInfoColumns{
-	Id:                "id",
-	TalentWxOpenid:    "talent_wx_openid",
-	TalentWxNickname:  "talent_wx_nickname",
-	TalentWxNumber:    "talent_wx_number",
-	TalentGender:      "talent_gender",
-	TalentPhoneNumber: "talent_phone_number",
-	TalentAgeBracket:  "talent_age_bracket",
-	TalentSkinType:    "talent_skin_type",
-	TalentNationality: "talent_nationality",
-	VisitStoreRegion:  "visit_store_region",
-	ApprovalStatus:    "approval_status",
-	ApprovalDate:      "approval_date",
-	Enabled:           "enabled",
-	EnabledDate:       "enabled_date",
-	InBlacklist:       "in_blacklist",
-	CreateDate:        "create_date",
-	LastLoginDate:     "last_login_date",
-	AliName:           "ali_name",
-	AliAccount:        "ali_account",
-}
-
-// NewTalentInfoDao creates and returns a new DAO object for table data access.
-func NewTalentInfoDao() *TalentInfoDao {
-	return &TalentInfoDao{
-		Group:   "default",
-		Table:   "talent_info",
-		Columns: talentInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TalentInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TalentInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TalentInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TalentInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TalentInfoDao struct {
+	Table   string            // Table is the underlying table name of the DAO.
+	Group   string            // Group is the database configuration group name of current DAO.
+	Columns TalentInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TalentInfoColumns defines and stores column names for table talent_info.
+type TalentInfoColumns struct {
+	Id                string //
+	TalentWxOpenid    string // 达人的微信openid
+	TalentWxNickname  string // 达人的微信昵称
+	TalentWxNumber    string // 达人微信号
+	TalentGender      string // 性别,0未知 1男 2女
+	TalentPhoneNumber string // 电话号码
+	TalentAgeBracket  string // 年龄段,取tallent_age_bracket表id
+	TalentSkinType    string // 肤质,取tallent_skin_type表的id
+	TalentNationality string // 国籍,取tallent_nationality表id
+	VisitStoreRegion  string // 探店区域,取region_info表中的self_code
+	ApprovalStatus    string // 审核状态 0提交未审核 1审核通过 2审核失败
+	ApprovalDate      string // 审核时间
+	Enabled           string // 是否上架(激活)
+	EnabledDate       string // 上架(激活)时间
+	InBlacklist       string // 是否加入黑名单 0否 1是
+	CreateDate        string // 创建时间
+	LastLoginDate     string // 最后登录时间
+	AliName           string // 支付宝姓名
+	AliAccount        string // 支付宝账号
+}
+
+//  talentInfoColumns holds the columns for table talent_info.
+var talentInfoColumns = TalentInfoColumns{
+	Id:                "id",
+	TalentWxOpenid:    "talent_wx_openid",
+	TalentWxNickname:  "talent_wx_nickname",
+	TalentWxNumber:    "talent_wx_number",
+	TalentGender:      "talent_gender",
+	TalentPhoneNumber: "talent_phone_number",
+	TalentAgeBracket:  "talent_age_bracket",
+	TalentSkinType:    "talent_skin_type",
+	TalentNationality: "talent_nationality",
+	VisitStoreRegion:  "visit_store_region",
+	ApprovalStatus:    "approval_status",
+	ApprovalDate:      "approval_date",
+	Enabled:           "enabled",
+	EnabledDate:       "enabled_date",
+	InBlacklist:       "in_blacklist",
+	CreateDate:        "create_date",
+	LastLoginDate:     "last_login_date",
+	AliName:           "ali_name",
+	AliAccount:        "ali_account",
+}
+
+// NewTalentInfoDao creates and returns a new DAO object for table data access.
+func NewTalentInfoDao() *TalentInfoDao {
+	return &TalentInfoDao{
+		Group:   "default",
+		Table:   "talent_info",
+		Columns: talentInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TalentInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TalentInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TalentInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 64 - 64
app/dao/internal/talent_pay_account_info.go

@@ -1,65 +1,65 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TalentPayAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TalentPayAccountInfoDao struct {
-	Table   string          // Table is the underlying table name of the DAO.
-	Group   string          // Group is the database configuration group name of current DAO.
-	Columns TalentPayAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TalentPayAccountInfoColumns defines and stores column names for table talent_pay_account_info.
-type TalentPayAccountInfoColumns struct {
-	Id           string //                              
-    PayPlatform  string // 支付平台,如支付宝           
-    PayAccount   string // 支付账户                     
-    AccountName  string // 账户姓名                     
-    TalentId     string // 达人id(talent_info表中的id)
-}
-
-//  talentPayAccountInfoColumns holds the columns for table talent_pay_account_info.
-var talentPayAccountInfoColumns = TalentPayAccountInfoColumns{
-	Id:          "id",            
-            PayPlatform: "pay_platform",  
-            PayAccount:  "pay_account",   
-            AccountName: "account_name",  
-            TalentId:    "talent_id",
-}
-
-// NewTalentPayAccountInfoDao creates and returns a new DAO object for table data access.
-func NewTalentPayAccountInfoDao() *TalentPayAccountInfoDao {
-	return &TalentPayAccountInfoDao{
-		Group:   "default",
-		Table:   "talent_pay_account_info",
-		Columns: talentPayAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TalentPayAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TalentPayAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TalentPayAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TalentPayAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TalentPayAccountInfoDao struct {
+	Table   string          // Table is the underlying table name of the DAO.
+	Group   string          // Group is the database configuration group name of current DAO.
+	Columns TalentPayAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TalentPayAccountInfoColumns defines and stores column names for table talent_pay_account_info.
+type TalentPayAccountInfoColumns struct {
+	Id           string //                              
+    PayPlatform  string // 支付平台,如支付宝           
+    PayAccount   string // 支付账户                     
+    AccountName  string // 账户姓名                     
+    TalentId     string // 达人id(talent_info表中的id)
+}
+
+//  talentPayAccountInfoColumns holds the columns for table talent_pay_account_info.
+var talentPayAccountInfoColumns = TalentPayAccountInfoColumns{
+	Id:          "id",            
+            PayPlatform: "pay_platform",  
+            PayAccount:  "pay_account",   
+            AccountName: "account_name",  
+            TalentId:    "talent_id",
+}
+
+// NewTalentPayAccountInfoDao creates and returns a new DAO object for table data access.
+func NewTalentPayAccountInfoDao() *TalentPayAccountInfoDao {
+	return &TalentPayAccountInfoDao{
+		Group:   "default",
+		Table:   "talent_pay_account_info",
+		Columns: talentPayAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TalentPayAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TalentPayAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TalentPayAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
 }

+ 89 - 89
app/dao/internal/task_base_info.go

@@ -1,89 +1,89 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskBaseInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskBaseInfoDao struct {
-	Table   string              // Table is the underlying table name of the DAO.
-	Group   string              // Group is the database configuration group name of current DAO.
-	Columns TaskBaseInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskBaseInfoColumns defines and stores column names for table task_base_info.
-type TaskBaseInfoColumns struct {
-	TaskId         string // 任务基础信息id
-	TaskName       string // 任务名称
-	TaskPlatform   string // 任务平台id,取third_platform_info表id
-	TaskMode       string // 任务模式 1置换任务 2稿费任务 3折扣任务
-	BusinessType   string // 业务类型 1实物 2虚拟 3线下
-	ContentForm    string // 内容形式 低4位为图片和视频类型,0001原创图片 0010指定图片 0100原创视频 1000指定视频 5~6位为文案类型 010000为原创文案 100000为指定文案 第7位为是否直播01000000为直播00000000为非直播
-	OtherForm      string // 其他形式 1不限 2仅单品 3仅合辑
-	StartTime      string // 作品发布时间
-	EndTime        string // 作品结束时间
-	DeadlineTime   string // 任务报名截至日期
-	TaskStatus     string // 任务状态:1待支付(待上线)  2执行中  3已结案
-	TaskCreateFlag string // 创建任务时提交状态
-	BrandId        string // 品牌id
-	ProductId      string // 任务商品id
-	CreatedAt      string // 创建时间
-	OnlineTime     string // 上线时间
-	BrandName      string // 品牌名称
-}
-
-//  taskBaseInfoColumns holds the columns for table task_base_info.
-var taskBaseInfoColumns = TaskBaseInfoColumns{
-	TaskId:         "task_id",
-	TaskName:       "task_name",
-	TaskPlatform:   "task_platform",
-	TaskMode:       "task_mode",
-	BusinessType:   "business_type",
-	ContentForm:    "content_form",
-	OtherForm:      "other_form",
-	StartTime:      "start_time",
-	EndTime:        "end_time",
-	DeadlineTime:   "deadline_time",
-	TaskStatus:     "task_status",
-	TaskCreateFlag: "task_create_flag",
-	BrandId:        "brand_id",
-	ProductId:      "product_id",
-	CreatedAt:      "created_at",
-	OnlineTime:     "online_time",
-	BrandName:      "brand_name",
-}
-
-// NewTaskBaseInfoDao creates and returns a new DAO object for table data access.
-func NewTaskBaseInfoDao() *TaskBaseInfoDao {
-	return &TaskBaseInfoDao{
-		Group:   "default",
-		Table:   "task_base_info",
-		Columns: taskBaseInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskBaseInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskBaseInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskBaseInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskBaseInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskBaseInfoDao struct {
+	Table   string              // Table is the underlying table name of the DAO.
+	Group   string              // Group is the database configuration group name of current DAO.
+	Columns TaskBaseInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskBaseInfoColumns defines and stores column names for table task_base_info.
+type TaskBaseInfoColumns struct {
+	TaskId         string // 任务基础信息id
+	TaskName       string // 任务名称
+	TaskPlatform   string // 任务平台id,取third_platform_info表id
+	TaskMode       string // 任务模式 1置换任务 2稿费任务 3折扣任务
+	BusinessType   string // 业务类型 1实物 2虚拟 3线下
+	ContentForm    string // 内容形式 低4位为图片和视频类型,0001原创图片 0010指定图片 0100原创视频 1000指定视频 5~6位为文案类型 010000为原创文案 100000为指定文案 第7位为是否直播01000000为直播00000000为非直播
+	OtherForm      string // 其他形式 1不限 2仅单品 3仅合辑
+	StartTime      string // 作品发布时间
+	EndTime        string // 作品结束时间
+	DeadlineTime   string // 任务报名截至日期
+	TaskStatus     string // 任务状态:1待支付(待上线)  2执行中  3已结案
+	TaskCreateFlag string // 创建任务时提交状态
+	BrandId        string // 品牌id
+	ProductId      string // 任务商品id
+	CreatedAt      string // 创建时间
+	OnlineTime     string // 上线时间
+	BrandName      string // 品牌名称
+}
+
+//  taskBaseInfoColumns holds the columns for table task_base_info.
+var taskBaseInfoColumns = TaskBaseInfoColumns{
+	TaskId:         "task_id",
+	TaskName:       "task_name",
+	TaskPlatform:   "task_platform",
+	TaskMode:       "task_mode",
+	BusinessType:   "business_type",
+	ContentForm:    "content_form",
+	OtherForm:      "other_form",
+	StartTime:      "start_time",
+	EndTime:        "end_time",
+	DeadlineTime:   "deadline_time",
+	TaskStatus:     "task_status",
+	TaskCreateFlag: "task_create_flag",
+	BrandId:        "brand_id",
+	ProductId:      "product_id",
+	CreatedAt:      "created_at",
+	OnlineTime:     "online_time",
+	BrandName:      "brand_name",
+}
+
+// NewTaskBaseInfoDao creates and returns a new DAO object for table data access.
+func NewTaskBaseInfoDao() *TaskBaseInfoDao {
+	return &TaskBaseInfoDao{
+		Group:   "default",
+		Table:   "task_base_info",
+		Columns: taskBaseInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskBaseInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskBaseInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskBaseInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 77 - 77
app/dao/internal/task_perform_help_info.go

@@ -1,77 +1,77 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskPerformHelpInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskPerformHelpInfoDao struct {
-	Table   string                     // Table is the underlying table name of the DAO.
-	Group   string                     // Group is the database configuration group name of current DAO.
-	Columns TaskPerformHelpInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskPerformHelpInfoColumns defines and stores column names for table task_perform_help_info.
-type TaskPerformHelpInfoColumns struct {
-	TphId               string //
-	TaskBaseId          string // 关联的任务基本信息id
-	BrandKeyword        string // 品牌关键词
-	ProductMerits       string // 产品亮点
-	AppendTopic         string // 添加话题
-	CaptureRequirement  string // 拍摄要求
-	RemainDays          string // 保留时长(天)
-	OtherPerformRequire string // 其他执行要求
-	CaptureReference    string // 拍摄参考
-	CustomServiceQrcode string // 客服二维码url
-	BriefList           string // brief图片urls
-}
-
-//  taskPerformHelpInfoColumns holds the columns for table task_perform_help_info.
-var taskPerformHelpInfoColumns = TaskPerformHelpInfoColumns{
-	TphId:               "tph_id",
-	TaskBaseId:          "task_base_id",
-	BrandKeyword:        "brand_keyword",
-	ProductMerits:       "product_merits",
-	AppendTopic:         "append_topic",
-	CaptureRequirement:  "capture_requirement",
-	RemainDays:          "remain_days",
-	OtherPerformRequire: "other_perform_require",
-	CaptureReference:    "capture_reference",
-	CustomServiceQrcode: "custom_service_qrcode",
-	BriefList:           "brief_list",
-}
-
-// NewTaskPerformHelpInfoDao creates and returns a new DAO object for table data access.
-func NewTaskPerformHelpInfoDao() *TaskPerformHelpInfoDao {
-	return &TaskPerformHelpInfoDao{
-		Group:   "default",
-		Table:   "task_perform_help_info",
-		Columns: taskPerformHelpInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskPerformHelpInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskPerformHelpInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskPerformHelpInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskPerformHelpInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskPerformHelpInfoDao struct {
+	Table   string                     // Table is the underlying table name of the DAO.
+	Group   string                     // Group is the database configuration group name of current DAO.
+	Columns TaskPerformHelpInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskPerformHelpInfoColumns defines and stores column names for table task_perform_help_info.
+type TaskPerformHelpInfoColumns struct {
+	TphId               string //
+	TaskBaseId          string // 关联的任务基本信息id
+	BrandKeyword        string // 品牌关键词
+	ProductMerits       string // 产品亮点
+	AppendTopic         string // 添加话题
+	CaptureRequirement  string // 拍摄要求
+	RemainDays          string // 保留时长(天)
+	OtherPerformRequire string // 其他执行要求
+	CaptureReference    string // 拍摄参考
+	CustomServiceQrcode string // 客服二维码url
+	BriefList           string // brief图片urls
+}
+
+//  taskPerformHelpInfoColumns holds the columns for table task_perform_help_info.
+var taskPerformHelpInfoColumns = TaskPerformHelpInfoColumns{
+	TphId:               "tph_id",
+	TaskBaseId:          "task_base_id",
+	BrandKeyword:        "brand_keyword",
+	ProductMerits:       "product_merits",
+	AppendTopic:         "append_topic",
+	CaptureRequirement:  "capture_requirement",
+	RemainDays:          "remain_days",
+	OtherPerformRequire: "other_perform_require",
+	CaptureReference:    "capture_reference",
+	CustomServiceQrcode: "custom_service_qrcode",
+	BriefList:           "brief_list",
+}
+
+// NewTaskPerformHelpInfoDao creates and returns a new DAO object for table data access.
+func NewTaskPerformHelpInfoDao() *TaskPerformHelpInfoDao {
+	return &TaskPerformHelpInfoDao{
+		Group:   "default",
+		Table:   "task_perform_help_info",
+		Columns: taskPerformHelpInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskPerformHelpInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskPerformHelpInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskPerformHelpInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 67 - 67
app/dao/internal/task_procedure_article_info.go

@@ -1,67 +1,67 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskProcedureArticleInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskProcedureArticleInfoDao struct {
-	Table   string                          // Table is the underlying table name of the DAO.
-	Group   string                          // Group is the database configuration group name of current DAO.
-	Columns TaskProcedureArticleInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskProcedureArticleInfoColumns defines and stores column names for table task_procedure_article_info.
-type TaskProcedureArticleInfoColumns struct {
-	TpaId            string //
-	TaskBaseId       string // 任务id(对应task_base_info表id字段)
-	UploadLimitDay   string // 上传作品天数限制
-	UploadReduceRate string // 上传作品超时扣费比率(*100)
-	ReviseLimitDay   string // 作品修改天数限制
-	ReviseReduceRate string // 作品修改超时扣费比率(*100)
-}
-
-//  taskProcedureArticleInfoColumns holds the columns for table task_procedure_article_info.
-var taskProcedureArticleInfoColumns = TaskProcedureArticleInfoColumns{
-	TpaId:            "tpa_id",
-	TaskBaseId:       "task_base_id",
-	UploadLimitDay:   "upload_limit_day",
-	UploadReduceRate: "upload_reduce_rate",
-	ReviseLimitDay:   "revise_limit_day",
-	ReviseReduceRate: "revise_reduce_rate",
-}
-
-// NewTaskProcedureArticleInfoDao creates and returns a new DAO object for table data access.
-func NewTaskProcedureArticleInfoDao() *TaskProcedureArticleInfoDao {
-	return &TaskProcedureArticleInfoDao{
-		Group:   "default",
-		Table:   "task_procedure_article_info",
-		Columns: taskProcedureArticleInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskProcedureArticleInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskProcedureArticleInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskProcedureArticleInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskProcedureArticleInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskProcedureArticleInfoDao struct {
+	Table   string                          // Table is the underlying table name of the DAO.
+	Group   string                          // Group is the database configuration group name of current DAO.
+	Columns TaskProcedureArticleInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskProcedureArticleInfoColumns defines and stores column names for table task_procedure_article_info.
+type TaskProcedureArticleInfoColumns struct {
+	TpaId            string //
+	TaskBaseId       string // 任务id(对应task_base_info表id字段)
+	UploadLimitDay   string // 上传作品天数限制
+	UploadReduceRate string // 上传作品超时扣费比率(*100)
+	ReviseLimitDay   string // 作品修改天数限制
+	ReviseReduceRate string // 作品修改超时扣费比率(*100)
+}
+
+//  taskProcedureArticleInfoColumns holds the columns for table task_procedure_article_info.
+var taskProcedureArticleInfoColumns = TaskProcedureArticleInfoColumns{
+	TpaId:            "tpa_id",
+	TaskBaseId:       "task_base_id",
+	UploadLimitDay:   "upload_limit_day",
+	UploadReduceRate: "upload_reduce_rate",
+	ReviseLimitDay:   "revise_limit_day",
+	ReviseReduceRate: "revise_reduce_rate",
+}
+
+// NewTaskProcedureArticleInfoDao creates and returns a new DAO object for table data access.
+func NewTaskProcedureArticleInfoDao() *TaskProcedureArticleInfoDao {
+	return &TaskProcedureArticleInfoDao{
+		Group:   "default",
+		Table:   "task_procedure_article_info",
+		Columns: taskProcedureArticleInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskProcedureArticleInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskProcedureArticleInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskProcedureArticleInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/task_procedure_buy_samples_info.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskProcedureBuySamplesInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskProcedureBuySamplesInfoDao struct {
-	Table   string                             // Table is the underlying table name of the DAO.
-	Group   string                             // Group is the database configuration group name of current DAO.
-	Columns TaskProcedureBuySamplesInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskProcedureBuySamplesInfoColumns defines and stores column names for table task_procedure_buy_samples_info.
-type TaskProcedureBuySamplesInfoColumns struct {
-	TpbId            string //
-	TaskBaseId       string // 任务id(对应task_base_info表id字段)
-	PlatformName     string // 平台对应的名称
-	BuySamplesCost   string // 拍单费用
-	BuySamplesRefund string // 拍单退费
-	BuySamplesUrl    string // 拍单链接
-	SyncLogistics    string // 是否同步物流信息 0不同步 1同步
-}
-
-//  taskProcedureBuySamplesInfoColumns holds the columns for table task_procedure_buy_samples_info.
-var taskProcedureBuySamplesInfoColumns = TaskProcedureBuySamplesInfoColumns{
-	TpbId:            "tpb_id",
-	TaskBaseId:       "task_base_id",
-	PlatformName:     "platform_name",
-	BuySamplesCost:   "buy_samples_cost",
-	BuySamplesRefund: "buy_samples_refund",
-	BuySamplesUrl:    "buy_samples_url",
-	SyncLogistics:    "sync_logistics",
-}
-
-// NewTaskProcedureBuySamplesInfoDao creates and returns a new DAO object for table data access.
-func NewTaskProcedureBuySamplesInfoDao() *TaskProcedureBuySamplesInfoDao {
-	return &TaskProcedureBuySamplesInfoDao{
-		Group:   "default",
-		Table:   "task_procedure_buy_samples_info",
-		Columns: taskProcedureBuySamplesInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskProcedureBuySamplesInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskProcedureBuySamplesInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskProcedureBuySamplesInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskProcedureBuySamplesInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskProcedureBuySamplesInfoDao struct {
+	Table   string                             // Table is the underlying table name of the DAO.
+	Group   string                             // Group is the database configuration group name of current DAO.
+	Columns TaskProcedureBuySamplesInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskProcedureBuySamplesInfoColumns defines and stores column names for table task_procedure_buy_samples_info.
+type TaskProcedureBuySamplesInfoColumns struct {
+	TpbId            string //
+	TaskBaseId       string // 任务id(对应task_base_info表id字段)
+	PlatformName     string // 平台对应的名称
+	BuySamplesCost   string // 拍单费用
+	BuySamplesRefund string // 拍单退费
+	BuySamplesUrl    string // 拍单链接
+	SyncLogistics    string // 是否同步物流信息 0不同步 1同步
+}
+
+//  taskProcedureBuySamplesInfoColumns holds the columns for table task_procedure_buy_samples_info.
+var taskProcedureBuySamplesInfoColumns = TaskProcedureBuySamplesInfoColumns{
+	TpbId:            "tpb_id",
+	TaskBaseId:       "task_base_id",
+	PlatformName:     "platform_name",
+	BuySamplesCost:   "buy_samples_cost",
+	BuySamplesRefund: "buy_samples_refund",
+	BuySamplesUrl:    "buy_samples_url",
+	SyncLogistics:    "sync_logistics",
+}
+
+// NewTaskProcedureBuySamplesInfoDao creates and returns a new DAO object for table data access.
+func NewTaskProcedureBuySamplesInfoDao() *TaskProcedureBuySamplesInfoDao {
+	return &TaskProcedureBuySamplesInfoDao{
+		Group:   "default",
+		Table:   "task_procedure_buy_samples_info",
+		Columns: taskProcedureBuySamplesInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskProcedureBuySamplesInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskProcedureBuySamplesInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskProcedureBuySamplesInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 93 - 93
app/dao/internal/task_procedure_decision_condition.go

@@ -1,93 +1,93 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskProcedureDecisionConditionDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskProcedureDecisionConditionDao struct {
-	Table   string                                // Table is the underlying table name of the DAO.
-	Group   string                                // Group is the database configuration group name of current DAO.
-	Columns TaskProcedureDecisionConditionColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskProcedureDecisionConditionColumns defines and stores column names for table task_procedure_decision_condition.
-type TaskProcedureDecisionConditionColumns struct {
-	TpdId              string //
-	TaskBaseId         string // 任务id(对应task_base_info表id字段)
-	BuySamplesType     string // 拍单方式 1样叽拍单 2,不拍单
-	BuySamplesStage    string // 拍单对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
-	ExamineDraft       string // 是否需要审核初稿 0不审核 1审核
-	ExamineDraftStage  string // 审核初稿对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
-	ReviewArticle      string // 是否需要审核作品 0不审核 1审核
-	ReviewArticleStage string // 审核作品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
-	IsTestQulity       string // 是否质检目前不可选,值固定为1
-	QuilityTestStage   string // 质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
-	IsTestData         string // 是否进行数据检测,目前不可选,值固定为1
-	DataTestStage      string // 数据质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
-	ReturnSamples      string // 是否返还样品 0不返还 1返还
-	ReturnSamplesStage string // 返还样品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
-	IsAddTaskFinish    string // 是否添加任务完成步骤,目前固定为1
-	TaskFisnishStage   string // 任务完成对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
-	BuySamplesCost     string // 拍单费用
-	SyncLogistics      string // 是否同步物流信息 1不同步 2同步
-	BuySamplesRefund   string // 拍单退费
-}
-
-//  taskProcedureDecisionConditionColumns holds the columns for table task_procedure_decision_condition.
-var taskProcedureDecisionConditionColumns = TaskProcedureDecisionConditionColumns{
-	TpdId:              "tpd_id",
-	TaskBaseId:         "task_base_id",
-	BuySamplesType:     "buy_samples_type",
-	BuySamplesStage:    "buy_samples_stage",
-	ExamineDraft:       "examine_draft",
-	ExamineDraftStage:  "examine_draft_stage",
-	ReviewArticle:      "review_article",
-	ReviewArticleStage: "review_article_stage",
-	IsTestQulity:       "is_test_qulity",
-	QuilityTestStage:   "quility_test_stage",
-	IsTestData:         "is_test_data",
-	DataTestStage:      "data_test_stage",
-	ReturnSamples:      "return_samples",
-	ReturnSamplesStage: "return_samples_stage",
-	IsAddTaskFinish:    "is_add_task_finish",
-	TaskFisnishStage:   "task_fisnish_stage",
-	BuySamplesCost:     "buy_samples_cost",
-	SyncLogistics:      "sync_logistics",
-	BuySamplesRefund:   "buy_samples_refund",
-}
-
-// NewTaskProcedureDecisionConditionDao creates and returns a new DAO object for table data access.
-func NewTaskProcedureDecisionConditionDao() *TaskProcedureDecisionConditionDao {
-	return &TaskProcedureDecisionConditionDao{
-		Group:   "default",
-		Table:   "task_procedure_decision_condition",
-		Columns: taskProcedureDecisionConditionColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskProcedureDecisionConditionDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskProcedureDecisionConditionDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskProcedureDecisionConditionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskProcedureDecisionConditionDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskProcedureDecisionConditionDao struct {
+	Table   string                                // Table is the underlying table name of the DAO.
+	Group   string                                // Group is the database configuration group name of current DAO.
+	Columns TaskProcedureDecisionConditionColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskProcedureDecisionConditionColumns defines and stores column names for table task_procedure_decision_condition.
+type TaskProcedureDecisionConditionColumns struct {
+	TpdId              string //
+	TaskBaseId         string // 任务id(对应task_base_info表id字段)
+	BuySamplesType     string // 拍单方式 1样叽拍单 2,不拍单
+	BuySamplesStage    string // 拍单对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
+	ExamineDraft       string // 是否需要审核初稿 0不审核 1审核
+	ExamineDraftStage  string // 审核初稿对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
+	ReviewArticle      string // 是否需要审核作品 0不审核 1审核
+	ReviewArticleStage string // 审核作品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
+	IsTestQulity       string // 是否质检目前不可选,值固定为1
+	QuilityTestStage   string // 质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
+	IsTestData         string // 是否进行数据检测,目前不可选,值固定为1
+	DataTestStage      string // 数据质检对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
+	ReturnSamples      string // 是否返还样品 0不返还 1返还
+	ReturnSamplesStage string // 返还样品对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
+	IsAddTaskFinish    string // 是否添加任务完成步骤,目前固定为1
+	TaskFisnishStage   string // 任务完成对应的工作流步骤stage(workflow_node_template表procedure_stage字段)
+	BuySamplesCost     string // 拍单费用
+	SyncLogistics      string // 是否同步物流信息 1不同步 2同步
+	BuySamplesRefund   string // 拍单退费
+}
+
+//  taskProcedureDecisionConditionColumns holds the columns for table task_procedure_decision_condition.
+var taskProcedureDecisionConditionColumns = TaskProcedureDecisionConditionColumns{
+	TpdId:              "tpd_id",
+	TaskBaseId:         "task_base_id",
+	BuySamplesType:     "buy_samples_type",
+	BuySamplesStage:    "buy_samples_stage",
+	ExamineDraft:       "examine_draft",
+	ExamineDraftStage:  "examine_draft_stage",
+	ReviewArticle:      "review_article",
+	ReviewArticleStage: "review_article_stage",
+	IsTestQulity:       "is_test_qulity",
+	QuilityTestStage:   "quility_test_stage",
+	IsTestData:         "is_test_data",
+	DataTestStage:      "data_test_stage",
+	ReturnSamples:      "return_samples",
+	ReturnSamplesStage: "return_samples_stage",
+	IsAddTaskFinish:    "is_add_task_finish",
+	TaskFisnishStage:   "task_fisnish_stage",
+	BuySamplesCost:     "buy_samples_cost",
+	SyncLogistics:      "sync_logistics",
+	BuySamplesRefund:   "buy_samples_refund",
+}
+
+// NewTaskProcedureDecisionConditionDao creates and returns a new DAO object for table data access.
+func NewTaskProcedureDecisionConditionDao() *TaskProcedureDecisionConditionDao {
+	return &TaskProcedureDecisionConditionDao{
+		Group:   "default",
+		Table:   "task_procedure_decision_condition",
+		Columns: taskProcedureDecisionConditionColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskProcedureDecisionConditionDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskProcedureDecisionConditionDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskProcedureDecisionConditionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 67 - 67
app/dao/internal/task_procedure_draft_info.go

@@ -1,67 +1,67 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskProcedureDraftInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskProcedureDraftInfoDao struct {
-	Table   string                        // Table is the underlying table name of the DAO.
-	Group   string                        // Group is the database configuration group name of current DAO.
-	Columns TaskProcedureDraftInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskProcedureDraftInfoColumns defines and stores column names for table task_procedure_draft_info.
-type TaskProcedureDraftInfoColumns struct {
-	TaskPdId         string //
-	TaskBaseId       string // 任务id(对应task_base_info表id字段)
-	UploadLimitDay   string // 上传初稿天数限制
-	UploadReduceRate string // 上传初稿超时扣费比率(*100)
-	ReviseLimitDay   string // 修改初稿期限天数限制
-	ReviseReduceRate string // 初稿超时扣费比率(*100)
-}
-
-//  taskProcedureDraftInfoColumns holds the columns for table task_procedure_draft_info.
-var taskProcedureDraftInfoColumns = TaskProcedureDraftInfoColumns{
-	TaskPdId:         "task_pd_id",
-	TaskBaseId:       "task_base_id",
-	UploadLimitDay:   "upload_limit_day",
-	UploadReduceRate: "upload_reduce_rate",
-	ReviseLimitDay:   "revise_limit_day",
-	ReviseReduceRate: "revise_reduce_rate",
-}
-
-// NewTaskProcedureDraftInfoDao creates and returns a new DAO object for table data access.
-func NewTaskProcedureDraftInfoDao() *TaskProcedureDraftInfoDao {
-	return &TaskProcedureDraftInfoDao{
-		Group:   "default",
-		Table:   "task_procedure_draft_info",
-		Columns: taskProcedureDraftInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskProcedureDraftInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskProcedureDraftInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskProcedureDraftInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskProcedureDraftInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskProcedureDraftInfoDao struct {
+	Table   string                        // Table is the underlying table name of the DAO.
+	Group   string                        // Group is the database configuration group name of current DAO.
+	Columns TaskProcedureDraftInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskProcedureDraftInfoColumns defines and stores column names for table task_procedure_draft_info.
+type TaskProcedureDraftInfoColumns struct {
+	TaskPdId         string //
+	TaskBaseId       string // 任务id(对应task_base_info表id字段)
+	UploadLimitDay   string // 上传初稿天数限制
+	UploadReduceRate string // 上传初稿超时扣费比率(*100)
+	ReviseLimitDay   string // 修改初稿期限天数限制
+	ReviseReduceRate string // 初稿超时扣费比率(*100)
+}
+
+//  taskProcedureDraftInfoColumns holds the columns for table task_procedure_draft_info.
+var taskProcedureDraftInfoColumns = TaskProcedureDraftInfoColumns{
+	TaskPdId:         "task_pd_id",
+	TaskBaseId:       "task_base_id",
+	UploadLimitDay:   "upload_limit_day",
+	UploadReduceRate: "upload_reduce_rate",
+	ReviseLimitDay:   "revise_limit_day",
+	ReviseReduceRate: "revise_reduce_rate",
+}
+
+// NewTaskProcedureDraftInfoDao creates and returns a new DAO object for table data access.
+func NewTaskProcedureDraftInfoDao() *TaskProcedureDraftInfoDao {
+	return &TaskProcedureDraftInfoDao{
+		Group:   "default",
+		Table:   "task_procedure_draft_info",
+		Columns: taskProcedureDraftInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskProcedureDraftInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskProcedureDraftInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskProcedureDraftInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 79 - 79
app/dao/internal/task_procedure_quality_data_test_info.go

@@ -1,79 +1,79 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskProcedureQualityDataTestInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskProcedureQualityDataTestInfoDao struct {
-	Table   string                                  // Table is the underlying table name of the DAO.
-	Group   string                                  // Group is the database configuration group name of current DAO.
-	Columns TaskProcedureQualityDataTestInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskProcedureQualityDataTestInfoColumns defines and stores column names for table task_procedure_quality_data_test_info.
-type TaskProcedureQualityDataTestInfoColumns struct {
-	TpqId                   string //
-	TaskBaseId              string // 任务id(对应task_base_info表id字段)
-	QualityTestUrl          string // 质检链接
-	QualityTestLimitDay     string // 上传质检连接天数限制
-	QualityTestReduceRate   string // 上传质检连接超时扣费比率(*100)
-	QualityReviseLimitDay   string // 修改质检连接天数限制
-	QualityReviseReduseRate string // 修改质检连接超时扣费比率(*100)
-	DataTestUrl             string // 数据检测连接
-	DataTestLimitDay        string // 上传数据检测连接天数限制
-	DataTestReduceRate      string // 上传数据检测连接超时扣费比率(*100)
-	DataReviceLimitDay      string // 修改数据检测链接天数限制
-	DataReviceReduceRate    string // 修改数据检测链接超时扣费比率(*100)
-}
-
-//  taskProcedureQualityDataTestInfoColumns holds the columns for table task_procedure_quality_data_test_info.
-var taskProcedureQualityDataTestInfoColumns = TaskProcedureQualityDataTestInfoColumns{
-	TpqId:                   "tpq_id",
-	TaskBaseId:              "task_base_id",
-	QualityTestUrl:          "quality_test_url",
-	QualityTestLimitDay:     "quality_test_limit_day",
-	QualityTestReduceRate:   "quality_test_reduce_rate",
-	QualityReviseLimitDay:   "quality_revise_limit_day",
-	QualityReviseReduseRate: "quality_revise_reduse_rate",
-	DataTestUrl:             "data_test_url",
-	DataTestLimitDay:        "data_test_limit_day",
-	DataTestReduceRate:      "data_test_reduce_rate",
-	DataReviceLimitDay:      "data_revice_limit_day",
-	DataReviceReduceRate:    "data_revice_reduce_rate",
-}
-
-// NewTaskProcedureQualityDataTestInfoDao creates and returns a new DAO object for table data access.
-func NewTaskProcedureQualityDataTestInfoDao() *TaskProcedureQualityDataTestInfoDao {
-	return &TaskProcedureQualityDataTestInfoDao{
-		Group:   "default",
-		Table:   "task_procedure_quality_data_test_info",
-		Columns: taskProcedureQualityDataTestInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskProcedureQualityDataTestInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskProcedureQualityDataTestInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskProcedureQualityDataTestInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskProcedureQualityDataTestInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskProcedureQualityDataTestInfoDao struct {
+	Table   string                                  // Table is the underlying table name of the DAO.
+	Group   string                                  // Group is the database configuration group name of current DAO.
+	Columns TaskProcedureQualityDataTestInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskProcedureQualityDataTestInfoColumns defines and stores column names for table task_procedure_quality_data_test_info.
+type TaskProcedureQualityDataTestInfoColumns struct {
+	TpqId                   string //
+	TaskBaseId              string // 任务id(对应task_base_info表id字段)
+	QualityTestUrl          string // 质检链接
+	QualityTestLimitDay     string // 上传质检连接天数限制
+	QualityTestReduceRate   string // 上传质检连接超时扣费比率(*100)
+	QualityReviseLimitDay   string // 修改质检连接天数限制
+	QualityReviseReduseRate string // 修改质检连接超时扣费比率(*100)
+	DataTestUrl             string // 数据检测连接
+	DataTestLimitDay        string // 上传数据检测连接天数限制
+	DataTestReduceRate      string // 上传数据检测连接超时扣费比率(*100)
+	DataReviceLimitDay      string // 修改数据检测链接天数限制
+	DataReviceReduceRate    string // 修改数据检测链接超时扣费比率(*100)
+}
+
+//  taskProcedureQualityDataTestInfoColumns holds the columns for table task_procedure_quality_data_test_info.
+var taskProcedureQualityDataTestInfoColumns = TaskProcedureQualityDataTestInfoColumns{
+	TpqId:                   "tpq_id",
+	TaskBaseId:              "task_base_id",
+	QualityTestUrl:          "quality_test_url",
+	QualityTestLimitDay:     "quality_test_limit_day",
+	QualityTestReduceRate:   "quality_test_reduce_rate",
+	QualityReviseLimitDay:   "quality_revise_limit_day",
+	QualityReviseReduseRate: "quality_revise_reduse_rate",
+	DataTestUrl:             "data_test_url",
+	DataTestLimitDay:        "data_test_limit_day",
+	DataTestReduceRate:      "data_test_reduce_rate",
+	DataReviceLimitDay:      "data_revice_limit_day",
+	DataReviceReduceRate:    "data_revice_reduce_rate",
+}
+
+// NewTaskProcedureQualityDataTestInfoDao creates and returns a new DAO object for table data access.
+func NewTaskProcedureQualityDataTestInfoDao() *TaskProcedureQualityDataTestInfoDao {
+	return &TaskProcedureQualityDataTestInfoDao{
+		Group:   "default",
+		Table:   "task_procedure_quality_data_test_info",
+		Columns: taskProcedureQualityDataTestInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskProcedureQualityDataTestInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskProcedureQualityDataTestInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskProcedureQualityDataTestInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/task_recruit_requirements.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskRecruitRequirementsDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskRecruitRequirementsDao struct {
-	Table   string                         // Table is the underlying table name of the DAO.
-	Group   string                         // Group is the database configuration group name of current DAO.
-	Columns TaskRecruitRequirementsColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskRecruitRequirementsColumns defines and stores column names for table task_recruit_requirements.
-type TaskRecruitRequirementsColumns struct {
-	TrrId            string //
-	TaskBaseId       string // 关联的task_base_info中的id
-	TalentSkillsOn   string // 达人擅长领域要求,info_tallent_skilled_area表中的id列表,以逗号分隔    ['不限', '母婴', '美妆护肤', '时尚穿搭', '旅游', '美食', '数码科技', '健康养生', '情感', '宠物', '运动健身', '家居生活', '搞笑', '音乐'],
-	InteractType     string // 指定互动形式的内容
-	RegionCode       string // 地域码,info_region表中的self_code值
-	Gender           string // 限制可接任务的性别,0女 1男 2不限制
-	OtherRequirement string // 其他要求
-}
-
-//  taskRecruitRequirementsColumns holds the columns for table task_recruit_requirements.
-var taskRecruitRequirementsColumns = TaskRecruitRequirementsColumns{
-	TrrId:            "trr_id",
-	TaskBaseId:       "task_base_id",
-	TalentSkillsOn:   "talent_skills_on",
-	InteractType:     "interact_type",
-	RegionCode:       "region_code",
-	Gender:           "gender",
-	OtherRequirement: "other_requirement",
-}
-
-// NewTaskRecruitRequirementsDao creates and returns a new DAO object for table data access.
-func NewTaskRecruitRequirementsDao() *TaskRecruitRequirementsDao {
-	return &TaskRecruitRequirementsDao{
-		Group:   "default",
-		Table:   "task_recruit_requirements",
-		Columns: taskRecruitRequirementsColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskRecruitRequirementsDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskRecruitRequirementsDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskRecruitRequirementsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskRecruitRequirementsDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskRecruitRequirementsDao struct {
+	Table   string                         // Table is the underlying table name of the DAO.
+	Group   string                         // Group is the database configuration group name of current DAO.
+	Columns TaskRecruitRequirementsColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskRecruitRequirementsColumns defines and stores column names for table task_recruit_requirements.
+type TaskRecruitRequirementsColumns struct {
+	TrrId            string //
+	TaskBaseId       string // 关联的task_base_info中的id
+	TalentSkillsOn   string // 达人擅长领域要求,info_tallent_skilled_area表中的id列表,以逗号分隔    ['不限', '母婴', '美妆护肤', '时尚穿搭', '旅游', '美食', '数码科技', '健康养生', '情感', '宠物', '运动健身', '家居生活', '搞笑', '音乐'],
+	InteractType     string // 指定互动形式的内容
+	RegionCode       string // 地域码,info_region表中的self_code值
+	Gender           string // 限制可接任务的性别,0女 1男 2不限制
+	OtherRequirement string // 其他要求
+}
+
+//  taskRecruitRequirementsColumns holds the columns for table task_recruit_requirements.
+var taskRecruitRequirementsColumns = TaskRecruitRequirementsColumns{
+	TrrId:            "trr_id",
+	TaskBaseId:       "task_base_id",
+	TalentSkillsOn:   "talent_skills_on",
+	InteractType:     "interact_type",
+	RegionCode:       "region_code",
+	Gender:           "gender",
+	OtherRequirement: "other_requirement",
+}
+
+// NewTaskRecruitRequirementsDao creates and returns a new DAO object for table data access.
+func NewTaskRecruitRequirementsDao() *TaskRecruitRequirementsDao {
+	return &TaskRecruitRequirementsDao{
+		Group:   "default",
+		Table:   "task_recruit_requirements",
+		Columns: taskRecruitRequirementsColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskRecruitRequirementsDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskRecruitRequirementsDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskRecruitRequirementsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 67 - 67
app/dao/internal/task_recruit_talent_level.go

@@ -1,67 +1,67 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskRecruitTalentLevelDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskRecruitTalentLevelDao struct {
-	Table   string                        // Table is the underlying table name of the DAO.
-	Group   string                        // Group is the database configuration group name of current DAO.
-	Columns TaskRecruitTalentLevelColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskRecruitTalentLevelColumns defines and stores column names for table task_recruit_talent_level.
-type TaskRecruitTalentLevelColumns struct {
-	TrtId           string //
-	TaskBaseId      string // 关联的task_base_info的id
-	FansCountMin    string // 最小粉丝数
-	FansCountMax    string // 最大粉丝数
-	NeedTalentCount string // 任务需要的达人数量
-	RewardRoyalties string // 稿费金额
-}
-
-//  taskRecruitTalentLevelColumns holds the columns for table task_recruit_talent_level.
-var taskRecruitTalentLevelColumns = TaskRecruitTalentLevelColumns{
-	TrtId:           "trt_id",
-	TaskBaseId:      "task_base_id",
-	FansCountMin:    "fans_count_min",
-	FansCountMax:    "fans_count_max",
-	NeedTalentCount: "need_talent_count",
-	RewardRoyalties: "reward_royalties",
-}
-
-// NewTaskRecruitTalentLevelDao creates and returns a new DAO object for table data access.
-func NewTaskRecruitTalentLevelDao() *TaskRecruitTalentLevelDao {
-	return &TaskRecruitTalentLevelDao{
-		Group:   "default",
-		Table:   "task_recruit_talent_level",
-		Columns: taskRecruitTalentLevelColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskRecruitTalentLevelDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskRecruitTalentLevelDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskRecruitTalentLevelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskRecruitTalentLevelDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskRecruitTalentLevelDao struct {
+	Table   string                        // Table is the underlying table name of the DAO.
+	Group   string                        // Group is the database configuration group name of current DAO.
+	Columns TaskRecruitTalentLevelColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskRecruitTalentLevelColumns defines and stores column names for table task_recruit_talent_level.
+type TaskRecruitTalentLevelColumns struct {
+	TrtId           string //
+	TaskBaseId      string // 关联的task_base_info的id
+	FansCountMin    string // 最小粉丝数
+	FansCountMax    string // 最大粉丝数
+	NeedTalentCount string // 任务需要的达人数量
+	RewardRoyalties string // 稿费金额
+}
+
+//  taskRecruitTalentLevelColumns holds the columns for table task_recruit_talent_level.
+var taskRecruitTalentLevelColumns = TaskRecruitTalentLevelColumns{
+	TrtId:           "trt_id",
+	TaskBaseId:      "task_base_id",
+	FansCountMin:    "fans_count_min",
+	FansCountMax:    "fans_count_max",
+	NeedTalentCount: "need_talent_count",
+	RewardRoyalties: "reward_royalties",
+}
+
+// NewTaskRecruitTalentLevelDao creates and returns a new DAO object for table data access.
+func NewTaskRecruitTalentLevelDao() *TaskRecruitTalentLevelDao {
+	return &TaskRecruitTalentLevelDao{
+		Group:   "default",
+		Table:   "task_recruit_talent_level",
+		Columns: taskRecruitTalentLevelColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskRecruitTalentLevelDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskRecruitTalentLevelDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskRecruitTalentLevelDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/task_reward.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskRewardDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskRewardDao struct {
-	Table   string            // Table is the underlying table name of the DAO.
-	Group   string            // Group is the database configuration group name of current DAO.
-	Columns TaskRewardColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskRewardColumns defines and stores column names for table task_reward.
-type TaskRewardColumns struct {
-	RewardId         string //
-	IsRewardGoods    string // 是否奖励实物
-	RewardGoodsInfo  string // 实物奖励信息
-	IsPaymentArticle string // 是否获得稿费
-	PaymentValue     string // 稿费金额描述
-	OtherRewardInfo  string // 其他奖励信息
-	TaskBaseId       string // 关联的task_base_info的id
-}
-
-//  taskRewardColumns holds the columns for table task_reward.
-var taskRewardColumns = TaskRewardColumns{
-	RewardId:         "reward_id",
-	IsRewardGoods:    "is_reward_goods",
-	RewardGoodsInfo:  "reward_goods_info",
-	IsPaymentArticle: "is_payment_article",
-	PaymentValue:     "payment_value",
-	OtherRewardInfo:  "other_reward_info",
-	TaskBaseId:       "task_base_id",
-}
-
-// NewTaskRewardDao creates and returns a new DAO object for table data access.
-func NewTaskRewardDao() *TaskRewardDao {
-	return &TaskRewardDao{
-		Group:   "default",
-		Table:   "task_reward",
-		Columns: taskRewardColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskRewardDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskRewardDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskRewardDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskRewardDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskRewardDao struct {
+	Table   string            // Table is the underlying table name of the DAO.
+	Group   string            // Group is the database configuration group name of current DAO.
+	Columns TaskRewardColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskRewardColumns defines and stores column names for table task_reward.
+type TaskRewardColumns struct {
+	RewardId         string //
+	IsRewardGoods    string // 是否奖励实物
+	RewardGoodsInfo  string // 实物奖励信息
+	IsPaymentArticle string // 是否获得稿费
+	PaymentValue     string // 稿费金额描述
+	OtherRewardInfo  string // 其他奖励信息
+	TaskBaseId       string // 关联的task_base_info的id
+}
+
+//  taskRewardColumns holds the columns for table task_reward.
+var taskRewardColumns = TaskRewardColumns{
+	RewardId:         "reward_id",
+	IsRewardGoods:    "is_reward_goods",
+	RewardGoodsInfo:  "reward_goods_info",
+	IsPaymentArticle: "is_payment_article",
+	PaymentValue:     "payment_value",
+	OtherRewardInfo:  "other_reward_info",
+	TaskBaseId:       "task_base_id",
+}
+
+// NewTaskRewardDao creates and returns a new DAO object for table data access.
+func NewTaskRewardDao() *TaskRewardDao {
+	return &TaskRewardDao{
+		Group:   "default",
+		Table:   "task_reward",
+		Columns: taskRewardColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskRewardDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskRewardDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskRewardDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 72 - 72
app/dao/internal/task_signup_info.go

@@ -1,73 +1,73 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// TaskSignupInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type TaskSignupInfoDao struct {
-	Table   string          // Table is the underlying table name of the DAO.
-	Group   string          // Group is the database configuration group name of current DAO.
-	Columns TaskSignupInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// TaskSignupInfoColumns defines and stores column names for table task_signup_info.
-type TaskSignupInfoColumns struct {
-	SignupId                string //                                                          
-    TaskId                  string // 任务id                                                   
-    TalentId                string // 达人id                                                   
-    TalentPlatformInfoSnap  string // 达人平台信息快照                                         
-    TalentPersonalInfoSnap  string // 达人个人信息快照                                         
-    TalentPostAddr          string // 收货地址                                                 
-    TaskLevelId             string // 报名选择的招募等级id(task_recruit_talent_level表中的id)  
-    Status                  string // 报名状态 1等待反选 2等待玩家确认 3反选失败               
-    CreateDate              string // 创建时间
-}
-
-//  taskSignupInfoColumns holds the columns for table task_signup_info.
-var taskSignupInfoColumns = TaskSignupInfoColumns{
-	SignupId:               "signup_id",                  
-            TaskId:                 "task_id",                    
-            TalentId:               "talent_id",                  
-            TalentPlatformInfoSnap: "talent_platform_info_snap",  
-            TalentPersonalInfoSnap: "talent_personal_info_snap",  
-            TalentPostAddr:         "talent_post_addr",           
-            TaskLevelId:            "task_level_id",              
-            Status:                 "status",                     
-            CreateDate:             "create_date",
-}
-
-// NewTaskSignupInfoDao creates and returns a new DAO object for table data access.
-func NewTaskSignupInfoDao() *TaskSignupInfoDao {
-	return &TaskSignupInfoDao{
-		Group:   "default",
-		Table:   "task_signup_info",
-		Columns: taskSignupInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *TaskSignupInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *TaskSignupInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *TaskSignupInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// TaskSignupInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type TaskSignupInfoDao struct {
+	Table   string          // Table is the underlying table name of the DAO.
+	Group   string          // Group is the database configuration group name of current DAO.
+	Columns TaskSignupInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// TaskSignupInfoColumns defines and stores column names for table task_signup_info.
+type TaskSignupInfoColumns struct {
+	SignupId                string //                                                          
+    TaskId                  string // 任务id                                                   
+    TalentId                string // 达人id                                                   
+    TalentPlatformInfoSnap  string // 达人平台信息快照                                         
+    TalentPersonalInfoSnap  string // 达人个人信息快照                                         
+    TalentPostAddr          string // 收货地址                                                 
+    TaskLevelId             string // 报名选择的招募等级id(task_recruit_talent_level表中的id)  
+    Status                  string // 报名状态 1等待反选 2等待玩家确认 3反选失败               
+    CreateDate              string // 创建时间
+}
+
+//  taskSignupInfoColumns holds the columns for table task_signup_info.
+var taskSignupInfoColumns = TaskSignupInfoColumns{
+	SignupId:               "signup_id",                  
+            TaskId:                 "task_id",                    
+            TalentId:               "talent_id",                  
+            TalentPlatformInfoSnap: "talent_platform_info_snap",  
+            TalentPersonalInfoSnap: "talent_personal_info_snap",  
+            TalentPostAddr:         "talent_post_addr",           
+            TaskLevelId:            "task_level_id",              
+            Status:                 "status",                     
+            CreateDate:             "create_date",
+}
+
+// NewTaskSignupInfoDao creates and returns a new DAO object for table data access.
+func NewTaskSignupInfoDao() *TaskSignupInfoDao {
+	return &TaskSignupInfoDao{
+		Group:   "default",
+		Table:   "task_signup_info",
+		Columns: taskSignupInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *TaskSignupInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *TaskSignupInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *TaskSignupInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
 }

+ 79 - 79
app/dao/internal/user.go

@@ -1,79 +1,79 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// UserDao is the manager for logic model data accessing and custom defined data operations functions management.
-type UserDao struct {
-	Table   string      // Table is the underlying table name of the DAO.
-	Group   string      // Group is the database configuration group name of current DAO.
-	Columns UserColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// UserColumns defines and stores column names for table user.
-type UserColumns struct {
-	Id            string // 用户表id
-	User          string // 账号
-	Username      string // 后台用户名
-	Password      string // 用户密码
-	RealName      string // 真实姓名
-	Role          string // 角色 1,超级管理员; 2,管理员;3,企业用户
-	Phone         string // 绑定手机
-	Email         string // 电子邮件
-	LastLoginTime string // 最后一次登录时间
-	UserState     string // 0,禁用,1,正常
-	CreatedAt     string // 创建时间
-	UpdatedAt     string // 更新时间
-}
-
-//  userColumns holds the columns for table user.
-var userColumns = UserColumns{
-	Id:            "id",
-	User:          "user",
-	Username:      "username",
-	Password:      "password",
-	RealName:      "real_name",
-	Role:          "role",
-	Phone:         "phone",
-	Email:         "email",
-	LastLoginTime: "last_login_time",
-	UserState:     "user_state",
-	CreatedAt:     "created_at",
-	UpdatedAt:     "updated_at",
-}
-
-// NewUserDao creates and returns a new DAO object for table data access.
-func NewUserDao() *UserDao {
-	return &UserDao{
-		Group:   "default",
-		Table:   "user",
-		Columns: userColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *UserDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *UserDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *UserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// UserDao is the manager for logic model data accessing and custom defined data operations functions management.
+type UserDao struct {
+	Table   string      // Table is the underlying table name of the DAO.
+	Group   string      // Group is the database configuration group name of current DAO.
+	Columns UserColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// UserColumns defines and stores column names for table user.
+type UserColumns struct {
+	Id            string // 用户表id
+	User          string // 账号
+	Username      string // 后台用户名
+	Password      string // 用户密码
+	RealName      string // 真实姓名
+	Role          string // 角色 1,超级管理员; 2,管理员;3,企业用户
+	Phone         string // 绑定手机
+	Email         string // 电子邮件
+	LastLoginTime string // 最后一次登录时间
+	UserState     string // 0,禁用,1,正常
+	CreatedAt     string // 创建时间
+	UpdatedAt     string // 更新时间
+}
+
+//  userColumns holds the columns for table user.
+var userColumns = UserColumns{
+	Id:            "id",
+	User:          "user",
+	Username:      "username",
+	Password:      "password",
+	RealName:      "real_name",
+	Role:          "role",
+	Phone:         "phone",
+	Email:         "email",
+	LastLoginTime: "last_login_time",
+	UserState:     "user_state",
+	CreatedAt:     "created_at",
+	UpdatedAt:     "updated_at",
+}
+
+// NewUserDao creates and returns a new DAO object for table data access.
+func NewUserDao() *UserDao {
+	return &UserDao{
+		Group:   "default",
+		Table:   "user",
+		Columns: userColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *UserDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *UserDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *UserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 99 - 99
app/dao/internal/workflow_node_container.go

@@ -1,99 +1,99 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// WorkflowNodeContainerDao is the manager for logic model data accessing and custom defined data operations functions management.
-type WorkflowNodeContainerDao struct {
-	Table   string                       // Table is the underlying table name of the DAO.
-	Group   string                       // Group is the database configuration group name of current DAO.
-	Columns WorkflowNodeContainerColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// WorkflowNodeContainerColumns defines and stores column names for table workflow_node_container.
-type WorkflowNodeContainerColumns struct {
-	ContainerId         string //
-	NodeNameFirst       string // 首次执行时的节点名,前端显示
-	NodeNameAfterSecond string // 第二次之后执行时的节点名
-	ProcedureStage      string // 订单处理流程阶段,如:拍单阶段、初稿阶段
-	StepInStage         string // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
-	CurExecutionTimes   string // 当前执行次数
-	MaxExecutionTimes   string // 最大执行次数
-	Tip                 string // 此步骤在达人端的提示
-	SucNextStep         string // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
-	FailNextStep        string // 失败的后续步骤,数值同上
-	State               string // 状态 1未开启 2进行中 3失败 4完成
-	FailReason          string // 失败原因
-	StartDate           string // 开始日期
-	CompleteDate        string // 完成日期
-	CompleteUserName    string // 完成人名
-	LimitDays1          string // 限制天数
-	ReduceFeeRatio1     string // 超期扣费比率
-	LimitDays2          string // 第二次执行限制天数(修改操作限时)
-	ReduceFeeRatio2     string // 第二次执行超期扣费率
-	OperateRoleRestrict string // 操作角色限制 1后端 2达人
-	SortId              string // 在一个任务流程中的排序值
-	OrderId             string // 关联的订单和任务id
-}
-
-//  workflowNodeContainerColumns holds the columns for table workflow_node_container.
-var workflowNodeContainerColumns = WorkflowNodeContainerColumns{
-	ContainerId:         "container_id",
-	NodeNameFirst:       "node_name_first",
-	NodeNameAfterSecond: "node_name_after_second",
-	ProcedureStage:      "procedure_stage",
-	StepInStage:         "step_in_stage",
-	CurExecutionTimes:   "cur_execution_times",
-	MaxExecutionTimes:   "max_execution_times",
-	Tip:                 "tip",
-	SucNextStep:         "suc_next_step",
-	FailNextStep:        "fail_next_step",
-	State:               "state",
-	FailReason:          "fail_reason",
-	StartDate:           "start_date",
-	CompleteDate:        "complete_date",
-	CompleteUserName:    "complete_user_name",
-	LimitDays1:          "limit_days_1",
-	ReduceFeeRatio1:     "reduce_fee_ratio_1",
-	LimitDays2:          "limit_days_2",
-	ReduceFeeRatio2:     "reduce_fee_ratio_2",
-	OperateRoleRestrict: "operate_role_restrict",
-	SortId:              "sort_id",
-	OrderId:             "order_id",
-}
-
-// NewWorkflowNodeContainerDao creates and returns a new DAO object for table data access.
-func NewWorkflowNodeContainerDao() *WorkflowNodeContainerDao {
-	return &WorkflowNodeContainerDao{
-		Group:   "default",
-		Table:   "workflow_node_container",
-		Columns: workflowNodeContainerColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *WorkflowNodeContainerDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *WorkflowNodeContainerDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *WorkflowNodeContainerDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// WorkflowNodeContainerDao is the manager for logic model data accessing and custom defined data operations functions management.
+type WorkflowNodeContainerDao struct {
+	Table   string                       // Table is the underlying table name of the DAO.
+	Group   string                       // Group is the database configuration group name of current DAO.
+	Columns WorkflowNodeContainerColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// WorkflowNodeContainerColumns defines and stores column names for table workflow_node_container.
+type WorkflowNodeContainerColumns struct {
+	ContainerId         string //
+	NodeNameFirst       string // 首次执行时的节点名,前端显示
+	NodeNameAfterSecond string // 第二次之后执行时的节点名
+	ProcedureStage      string // 订单处理流程阶段,如:拍单阶段、初稿阶段
+	StepInStage         string // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
+	CurExecutionTimes   string // 当前执行次数
+	MaxExecutionTimes   string // 最大执行次数
+	Tip                 string // 此步骤在达人端的提示
+	SucNextStep         string // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
+	FailNextStep        string // 失败的后续步骤,数值同上
+	State               string // 状态 1未开启 2进行中 3失败 4完成
+	FailReason          string // 失败原因
+	StartDate           string // 开始日期
+	CompleteDate        string // 完成日期
+	CompleteUserName    string // 完成人名
+	LimitDays1          string // 限制天数
+	ReduceFeeRatio1     string // 超期扣费比率
+	LimitDays2          string // 第二次执行限制天数(修改操作限时)
+	ReduceFeeRatio2     string // 第二次执行超期扣费率
+	OperateRoleRestrict string // 操作角色限制 1后端 2达人
+	SortId              string // 在一个任务流程中的排序值
+	OrderId             string // 关联的订单和任务id
+}
+
+//  workflowNodeContainerColumns holds the columns for table workflow_node_container.
+var workflowNodeContainerColumns = WorkflowNodeContainerColumns{
+	ContainerId:         "container_id",
+	NodeNameFirst:       "node_name_first",
+	NodeNameAfterSecond: "node_name_after_second",
+	ProcedureStage:      "procedure_stage",
+	StepInStage:         "step_in_stage",
+	CurExecutionTimes:   "cur_execution_times",
+	MaxExecutionTimes:   "max_execution_times",
+	Tip:                 "tip",
+	SucNextStep:         "suc_next_step",
+	FailNextStep:        "fail_next_step",
+	State:               "state",
+	FailReason:          "fail_reason",
+	StartDate:           "start_date",
+	CompleteDate:        "complete_date",
+	CompleteUserName:    "complete_user_name",
+	LimitDays1:          "limit_days_1",
+	ReduceFeeRatio1:     "reduce_fee_ratio_1",
+	LimitDays2:          "limit_days_2",
+	ReduceFeeRatio2:     "reduce_fee_ratio_2",
+	OperateRoleRestrict: "operate_role_restrict",
+	SortId:              "sort_id",
+	OrderId:             "order_id",
+}
+
+// NewWorkflowNodeContainerDao creates and returns a new DAO object for table data access.
+func NewWorkflowNodeContainerDao() *WorkflowNodeContainerDao {
+	return &WorkflowNodeContainerDao{
+		Group:   "default",
+		Table:   "workflow_node_container",
+		Columns: workflowNodeContainerColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *WorkflowNodeContainerDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *WorkflowNodeContainerDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *WorkflowNodeContainerDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 97 - 97
app/dao/internal/workflow_node_template.go

@@ -1,97 +1,97 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// WorkflowNodeTemplateDao is the manager for logic model data accessing and custom defined data operations functions management.
-type WorkflowNodeTemplateDao struct {
-	Table   string                      // Table is the underlying table name of the DAO.
-	Group   string                      // Group is the database configuration group name of current DAO.
-	Columns WorkflowNodeTemplateColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// WorkflowNodeTemplateColumns defines and stores column names for table workflow_node_template.
-type WorkflowNodeTemplateColumns struct {
-	TemplateId          string //
-	NodeNameFirst       string // 首次执行时的节点名,前端显示
-	NodeNameAfterSecond string // 第二次之后执行时的节点名
-	ProcedureStage      string // 订单处理流程阶段,如:拍单阶段、初稿阶段
-	StepInStage         string // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
-	CurExecutionTimes   string // 当前执行次数
-	MaxExecutionTimes   string // 最大执行次数
-	Tip                 string // 此步骤在达人端的提示
-	SucNextStep         string // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
-	FailNextStep        string // 失败的后续步骤,数值同上
-	State               string // 状态 1未开启 2进行中 3成功 4失败
-	FailReason          string //
-	StartDate           string // 开启日期
-	CompleteDate        string // 完成日期
-	CompleteUserName    string // 完成人名
-	LimitDays1          string // 此状态限制天数 0不限制
-	ReduceFeeRatio1     string // 超期扣费比率
-	LimitDays2          string // 第二次执行限制天数(修改操作限时)
-	ReduceFeeRatio2     string // 第二次执行超期扣费率
-	OperateRoleRestrict string // 操作角色限制 1后端 2达人
-	SortId              string //
-}
-
-//  workflowNodeTemplateColumns holds the columns for table workflow_node_template.
-var workflowNodeTemplateColumns = WorkflowNodeTemplateColumns{
-	TemplateId:          "template_id",
-	NodeNameFirst:       "node_name_first",
-	NodeNameAfterSecond: "node_name_after_second",
-	ProcedureStage:      "procedure_stage",
-	StepInStage:         "step_in_stage",
-	CurExecutionTimes:   "cur_execution_times",
-	MaxExecutionTimes:   "max_execution_times",
-	Tip:                 "tip",
-	SucNextStep:         "suc_next_step",
-	FailNextStep:        "fail_next_step",
-	State:               "state",
-	FailReason:          "fail_reason",
-	StartDate:           "start_date",
-	CompleteDate:        "complete_date",
-	CompleteUserName:    "complete_user_name",
-	LimitDays1:          "limit_days_1",
-	ReduceFeeRatio1:     "reduce_fee_ratio_1",
-	LimitDays2:          "limit_days_2",
-	ReduceFeeRatio2:     "reduce_fee_ratio_2",
-	OperateRoleRestrict: "operate_role_restrict",
-	SortId:              "sort_id",
-}
-
-// NewWorkflowNodeTemplateDao creates and returns a new DAO object for table data access.
-func NewWorkflowNodeTemplateDao() *WorkflowNodeTemplateDao {
-	return &WorkflowNodeTemplateDao{
-		Group:   "default",
-		Table:   "workflow_node_template",
-		Columns: workflowNodeTemplateColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *WorkflowNodeTemplateDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *WorkflowNodeTemplateDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *WorkflowNodeTemplateDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// WorkflowNodeTemplateDao is the manager for logic model data accessing and custom defined data operations functions management.
+type WorkflowNodeTemplateDao struct {
+	Table   string                      // Table is the underlying table name of the DAO.
+	Group   string                      // Group is the database configuration group name of current DAO.
+	Columns WorkflowNodeTemplateColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// WorkflowNodeTemplateColumns defines and stores column names for table workflow_node_template.
+type WorkflowNodeTemplateColumns struct {
+	TemplateId          string //
+	NodeNameFirst       string // 首次执行时的节点名,前端显示
+	NodeNameAfterSecond string // 第二次之后执行时的节点名
+	ProcedureStage      string // 订单处理流程阶段,如:拍单阶段、初稿阶段
+	StepInStage         string // 在阶段中的步骤,如提交初稿是初稿阶段的第一步
+	CurExecutionTimes   string // 当前执行次数
+	MaxExecutionTimes   string // 最大执行次数
+	Tip                 string // 此步骤在达人端的提示
+	SucNextStep         string // 成功后在此阶段的后续步骤 0不处理 255进行后续阶段 其余数值为本阶段step_in_stage值
+	FailNextStep        string // 失败的后续步骤,数值同上
+	State               string // 状态 1未开启 2进行中 3成功 4失败
+	FailReason          string //
+	StartDate           string // 开启日期
+	CompleteDate        string // 完成日期
+	CompleteUserName    string // 完成人名
+	LimitDays1          string // 此状态限制天数 0不限制
+	ReduceFeeRatio1     string // 超期扣费比率
+	LimitDays2          string // 第二次执行限制天数(修改操作限时)
+	ReduceFeeRatio2     string // 第二次执行超期扣费率
+	OperateRoleRestrict string // 操作角色限制 1后端 2达人
+	SortId              string //
+}
+
+//  workflowNodeTemplateColumns holds the columns for table workflow_node_template.
+var workflowNodeTemplateColumns = WorkflowNodeTemplateColumns{
+	TemplateId:          "template_id",
+	NodeNameFirst:       "node_name_first",
+	NodeNameAfterSecond: "node_name_after_second",
+	ProcedureStage:      "procedure_stage",
+	StepInStage:         "step_in_stage",
+	CurExecutionTimes:   "cur_execution_times",
+	MaxExecutionTimes:   "max_execution_times",
+	Tip:                 "tip",
+	SucNextStep:         "suc_next_step",
+	FailNextStep:        "fail_next_step",
+	State:               "state",
+	FailReason:          "fail_reason",
+	StartDate:           "start_date",
+	CompleteDate:        "complete_date",
+	CompleteUserName:    "complete_user_name",
+	LimitDays1:          "limit_days_1",
+	ReduceFeeRatio1:     "reduce_fee_ratio_1",
+	LimitDays2:          "limit_days_2",
+	ReduceFeeRatio2:     "reduce_fee_ratio_2",
+	OperateRoleRestrict: "operate_role_restrict",
+	SortId:              "sort_id",
+}
+
+// NewWorkflowNodeTemplateDao creates and returns a new DAO object for table data access.
+func NewWorkflowNodeTemplateDao() *WorkflowNodeTemplateDao {
+	return &WorkflowNodeTemplateDao{
+		Group:   "default",
+		Table:   "workflow_node_template",
+		Columns: workflowNodeTemplateColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *WorkflowNodeTemplateDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *WorkflowNodeTemplateDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *WorkflowNodeTemplateDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 83 - 83
app/dao/internal/wx_pay_order.go

@@ -1,83 +1,83 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// WxPayOrderDao is the manager for logic model data accessing and custom defined data operations functions management.
-type WxPayOrderDao struct {
-	Table   string            // Table is the underlying table name of the DAO.
-	Group   string            // Group is the database configuration group name of current DAO.
-	Columns WxPayOrderColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// WxPayOrderColumns defines and stores column names for table wx_pay_order.
-type WxPayOrderColumns struct {
-	OrderId                   string //
-	OutTradeNo                string // 本平台的订单号
-	WxOrderNo                 string // 微信产生的订单号
-	PayAmount                 string // 支付金额
-	TaskName                  string // 任务名称
-	PayReason                 string // 支付用途 1拍单
-	TalentId                  string // 达人id
-	TalentWxNickname          string // 达人微信昵称
-	TalentPlatformAccountName string // 达人平台账号昵称
-	TaskId                    string // 任务id
-	TaskPlatform              string // 任务的社媒平台id
-	Success                   string // 是否成功
-	CreateAt                  string // 订单生成时间
-	Desc                      string // 描述
-}
-
-//  wxPayOrderColumns holds the columns for table wx_pay_order.
-var wxPayOrderColumns = WxPayOrderColumns{
-	OrderId:                   "order_id",
-	OutTradeNo:                "out_trade_no",
-	WxOrderNo:                 "wx_order_no",
-	PayAmount:                 "pay_amount",
-	TaskName:                  "task_name",
-	PayReason:                 "pay_reason",
-	TalentId:                  "talent_id",
-	TalentWxNickname:          "talent_wx_nickname",
-	TalentPlatformAccountName: "talent_platform_account_name",
-	TaskId:                    "task_id",
-	TaskPlatform:              "task_platform",
-	Success:                   "success",
-	CreateAt:                  "create_at",
-	Desc:                      "desc",
-}
-
-// NewWxPayOrderDao creates and returns a new DAO object for table data access.
-func NewWxPayOrderDao() *WxPayOrderDao {
-	return &WxPayOrderDao{
-		Group:   "default",
-		Table:   "wx_pay_order",
-		Columns: wxPayOrderColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *WxPayOrderDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *WxPayOrderDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *WxPayOrderDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// WxPayOrderDao is the manager for logic model data accessing and custom defined data operations functions management.
+type WxPayOrderDao struct {
+	Table   string            // Table is the underlying table name of the DAO.
+	Group   string            // Group is the database configuration group name of current DAO.
+	Columns WxPayOrderColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// WxPayOrderColumns defines and stores column names for table wx_pay_order.
+type WxPayOrderColumns struct {
+	OrderId                   string //
+	OutTradeNo                string // 本平台的订单号
+	WxOrderNo                 string // 微信产生的订单号
+	PayAmount                 string // 支付金额
+	TaskName                  string // 任务名称
+	PayReason                 string // 支付用途 1拍单
+	TalentId                  string // 达人id
+	TalentWxNickname          string // 达人微信昵称
+	TalentPlatformAccountName string // 达人平台账号昵称
+	TaskId                    string // 任务id
+	TaskPlatform              string // 任务的社媒平台id
+	Success                   string // 是否成功
+	CreateAt                  string // 订单生成时间
+	Desc                      string // 描述
+}
+
+//  wxPayOrderColumns holds the columns for table wx_pay_order.
+var wxPayOrderColumns = WxPayOrderColumns{
+	OrderId:                   "order_id",
+	OutTradeNo:                "out_trade_no",
+	WxOrderNo:                 "wx_order_no",
+	PayAmount:                 "pay_amount",
+	TaskName:                  "task_name",
+	PayReason:                 "pay_reason",
+	TalentId:                  "talent_id",
+	TalentWxNickname:          "talent_wx_nickname",
+	TalentPlatformAccountName: "talent_platform_account_name",
+	TaskId:                    "task_id",
+	TaskPlatform:              "task_platform",
+	Success:                   "success",
+	CreateAt:                  "create_at",
+	Desc:                      "desc",
+}
+
+// NewWxPayOrderDao creates and returns a new DAO object for table data access.
+func NewWxPayOrderDao() *WxPayOrderDao {
+	return &WxPayOrderDao{
+		Group:   "default",
+		Table:   "wx_pay_order",
+		Columns: wxPayOrderColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *WxPayOrderDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *WxPayOrderDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *WxPayOrderDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 73 - 73
app/dao/internal/youngee_contract_info.go

@@ -1,73 +1,73 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// YoungeeContractInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type YoungeeContractInfoDao struct {
-	Table   string                     // Table is the underlying table name of the DAO.
-	Group   string                     // Group is the database configuration group name of current DAO.
-	Columns YoungeeContractInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// YoungeeContractInfoColumns defines and stores column names for table youngee_contract_info.
-type YoungeeContractInfoColumns struct {
-	ContractId       string // 合约id
-	TaskId           string // 任务id
-	ProjectId        string // 任务所属项目id
-	BreakType        string // 违约类型(4类严重违约):1(脚本)2(初稿)3(链接)4(数据)
-	SettlementAmount string // 应结算金额
-	BreakAt          string // 违约时间
-	HandleAt         string // 处理时间
-	TerminateAt      string // 解约申请时间
-	DefaultStatus    string // 违约处理状态1-5分别表示为违约、已重新上传、解约待处理、解约已处理(驳回)、解约已处理(解约)
-}
-
-//  youngeeContractInfoColumns holds the columns for table youngee_contract_info.
-var youngeeContractInfoColumns = YoungeeContractInfoColumns{
-	ContractId:       "contract_id",
-	TaskId:           "task_id",
-	ProjectId:        "project_id",
-	BreakType:        "break_type",
-	SettlementAmount: "settlement_amount",
-	BreakAt:          "break_at",
-	HandleAt:         "handle_at",
-	TerminateAt:      "terminate_at",
-	DefaultStatus:    "default_status",
-}
-
-// NewYoungeeContractInfoDao creates and returns a new DAO object for table data access.
-func NewYoungeeContractInfoDao() *YoungeeContractInfoDao {
-	return &YoungeeContractInfoDao{
-		Group:   "default",
-		Table:   "youngee_contract_info",
-		Columns: youngeeContractInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *YoungeeContractInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *YoungeeContractInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *YoungeeContractInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// YoungeeContractInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type YoungeeContractInfoDao struct {
+	Table   string                     // Table is the underlying table name of the DAO.
+	Group   string                     // Group is the database configuration group name of current DAO.
+	Columns YoungeeContractInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// YoungeeContractInfoColumns defines and stores column names for table youngee_contract_info.
+type YoungeeContractInfoColumns struct {
+	ContractId       string // 合约id
+	TaskId           string // 任务id
+	ProjectId        string // 任务所属项目id
+	BreakType        string // 违约类型(4类严重违约):1(脚本)2(初稿)3(链接)4(数据)
+	SettlementAmount string // 应结算金额
+	BreakAt          string // 违约时间
+	HandleAt         string // 处理时间
+	TerminateAt      string // 解约申请时间
+	DefaultStatus    string // 违约处理状态1-5分别表示为违约、已重新上传、解约待处理、解约已处理(驳回)、解约已处理(解约)
+}
+
+//  youngeeContractInfoColumns holds the columns for table youngee_contract_info.
+var youngeeContractInfoColumns = YoungeeContractInfoColumns{
+	ContractId:       "contract_id",
+	TaskId:           "task_id",
+	ProjectId:        "project_id",
+	BreakType:        "break_type",
+	SettlementAmount: "settlement_amount",
+	BreakAt:          "break_at",
+	HandleAt:         "handle_at",
+	TerminateAt:      "terminate_at",
+	DefaultStatus:    "default_status",
+}
+
+// NewYoungeeContractInfoDao creates and returns a new DAO object for table data access.
+func NewYoungeeContractInfoDao() *YoungeeContractInfoDao {
+	return &YoungeeContractInfoDao{
+		Group:   "default",
+		Table:   "youngee_contract_info",
+		Columns: youngeeContractInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *YoungeeContractInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *YoungeeContractInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *YoungeeContractInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/youngee_contract_set.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// YoungeeContractSetDao is the manager for logic model data accessing and custom defined data operations functions management.
-type YoungeeContractSetDao struct {
-	Table   string                    // Table is the underlying table name of the DAO.
-	Group   string                    // Group is the database configuration group name of current DAO.
-	Columns YoungeeContractSetColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// YoungeeContractSetColumns defines and stores column names for table youngee_contract_set.
-type YoungeeContractSetColumns struct {
-	BreakManageId        string // 违约自动管理策略id
-	ProejctType          string // 项目类型:1:全流程 2:专项
-	ProjectForm          string // 任务形式:1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
-	FeeForm              string // 稿费形式:1,2,3分别代表产品置换、固定稿费、自报价
-	BreakType            string // 违约类型:1-4:初稿、脚本、链接和数据
-	NouploadCutRatio     string // 未上传 扣款比例
-	NotimeuploadCutRatio string // 未按照规定时间上传脚本 扣款比例
-}
-
-//  youngeeContractSetColumns holds the columns for table youngee_contract_set.
-var youngeeContractSetColumns = YoungeeContractSetColumns{
-	BreakManageId:        "break_manage_id",
-	ProejctType:          "proejct_type",
-	ProjectForm:          "project_form",
-	FeeForm:              "fee_form",
-	BreakType:            "break_type",
-	NouploadCutRatio:     "noupload_cut_ratio",
-	NotimeuploadCutRatio: "notimeupload_cut_ratio",
-}
-
-// NewYoungeeContractSetDao creates and returns a new DAO object for table data access.
-func NewYoungeeContractSetDao() *YoungeeContractSetDao {
-	return &YoungeeContractSetDao{
-		Group:   "default",
-		Table:   "youngee_contract_set",
-		Columns: youngeeContractSetColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *YoungeeContractSetDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *YoungeeContractSetDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *YoungeeContractSetDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// YoungeeContractSetDao is the manager for logic model data accessing and custom defined data operations functions management.
+type YoungeeContractSetDao struct {
+	Table   string                    // Table is the underlying table name of the DAO.
+	Group   string                    // Group is the database configuration group name of current DAO.
+	Columns YoungeeContractSetColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// YoungeeContractSetColumns defines and stores column names for table youngee_contract_set.
+type YoungeeContractSetColumns struct {
+	BreakManageId        string // 违约自动管理策略id
+	ProejctType          string // 项目类型:1:全流程 2:专项
+	ProjectForm          string // 任务形式:1-4分别代表实体商品寄拍、虚拟产品测评、线下探店打卡、素材微原创
+	FeeForm              string // 稿费形式:1,2,3分别代表产品置换、固定稿费、自报价
+	BreakType            string // 违约类型:1-4:初稿、脚本、链接和数据
+	NouploadCutRatio     string // 未上传 扣款比例
+	NotimeuploadCutRatio string // 未按照规定时间上传脚本 扣款比例
+}
+
+//  youngeeContractSetColumns holds the columns for table youngee_contract_set.
+var youngeeContractSetColumns = YoungeeContractSetColumns{
+	BreakManageId:        "break_manage_id",
+	ProejctType:          "proejct_type",
+	ProjectForm:          "project_form",
+	FeeForm:              "fee_form",
+	BreakType:            "break_type",
+	NouploadCutRatio:     "noupload_cut_ratio",
+	NotimeuploadCutRatio: "notimeupload_cut_ratio",
+}
+
+// NewYoungeeContractSetDao creates and returns a new DAO object for table data access.
+func NewYoungeeContractSetDao() *YoungeeContractSetDao {
+	return &YoungeeContractSetDao{
+		Group:   "default",
+		Table:   "youngee_contract_set",
+		Columns: youngeeContractSetColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *YoungeeContractSetDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *YoungeeContractSetDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *YoungeeContractSetDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 81 - 81
app/dao/internal/youngee_platform_account_info.go

@@ -1,81 +1,81 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// YoungeePlatformAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type YoungeePlatformAccountInfoDao struct {
-	Table   string                            // Table is the underlying table name of the DAO.
-	Group   string                            // Group is the database configuration group name of current DAO.
-	Columns YoungeePlatformAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// YoungeePlatformAccountInfoColumns defines and stores column names for table youngee_platform_account_info.
-type YoungeePlatformAccountInfoColumns struct {
-	AccountId          string //
-	TalentId           string // 达人账号id(youngee_talent_info表id值)
-	PlatformId         string // 平台id,与third_platform_info中的id相同
-	PlatformNickname   string // 在平台上的昵称
-	PlatformType       string // 标签及类型
-	HomePageUrl        string // 主页链接
-	FansCount          string // 粉丝数
-	HomePageCaptureUrl string // 主页截图链接
-	BindDate           string // 绑定时间
-	Deleted            string // 是否被解绑
-	UpdatedAt          string // 更新时间
-	UpdatedPerson      string // 更新人,0代表本人,1代表管理员
-	UpdatedAdminId     string // 上一次更新的管理员id
-}
-
-//  youngeePlatformAccountInfoColumns holds the columns for table youngee_platform_account_info.
-var youngeePlatformAccountInfoColumns = YoungeePlatformAccountInfoColumns{
-	AccountId:          "account_id",
-	TalentId:           "talent_id",
-	PlatformId:         "platform_id",
-	PlatformNickname:   "platform_nickname",
-	PlatformType:       "platform_type",
-	HomePageUrl:        "home_page_url",
-	FansCount:          "fans_count",
-	HomePageCaptureUrl: "home_page_capture_url",
-	BindDate:           "bind_date",
-	Deleted:            "deleted",
-	UpdatedAt:          "updated_at",
-	UpdatedPerson:      "updated_person",
-	UpdatedAdminId:     "updated_admin_id",
-}
-
-// NewYoungeePlatformAccountInfoDao creates and returns a new DAO object for table data access.
-func NewYoungeePlatformAccountInfoDao() *YoungeePlatformAccountInfoDao {
-	return &YoungeePlatformAccountInfoDao{
-		Group:   "default",
-		Table:   "youngee_platform_account_info",
-		Columns: youngeePlatformAccountInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *YoungeePlatformAccountInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *YoungeePlatformAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *YoungeePlatformAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// YoungeePlatformAccountInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type YoungeePlatformAccountInfoDao struct {
+	Table   string                            // Table is the underlying table name of the DAO.
+	Group   string                            // Group is the database configuration group name of current DAO.
+	Columns YoungeePlatformAccountInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// YoungeePlatformAccountInfoColumns defines and stores column names for table youngee_platform_account_info.
+type YoungeePlatformAccountInfoColumns struct {
+	AccountId          string //
+	TalentId           string // 达人账号id(youngee_talent_info表id值)
+	PlatformId         string // 平台id,与third_platform_info中的id相同
+	PlatformNickname   string // 在平台上的昵称
+	PlatformType       string // 标签及类型
+	HomePageUrl        string // 主页链接
+	FansCount          string // 粉丝数
+	HomePageCaptureUrl string // 主页截图链接
+	BindDate           string // 绑定时间
+	Deleted            string // 是否被解绑
+	UpdatedAt          string // 更新时间
+	UpdatedPerson      string // 更新人,0代表本人,1代表管理员
+	UpdatedAdminId     string // 上一次更新的管理员id
+}
+
+//  youngeePlatformAccountInfoColumns holds the columns for table youngee_platform_account_info.
+var youngeePlatformAccountInfoColumns = YoungeePlatformAccountInfoColumns{
+	AccountId:          "account_id",
+	TalentId:           "talent_id",
+	PlatformId:         "platform_id",
+	PlatformNickname:   "platform_nickname",
+	PlatformType:       "platform_type",
+	HomePageUrl:        "home_page_url",
+	FansCount:          "fans_count",
+	HomePageCaptureUrl: "home_page_capture_url",
+	BindDate:           "bind_date",
+	Deleted:            "deleted",
+	UpdatedAt:          "updated_at",
+	UpdatedPerson:      "updated_person",
+	UpdatedAdminId:     "updated_admin_id",
+}
+
+// NewYoungeePlatformAccountInfoDao creates and returns a new DAO object for table data access.
+func NewYoungeePlatformAccountInfoDao() *YoungeePlatformAccountInfoDao {
+	return &YoungeePlatformAccountInfoDao{
+		Group:   "default",
+		Table:   "youngee_platform_account_info",
+		Columns: youngeePlatformAccountInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *YoungeePlatformAccountInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *YoungeePlatformAccountInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *YoungeePlatformAccountInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 69 - 69
app/dao/internal/youngee_talent_delivery_address.go

@@ -1,69 +1,69 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// YoungeeTalentDeliveryAddressDao is the manager for logic model data accessing and custom defined data operations functions management.
-type YoungeeTalentDeliveryAddressDao struct {
-	Table   string                              // Table is the underlying table name of the DAO.
-	Group   string                              // Group is the database configuration group name of current DAO.
-	Columns YoungeeTalentDeliveryAddressColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// YoungeeTalentDeliveryAddressColumns defines and stores column names for table youngee_talent_delivery_address.
-type YoungeeTalentDeliveryAddressColumns struct {
-	AddressId    string //
-	TalentId     string // 达人id(youngee_talent_info表中的id)
-	RegionCode   string // 区域码,取info_region表中的self_code字段值
-	DetailAddr   string // 详细地址
-	PhoneNumber  string // 联系电话
-	ReceiverName string // 收货人名字
-	DefaultTag   string // 是否默认收货地址
-}
-
-//  youngeeTalentDeliveryAddressColumns holds the columns for table youngee_talent_delivery_address.
-var youngeeTalentDeliveryAddressColumns = YoungeeTalentDeliveryAddressColumns{
-	AddressId:    "address_id",
-	TalentId:     "talent_id",
-	RegionCode:   "region_code",
-	DetailAddr:   "detail_addr",
-	PhoneNumber:  "phone_number",
-	ReceiverName: "receiver_name",
-	DefaultTag:   "default_tag",
-}
-
-// NewYoungeeTalentDeliveryAddressDao creates and returns a new DAO object for table data access.
-func NewYoungeeTalentDeliveryAddressDao() *YoungeeTalentDeliveryAddressDao {
-	return &YoungeeTalentDeliveryAddressDao{
-		Group:   "default",
-		Table:   "youngee_talent_delivery_address",
-		Columns: youngeeTalentDeliveryAddressColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *YoungeeTalentDeliveryAddressDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *YoungeeTalentDeliveryAddressDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *YoungeeTalentDeliveryAddressDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// YoungeeTalentDeliveryAddressDao is the manager for logic model data accessing and custom defined data operations functions management.
+type YoungeeTalentDeliveryAddressDao struct {
+	Table   string                              // Table is the underlying table name of the DAO.
+	Group   string                              // Group is the database configuration group name of current DAO.
+	Columns YoungeeTalentDeliveryAddressColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// YoungeeTalentDeliveryAddressColumns defines and stores column names for table youngee_talent_delivery_address.
+type YoungeeTalentDeliveryAddressColumns struct {
+	AddressId    string //
+	TalentId     string // 达人id(youngee_talent_info表中的id)
+	RegionCode   string // 区域码,取info_region表中的self_code字段值
+	DetailAddr   string // 详细地址
+	PhoneNumber  string // 联系电话
+	ReceiverName string // 收货人名字
+	DefaultTag   string // 是否默认收货地址
+}
+
+//  youngeeTalentDeliveryAddressColumns holds the columns for table youngee_talent_delivery_address.
+var youngeeTalentDeliveryAddressColumns = YoungeeTalentDeliveryAddressColumns{
+	AddressId:    "address_id",
+	TalentId:     "talent_id",
+	RegionCode:   "region_code",
+	DetailAddr:   "detail_addr",
+	PhoneNumber:  "phone_number",
+	ReceiverName: "receiver_name",
+	DefaultTag:   "default_tag",
+}
+
+// NewYoungeeTalentDeliveryAddressDao creates and returns a new DAO object for table data access.
+func NewYoungeeTalentDeliveryAddressDao() *YoungeeTalentDeliveryAddressDao {
+	return &YoungeeTalentDeliveryAddressDao{
+		Group:   "default",
+		Table:   "youngee_talent_delivery_address",
+		Columns: youngeeTalentDeliveryAddressColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *YoungeeTalentDeliveryAddressDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *YoungeeTalentDeliveryAddressDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *YoungeeTalentDeliveryAddressDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 107 - 107
app/dao/internal/youngee_talent_info.go

@@ -1,107 +1,107 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// YoungeeTalentInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type YoungeeTalentInfoDao struct {
-	Table   string                   // Table is the underlying table name of the DAO.
-	Group   string                   // Group is the database configuration group name of current DAO.
-	Columns YoungeeTalentInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// YoungeeTalentInfoColumns defines and stores column names for table youngee_talent_info.
-type YoungeeTalentInfoColumns struct {
-	Id                string // 达人id
-	TalentWxOpenid    string // 达人的微信openid
-	Avatar            string //
-	TalentWxNickname  string // 达人的微信昵称
-	Income            string // 收益总数
-	Withdrawing       string // 提现中金额
-	Canwithdraw       string // 可提现金额
-	Withdrawed        string // 已提现金额
-	Point             string // 可用积分
-	TalentPhoneNumber string // 电话号码
-	TalentAgeBracket  string // 年龄段,取tallent_age_bracket表id
-	TalentNationality string // 国籍,取tallent_nationality表id
-	VisitStoreRegion  string // 探店区域,取region_info表中的self_code
-	IsBindInfo        string // 是否填写个人资料
-	IsBindAccount     string // 是否绑定账号,1是0否
-	IsBindLocation    string // 是否绑定收货地址
-	IsBindBank        string // 是否绑定银行账户信息
-	InBlacklist       string // 是否加入黑名单 0否 1是
-	TaskAll           string // 任务总数
-	TaskApply         string // 报名任务数量
-	TaskExecute       string // 执行中任务数量
-	TaskEnd           string // 结束任务数量
-	CreateDate        string // 创建时间
-	LastLoginDate     string // 最后登录时间
-	ApplyNum          string // 剩余申请次数(每天更新)
-	UserType          string // 用户类型,1、2分别表示新用户、老用户
-}
-
-//  youngeeTalentInfoColumns holds the columns for table youngee_talent_info.
-var youngeeTalentInfoColumns = YoungeeTalentInfoColumns{
-	Id:                "id",
-	TalentWxOpenid:    "talent_wx_openid",
-	Avatar:            "avatar",
-	TalentWxNickname:  "talent_wx_nickname",
-	Income:            "income",
-	Withdrawing:       "withdrawing",
-	Canwithdraw:       "canwithdraw",
-	Withdrawed:        "withdrawed",
-	Point:             "point",
-	TalentPhoneNumber: "talent_phone_number",
-	TalentAgeBracket:  "talent_age_bracket",
-	TalentNationality: "talent_nationality",
-	VisitStoreRegion:  "visit_store_region",
-	IsBindInfo:        "is_bind_info",
-	IsBindAccount:     "is_bind_account",
-	IsBindLocation:    "is_bind_location",
-	IsBindBank:        "is_bind_bank",
-	InBlacklist:       "in_blacklist",
-	TaskAll:           "task_all",
-	TaskApply:         "task_apply",
-	TaskExecute:       "task_execute",
-	TaskEnd:           "task_end",
-	CreateDate:        "create_date",
-	LastLoginDate:     "last_login_date",
-	ApplyNum:          "apply_num",
-	UserType:          "user_type",
-}
-
-// NewYoungeeTalentInfoDao creates and returns a new DAO object for table data access.
-func NewYoungeeTalentInfoDao() *YoungeeTalentInfoDao {
-	return &YoungeeTalentInfoDao{
-		Group:   "default",
-		Table:   "youngee_talent_info",
-		Columns: youngeeTalentInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *YoungeeTalentInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *YoungeeTalentInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *YoungeeTalentInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// YoungeeTalentInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type YoungeeTalentInfoDao struct {
+	Table   string                   // Table is the underlying table name of the DAO.
+	Group   string                   // Group is the database configuration group name of current DAO.
+	Columns YoungeeTalentInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// YoungeeTalentInfoColumns defines and stores column names for table youngee_talent_info.
+type YoungeeTalentInfoColumns struct {
+	Id                string // 达人id
+	TalentWxOpenid    string // 达人的微信openid
+	Avatar            string //
+	TalentWxNickname  string // 达人的微信昵称
+	Income            string // 收益总数
+	Withdrawing       string // 提现中金额
+	Canwithdraw       string // 可提现金额
+	Withdrawed        string // 已提现金额
+	Point             string // 可用积分
+	TalentPhoneNumber string // 电话号码
+	TalentAgeBracket  string // 年龄段,取tallent_age_bracket表id
+	TalentNationality string // 国籍,取tallent_nationality表id
+	VisitStoreRegion  string // 探店区域,取region_info表中的self_code
+	IsBindInfo        string // 是否填写个人资料
+	IsBindAccount     string // 是否绑定账号,1是0否
+	IsBindLocation    string // 是否绑定收货地址
+	IsBindBank        string // 是否绑定银行账户信息
+	InBlacklist       string // 是否加入黑名单 0否 1是
+	TaskAll           string // 任务总数
+	TaskApply         string // 报名任务数量
+	TaskExecute       string // 执行中任务数量
+	TaskEnd           string // 结束任务数量
+	CreateDate        string // 创建时间
+	LastLoginDate     string // 最后登录时间
+	ApplyNum          string // 剩余申请次数(每天更新)
+	UserType          string // 用户类型,1、2分别表示新用户、老用户
+}
+
+//  youngeeTalentInfoColumns holds the columns for table youngee_talent_info.
+var youngeeTalentInfoColumns = YoungeeTalentInfoColumns{
+	Id:                "id",
+	TalentWxOpenid:    "talent_wx_openid",
+	Avatar:            "avatar",
+	TalentWxNickname:  "talent_wx_nickname",
+	Income:            "income",
+	Withdrawing:       "withdrawing",
+	Canwithdraw:       "canwithdraw",
+	Withdrawed:        "withdrawed",
+	Point:             "point",
+	TalentPhoneNumber: "talent_phone_number",
+	TalentAgeBracket:  "talent_age_bracket",
+	TalentNationality: "talent_nationality",
+	VisitStoreRegion:  "visit_store_region",
+	IsBindInfo:        "is_bind_info",
+	IsBindAccount:     "is_bind_account",
+	IsBindLocation:    "is_bind_location",
+	IsBindBank:        "is_bind_bank",
+	InBlacklist:       "in_blacklist",
+	TaskAll:           "task_all",
+	TaskApply:         "task_apply",
+	TaskExecute:       "task_execute",
+	TaskEnd:           "task_end",
+	CreateDate:        "create_date",
+	LastLoginDate:     "last_login_date",
+	ApplyNum:          "apply_num",
+	UserType:          "user_type",
+}
+
+// NewYoungeeTalentInfoDao creates and returns a new DAO object for table data access.
+func NewYoungeeTalentInfoDao() *YoungeeTalentInfoDao {
+	return &YoungeeTalentInfoDao{
+		Group:   "default",
+		Table:   "youngee_talent_info",
+		Columns: youngeeTalentInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *YoungeeTalentInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *YoungeeTalentInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *YoungeeTalentInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 139 - 139
app/dao/internal/youngee_task_info.go

@@ -1,139 +1,139 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// YoungeeTaskInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
-type YoungeeTaskInfoDao struct {
-	Table   string                 // Table is the underlying table name of the DAO.
-	Group   string                 // Group is the database configuration group name of current DAO.
-	Columns YoungeeTaskInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// YoungeeTaskInfoColumns defines and stores column names for table youngee_task_info.
-type YoungeeTaskInfoColumns struct {
-	TaskId                 string // 任务id
-	ProjectId              string // 项目id
-	TalentId               string // 达人id
-	AccountId              string // 账号id
-	StrategyId             string // 报名选择的招募策略id
-	TalentPlatformInfoSnap string // 达人平台信息快照
-	TalentPersonalInfoSnap string // 达人个人信息快照
-	TalentPostAddrSnap     string // 收货地址快照
-	TaskReward             string // 达人报酬
-	SettleAmount           string // 达人实际所得(扣除违约扣款)
-	AllPayment             string // 企业支付
-	RealPayment            string // 企业实际支付(扣除违约扣款)
-	ServiceRate            string // 服务费率,千分之
-	ServiceCharge          string // 服务费
-	FeeForm                string // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
-	ErrBreakRate           string // 未上传类型违约扣款比例,百分之
-	ScriptBreakRate        string // 脚本上传超时违约扣款比例,百分之
-	SketchBreakRate        string // 初稿上传超时违约扣款比例,百分之
-	LinkBreakRate          string // 链接上传超时违约扣款比例,百分之
-	DataBreakRate          string // 数据上传超时违约扣款比例,百分之
-	TaskStage              string //
-	TaskStatus             string // 任务状态 1待选 2已选 3落选
-	LogisticsStatus        string // 发货状态 1 待发货 2已发货 3 已签收
-	ScriptStatus           string // 脚本上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
-	SketchStatus           string // 初稿上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
-	LinkStatus             string // 链接上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
-	DataStatus             string // 数据上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
-	CompleteStatus         string // 结束方式 1未结束 2正常结束 3反选失败 4被解约
-	UpdateAt               string // 更新时间
-	CreateDate             string // 创建时间
-	SelectDate             string // 反选时间
-	DeliveryDate           string // 发货时间
-	CompleteDate           string // 结束时间
-	WithdrawDate           string // 提现时间
-	CurDefaultType         string // 任务当前处于的违约类型 0-10分别表示未违约、脚本超时违约、脚本未上传违约、初稿超时违约、初稿未上传违约、链接超时违约、链接未上传违约、数据超时违约、数据未上传违约、解约待处理、解约
-	WithdrawStatus         string // 提现状态,1-4分别代表不可提现、可提现、提现中、已提现
-	LeadTeamId             string // 作为团长的young之团id,对应younggee_talent_team中的team_id字段
-	TeamId                 string // 作为团员的young之团id,对应younggee_talent_team中的team_id字段
-	SettleStatus           string // 结算状态,1、2分别表示待结算、已结算
-	TeamIncome             string // young之团团长现金收益
-	TeamPoint              string // young之团团长积分收益
-	CurBreakAt             string // 当前阶段截止时间
-}
-
-//  youngeeTaskInfoColumns holds the columns for table youngee_task_info.
-var youngeeTaskInfoColumns = YoungeeTaskInfoColumns{
-	TaskId:                 "task_id",
-	ProjectId:              "project_id",
-	TalentId:               "talent_id",
-	AccountId:              "account_id",
-	StrategyId:             "strategy_id",
-	TalentPlatformInfoSnap: "talent_platform_info_snap",
-	TalentPersonalInfoSnap: "talent_personal_info_snap",
-	TalentPostAddrSnap:     "talent_post_addr_snap",
-	TaskReward:             "task_reward",
-	SettleAmount:           "settle_amount",
-	AllPayment:             "all_payment",
-	RealPayment:            "real_payment",
-	ServiceRate:            "service_rate",
-	ServiceCharge:          "service_charge",
-	FeeForm:                "fee_form",
-	ErrBreakRate:           "err_break_rate",
-	ScriptBreakRate:        "script_break_rate",
-	SketchBreakRate:        "sketch_break_rate",
-	LinkBreakRate:          "link_break_rate",
-	DataBreakRate:          "data_break_rate",
-	TaskStage:              "task_stage",
-	TaskStatus:             "task_status",
-	LogisticsStatus:        "logistics_status",
-	ScriptStatus:           "script_status",
-	SketchStatus:           "sketch_status",
-	LinkStatus:             "link_status",
-	DataStatus:             "data_status",
-	CompleteStatus:         "complete_status",
-	UpdateAt:               "update_at",
-	CreateDate:             "create_date",
-	SelectDate:             "select_date",
-	DeliveryDate:           "delivery_date",
-	CompleteDate:           "complete_date",
-	WithdrawDate:           "withdraw_date",
-	CurDefaultType:         "cur_default_type",
-	WithdrawStatus:         "withdraw_status",
-	LeadTeamId:             "lead_team_id",
-	TeamId:                 "team_id",
-	SettleStatus:           "settle_status",
-	TeamIncome:             "team_income",
-	TeamPoint:              "team_point",
-	CurBreakAt:             "cur_break_at",
-}
-
-// NewYoungeeTaskInfoDao creates and returns a new DAO object for table data access.
-func NewYoungeeTaskInfoDao() *YoungeeTaskInfoDao {
-	return &YoungeeTaskInfoDao{
-		Group:   "default",
-		Table:   "youngee_task_info",
-		Columns: youngeeTaskInfoColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *YoungeeTaskInfoDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *YoungeeTaskInfoDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *YoungeeTaskInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// YoungeeTaskInfoDao is the manager for logic model data accessing and custom defined data operations functions management.
+type YoungeeTaskInfoDao struct {
+	Table   string                 // Table is the underlying table name of the DAO.
+	Group   string                 // Group is the database configuration group name of current DAO.
+	Columns YoungeeTaskInfoColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// YoungeeTaskInfoColumns defines and stores column names for table youngee_task_info.
+type YoungeeTaskInfoColumns struct {
+	TaskId                 string // 任务id
+	ProjectId              string // 项目id
+	TalentId               string // 达人id
+	AccountId              string // 账号id
+	StrategyId             string // 报名选择的招募策略id
+	TalentPlatformInfoSnap string // 达人平台信息快照
+	TalentPersonalInfoSnap string // 达人个人信息快照
+	TalentPostAddrSnap     string // 收货地址快照
+	TaskReward             string // 达人报酬
+	SettleAmount           string // 达人实际所得(扣除违约扣款)
+	AllPayment             string // 企业支付
+	RealPayment            string // 企业实际支付(扣除违约扣款)
+	ServiceRate            string // 服务费率,千分之
+	ServiceCharge          string // 服务费
+	FeeForm                string // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
+	ErrBreakRate           string // 未上传类型违约扣款比例,百分之
+	ScriptBreakRate        string // 脚本上传超时违约扣款比例,百分之
+	SketchBreakRate        string // 初稿上传超时违约扣款比例,百分之
+	LinkBreakRate          string // 链接上传超时违约扣款比例,百分之
+	DataBreakRate          string // 数据上传超时违约扣款比例,百分之
+	TaskStage              string //
+	TaskStatus             string // 任务状态 1待选 2已选 3落选
+	LogisticsStatus        string // 发货状态 1 待发货 2已发货 3 已签收
+	ScriptStatus           string // 脚本上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
+	SketchStatus           string // 初稿上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
+	LinkStatus             string // 链接上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
+	DataStatus             string // 数据上传状态 1-5分别代表待添加、已添加、待修改、已修改、已通过
+	CompleteStatus         string // 结束方式 1未结束 2正常结束 3反选失败 4被解约
+	UpdateAt               string // 更新时间
+	CreateDate             string // 创建时间
+	SelectDate             string // 反选时间
+	DeliveryDate           string // 发货时间
+	CompleteDate           string // 结束时间
+	WithdrawDate           string // 提现时间
+	CurDefaultType         string // 任务当前处于的违约类型 0-10分别表示未违约、脚本超时违约、脚本未上传违约、初稿超时违约、初稿未上传违约、链接超时违约、链接未上传违约、数据超时违约、数据未上传违约、解约待处理、解约
+	WithdrawStatus         string // 提现状态,1-4分别代表不可提现、可提现、提现中、已提现
+	LeadTeamId             string // 作为团长的young之团id,对应younggee_talent_team中的team_id字段
+	TeamId                 string // 作为团员的young之团id,对应younggee_talent_team中的team_id字段
+	SettleStatus           string // 结算状态,1、2分别表示待结算、已结算
+	TeamIncome             string // young之团团长现金收益
+	TeamPoint              string // young之团团长积分收益
+	CurBreakAt             string // 当前阶段截止时间
+}
+
+//  youngeeTaskInfoColumns holds the columns for table youngee_task_info.
+var youngeeTaskInfoColumns = YoungeeTaskInfoColumns{
+	TaskId:                 "task_id",
+	ProjectId:              "project_id",
+	TalentId:               "talent_id",
+	AccountId:              "account_id",
+	StrategyId:             "strategy_id",
+	TalentPlatformInfoSnap: "talent_platform_info_snap",
+	TalentPersonalInfoSnap: "talent_personal_info_snap",
+	TalentPostAddrSnap:     "talent_post_addr_snap",
+	TaskReward:             "task_reward",
+	SettleAmount:           "settle_amount",
+	AllPayment:             "all_payment",
+	RealPayment:            "real_payment",
+	ServiceRate:            "service_rate",
+	ServiceCharge:          "service_charge",
+	FeeForm:                "fee_form",
+	ErrBreakRate:           "err_break_rate",
+	ScriptBreakRate:        "script_break_rate",
+	SketchBreakRate:        "sketch_break_rate",
+	LinkBreakRate:          "link_break_rate",
+	DataBreakRate:          "data_break_rate",
+	TaskStage:              "task_stage",
+	TaskStatus:             "task_status",
+	LogisticsStatus:        "logistics_status",
+	ScriptStatus:           "script_status",
+	SketchStatus:           "sketch_status",
+	LinkStatus:             "link_status",
+	DataStatus:             "data_status",
+	CompleteStatus:         "complete_status",
+	UpdateAt:               "update_at",
+	CreateDate:             "create_date",
+	SelectDate:             "select_date",
+	DeliveryDate:           "delivery_date",
+	CompleteDate:           "complete_date",
+	WithdrawDate:           "withdraw_date",
+	CurDefaultType:         "cur_default_type",
+	WithdrawStatus:         "withdraw_status",
+	LeadTeamId:             "lead_team_id",
+	TeamId:                 "team_id",
+	SettleStatus:           "settle_status",
+	TeamIncome:             "team_income",
+	TeamPoint:              "team_point",
+	CurBreakAt:             "cur_break_at",
+}
+
+// NewYoungeeTaskInfoDao creates and returns a new DAO object for table data access.
+func NewYoungeeTaskInfoDao() *YoungeeTaskInfoDao {
+	return &YoungeeTaskInfoDao{
+		Group:   "default",
+		Table:   "youngee_task_info",
+		Columns: youngeeTaskInfoColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *YoungeeTaskInfoDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *YoungeeTaskInfoDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *YoungeeTaskInfoDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

+ 85 - 85
app/dao/internal/youngee_task_logistics.go

@@ -1,85 +1,85 @@
-// ==========================================================================
-// Code generated by GoFrame CLI tool. DO NOT EDIT.
-// ==========================================================================
-
-package internal
-
-import (
-	"context"
-	"github.com/gogf/gf/database/gdb"
-	"github.com/gogf/gf/frame/g"
-)
-
-// YoungeeTaskLogisticsDao is the manager for logic model data accessing and custom defined data operations functions management.
-type YoungeeTaskLogisticsDao struct {
-	Table   string                      // Table is the underlying table name of the DAO.
-	Group   string                      // Group is the database configuration group name of current DAO.
-	Columns YoungeeTaskLogisticsColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
-}
-
-// YoungeeTaskLogisticsColumns defines and stores column names for table youngee_task_logistics.
-type YoungeeTaskLogisticsColumns struct {
-	LogisticsId           string // 货物-id
-	CompanyName           string // 实物商品-物流公司名称
-	LogisticsNumber       string // 实物商品-物流单号
-	ExplorestoreStarttime string // 线下探店-探店开始时间
-	ExplorestoreEndtime   string // 线下探店-探店结束时间
-	ExplorestorePeriod    string // 线下探店-探店持续时间
-	CouponCodeInformation string // 虚拟产品-券码信息
-	TaskId                string // 任务id
-	DeliveryTime          string // 发货时间
-	ThingsType            string // 任务类型:1 实物,2:线下探店,3:虚拟产品
-	SignedTime            string // 实物商品-签收时间
-	AutoSignAt            string // 自动签收时间
-	AutoScriptBreakAt     string // 脚本违约自动处理时间
-	AutoSketchBreakAt     string // 初稿违约自动处理时间
-	Status                string // 签收状态,0为未签收,1为已签收
-}
-
-//  youngeeTaskLogisticsColumns holds the columns for table youngee_task_logistics.
-var youngeeTaskLogisticsColumns = YoungeeTaskLogisticsColumns{
-	LogisticsId:           "logistics_id",
-	CompanyName:           "company_name",
-	LogisticsNumber:       "logistics_number",
-	ExplorestoreStarttime: "explorestore_starttime",
-	ExplorestoreEndtime:   "explorestore_endtime",
-	ExplorestorePeriod:    "explorestore_period",
-	CouponCodeInformation: "coupon_code_information",
-	TaskId:                "task_id",
-	DeliveryTime:          "delivery_time",
-	ThingsType:            "things_type",
-	SignedTime:            "signed_time",
-	AutoSignAt:            "auto_sign_at",
-	AutoScriptBreakAt:     "auto_script_break_at",
-	AutoSketchBreakAt:     "auto_sketch_break_at",
-	Status:                "status",
-}
-
-// NewYoungeeTaskLogisticsDao creates and returns a new DAO object for table data access.
-func NewYoungeeTaskLogisticsDao() *YoungeeTaskLogisticsDao {
-	return &YoungeeTaskLogisticsDao{
-		Group:   "default",
-		Table:   "youngee_task_logistics",
-		Columns: youngeeTaskLogisticsColumns,
-	}
-}
-
-// DB retrieves and returns the underlying raw database management object of current DAO.
-func (dao *YoungeeTaskLogisticsDao) DB() gdb.DB {
-	return g.DB(dao.Group)
-}
-
-// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
-func (dao *YoungeeTaskLogisticsDao) Ctx(ctx context.Context) *gdb.Model {
-	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
-}
-
-// Transaction wraps the transaction logic using function f.
-// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
-// It commits the transaction and returns nil if function f returns nil.
-//
-// Note that, you should not Commit or Rollback the transaction in function f
-// as it is automatically handled by this function.
-func (dao *YoungeeTaskLogisticsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
-	return dao.Ctx(ctx).Transaction(ctx, f)
-}
+// ==========================================================================
+// Code generated by GoFrame CLI tool. DO NOT EDIT.
+// ==========================================================================
+
+package internal
+
+import (
+	"context"
+	"github.com/gogf/gf/database/gdb"
+	"github.com/gogf/gf/frame/g"
+)
+
+// YoungeeTaskLogisticsDao is the manager for logic model data accessing and custom defined data operations functions management.
+type YoungeeTaskLogisticsDao struct {
+	Table   string                      // Table is the underlying table name of the DAO.
+	Group   string                      // Group is the database configuration group name of current DAO.
+	Columns YoungeeTaskLogisticsColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
+}
+
+// YoungeeTaskLogisticsColumns defines and stores column names for table youngee_task_logistics.
+type YoungeeTaskLogisticsColumns struct {
+	LogisticsId           string // 货物-id
+	CompanyName           string // 实物商品-物流公司名称
+	LogisticsNumber       string // 实物商品-物流单号
+	ExplorestoreStarttime string // 线下探店-探店开始时间
+	ExplorestoreEndtime   string // 线下探店-探店结束时间
+	ExplorestorePeriod    string // 线下探店-探店持续时间
+	CouponCodeInformation string // 虚拟产品-券码信息
+	TaskId                string // 任务id
+	DeliveryTime          string // 发货时间
+	ThingsType            string // 任务类型:1 实物,2:线下探店,3:虚拟产品
+	SignedTime            string // 实物商品-签收时间
+	AutoSignAt            string // 自动签收时间
+	AutoScriptBreakAt     string // 脚本违约自动处理时间
+	AutoSketchBreakAt     string // 初稿违约自动处理时间
+	Status                string // 签收状态,0为未签收,1为已签收
+}
+
+//  youngeeTaskLogisticsColumns holds the columns for table youngee_task_logistics.
+var youngeeTaskLogisticsColumns = YoungeeTaskLogisticsColumns{
+	LogisticsId:           "logistics_id",
+	CompanyName:           "company_name",
+	LogisticsNumber:       "logistics_number",
+	ExplorestoreStarttime: "explorestore_starttime",
+	ExplorestoreEndtime:   "explorestore_endtime",
+	ExplorestorePeriod:    "explorestore_period",
+	CouponCodeInformation: "coupon_code_information",
+	TaskId:                "task_id",
+	DeliveryTime:          "delivery_time",
+	ThingsType:            "things_type",
+	SignedTime:            "signed_time",
+	AutoSignAt:            "auto_sign_at",
+	AutoScriptBreakAt:     "auto_script_break_at",
+	AutoSketchBreakAt:     "auto_sketch_break_at",
+	Status:                "status",
+}
+
+// NewYoungeeTaskLogisticsDao creates and returns a new DAO object for table data access.
+func NewYoungeeTaskLogisticsDao() *YoungeeTaskLogisticsDao {
+	return &YoungeeTaskLogisticsDao{
+		Group:   "default",
+		Table:   "youngee_task_logistics",
+		Columns: youngeeTaskLogisticsColumns,
+	}
+}
+
+// DB retrieves and returns the underlying raw database management object of current DAO.
+func (dao *YoungeeTaskLogisticsDao) DB() gdb.DB {
+	return g.DB(dao.Group)
+}
+
+// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
+func (dao *YoungeeTaskLogisticsDao) Ctx(ctx context.Context) *gdb.Model {
+	return dao.DB().Model(dao.Table).Safe().Ctx(ctx)
+}
+
+// Transaction wraps the transaction logic using function f.
+// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
+// It commits the transaction and returns nil if function f returns nil.
+//
+// Note that, you should not Commit or Rollback the transaction in function f
+// as it is automatically handled by this function.
+func (dao *YoungeeTaskLogisticsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx *gdb.TX) error) (err error) {
+	return dao.Ctx(ctx).Transaction(ctx, f)
+}

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini