| | |
| | | VUE_APP_ROUTER_MODE = 'hash' |
| | | |
| | | # 项ç®ä¸ä¸æè·¯å¾ |
| | | VUE_APP_CONTEXT_PATH = '/lianhelihua_admin' |
| | | VUE_APP_CONTEXT_PATH = '/dmttwebsite_admin' |
| | | |
| | | # æ¥å£åç¼ |
| | | VUE_APP_API_PREFIX = '' |
| | | VUE_APP_API_PREFIX = '/dmttwebsite' |
| | |
| | | # å¼åç¯å¢é
ç½® |
| | | NODE_ENV = 'development' |
| | | VUE_APP_API_URL = 'http://192.168.0.129:10040' |
| | | VUE_APP_API_URL = 'http://localhost:10010' |
| | |
| | | # å
³éDEBUG |
| | | VUE_APP_DEBUG = 'off' |
| | | |
| | | VUE_APP_API_URL = 'https://dmtest.ahapp.net/lianhelihua_interface' |
| | | VUE_APP_API_URL = 'http://121.41.112.139:8099/dmttwebsite' |
| | |
| | | id: null, |
| | | remark: '', |
| | | title: '', |
| | | type:null, |
| | | detail: '', |
| | | imgurl: '', |
| | | fullImgurl: '', |
| | |
| | | }) |
| | | }, |
| | | methods: { |
| | | open (title, target) { |
| | | open (title, target,type) { |
| | | this.title = title |
| | | this.visible = true |
| | | // æ°å»º |
| | |
| | | id: null, |
| | | remark: '', |
| | | title: '', |
| | | type:type, |
| | | detail: '', |
| | | releaseDate: dayjs().format('YYYY-MM-DD HH:mm:ss'), |
| | | imgurl: '', |
| | |
| | | @uploadSuccess="uploadAvatarSuccess" /> |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="ä¼ä¸å¾®ä¿¡" prop="faceImgFull"> |
| | | <div class="upload_wrap"> |
| | | |
| | | <UploadAvatarImage :file="{ 'imgurlfull': form.footFullImgUrl2, 'imgurl': form.footImgUrl2 }" :uploadData="uploadData" |
| | | @uploadSuccess="uploadAvatarSuccess2" /> |
| | | </div> |
| | | </el-form-item> |
| | | <div style="margin:20px 0 50px 0"> |
| | | <span style="font-size: 15px; font-weight: bold">ã2ãè§£å³æ¹æ¡ï¼</span> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <el-form-item style="display: block"> |
| | | <el-button type="primary" icon="el-icon-plus" @click="add2">æ·»å ææ¥ç³»ç»</el-button> |
| | | <el-button type="primary" icon="el-icon-plus" @click="add2">æ·»å æºæ
§ç³»ç»</el-button> |
| | | </el-form-item> |
| | | <div style="margin: 100px 0 50px 0"> |
| | | <span style="font-size: 15px; font-weight: bold;">ã4ãè£èªèµè´¨ï¼</span> |
| | | </div> |
| | | <div v-for="(item1,index) in form.honors" :key="'è£èªèµè´¨'+index" style="display: flex"> |
| | | <div style="flex: 1;"> |
| | | <el-form-item label="æ é¢:" :required="true" > |
| | | <el-input |
| | | style="width: 100%" |
| | | type="text" |
| | | v-model="item1.name" |
| | | placeholder="请è¾å
¥æ é¢" |
| | | v-trim |
| | | /> |
| | | </el-form-item> |
| | | </div> |
| | | <div style="display: block;flex: 3"> |
| | | <el-form-item label="跳转å°å:" style="display:inline-block; width: 80%"> |
| | | <el-input |
| | | style="width: 100%" |
| | | type="text" |
| | | v-model="item1.address" |
| | | placeholder="请è¾å
¥è·³è½¬å°å" |
| | | v-trim |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label-width="30px" style="display:inline-block;"> |
| | | <el-button type="danger" v-if="form.honors && form.honors.length >1" icon="el-icon-delete" @click="del3(index)">å é¤</el-button> |
| | | </el-form-item> |
| | | </div> |
| | | <div> |
| | | </div> |
| | | </div> |
| | | <el-form-item style="display: block"> |
| | | <el-button type="primary" icon="el-icon-plus" @click="add3">æ·»å è£èªèµè´¨</el-button> |
| | | </el-form-item> |
| | | <el-form-item style="margin-top: 100px;width: 100%;text-align: center"> |
| | | <el-button type="primary" style="width: 300px" :loading="working" @click="submit">ä¿åé
置项</el-button> |
| | |
| | | address: null, |
| | | footImgUrl: 0, |
| | | footFullImgUrl: 0, |
| | | footImgUrl2: 0, |
| | | footFullImgUrl2: 0, |
| | | footWords: 0, |
| | | linkMobile: 0, |
| | | linkPhone: 0, |
| | | serverTime: '', |
| | | solveScheme: [{ name: '', address: '' }], |
| | | honors: [{ name: '', address: '' }], |
| | | wisdomSystem: [{ name: '', address: '' }] |
| | | } |
| | | } |
| | |
| | | add1 () { |
| | | this.form.solveScheme.push({ name: '', address: '' }) |
| | | }, |
| | | del3 (index) { |
| | | if (this.form.honors.length == 1) { |
| | | return |
| | | } |
| | | this.form.honors.splice(index) |
| | | }, |
| | | add3 () { |
| | | this.form.honors.push({ name: '', address: '' }) |
| | | }, |
| | | del2 (index) { |
| | | if (this.form.wisdomSystem.length == 1) { |
| | | return |
| | |
| | | this.form.address = res.address |
| | | this.form.footImgUrl = res.footImgUrl |
| | | this.form.footFullImgUrl = res.footFullImgUrl |
| | | this.form.footImgUrl2 = res.footImgUrl2 |
| | | this.form.footFullImgUrl2 = res.footFullImgUrl2 |
| | | this.form.footWords = res.footWords |
| | | this.form.linkMobile = res.linkMobile |
| | | this.form.linkPhone = res.linkPhone |
| | | this.form.serverTime = res.serverTime |
| | | this.form.solveScheme = res.solveScheme || [{ name: '', address: '' }] |
| | | this.form.wisdomSystem = res.wisdomSystem || [{ name: '', address: '' }] |
| | | this.form.honors = res.honors || [{ name: '', address: '' }] |
| | | } |
| | | }) |
| | | }, |
| | |
| | | this.form.footImgUrl = file.imgurl |
| | | this.form.footFullImgUrl = file.imgurlfull |
| | | }, |
| | | uploadAvatarSuccess2(file) { |
| | | this.form.footImgUrl2 = file.imgurl |
| | | this.form.footFullImgUrl2 = file.imgurlfull |
| | | }, |
| | | submit () { |
| | | console.log(this.form) |
| | | this.$refs.form.validate((valid) => { |
| | |
| | | <!-- è¡¨æ ¼åå页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-permissions="['business:information:create', 'business:information:delete']"> |
| | | <li><el-button type="primary" @click="$refs.operaInformationWindow.open('æ°å»ºå¨æèµè®¯')" icon="el-icon-plus" v-permissions="['business:information:create']">æ°å»º</el-button></li> |
| | | <li><el-button type="primary" @click="$refs.operaInformationWindow.open('æ°å»ºå¨æèµè®¯',null,searchForm.type)" icon="el-icon-plus" v-permissions="['business:information:create']">æ°å»º</el-button></li> |
| | | <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:information:delete']">å é¤</el-button></li> |
| | | </ul> |
| | | <el-table |
| | |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.operaInformationWindow.open('ç¼è¾å¨æèµè®¯', row)" icon="el-icon-edit" v-permissions="['business:information:update']">ç¼è¾</el-button> |
| | | <el-button type="text" @click="$refs.operaInformationWindow.open('ç¼è¾å¨æèµè®¯', row,searchForm.type)" icon="el-icon-edit" v-permissions="['business:information:update']">ç¼è¾</el-button> |
| | | <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:information:delete']">å é¤</el-button> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | showContent: '', |
| | | showTitle: '', |
| | | searchForm: { |
| | | type:0, |
| | | title: '', |
| | | status: null |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <TableLayout :permissions="['business:information:query']"> |
| | | <!-- æç´¢è¡¨å --> |
| | | <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> |
| | | <el-form-item label="æ é¢" prop="title"> |
| | | <el-input v-model="searchForm.title" clearable placeholder="请è¾å
¥æ é¢" @keypress.enter.native="search"></el-input> |
| | | </el-form-item> |
| | | <el-form-item label="ç¶æ" prop="status"> |
| | | <el-select v-model="searchForm.status" clearable @change="search" placeholder="ç¶æ"> |
| | | <el-option label="æ£å¸¸" value="0"></el-option> |
| | | <el-option label="ç¦ç¨" value="1"></el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <section> |
| | | <el-button type="primary" @click="search">æç´¢</el-button> |
| | | <el-button @click="reset">éç½®</el-button> |
| | | </section> |
| | | </el-form> |
| | | <!-- è¡¨æ ¼åå页 --> |
| | | <template v-slot:table-wrap> |
| | | <ul class="toolbar" v-permissions="['business:information:create', 'business:information:delete']"> |
| | | <li><el-button type="primary" @click="$refs.operaInformationWindow.open('æ°å»ºå®¢æ·æ¡ä¾',null,searchForm.type)" icon="el-icon-plus" v-permissions="['business:information:create']">æ°å»º</el-button></li> |
| | | <li><el-button @click="deleteByIdInBatch" icon="el-icon-delete" v-permissions="['business:information:delete']">å é¤</el-button></li> |
| | | </ul> |
| | | <el-table |
| | | :height="tableHeightNew" |
| | | v-loading="isWorking.search" |
| | | :data="tableData.list" |
| | | stripe |
| | | @selection-change="handleSelectionChange" |
| | | > |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column prop="title" label="æ é¢" min-width="150px"></el-table-column> |
| | | <el-table-column prop="releaseDate" label="å叿¶é´" min-width="150px"></el-table-column> |
| | | <el-table-column prop="imgurl" label="å表å¾" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-image v-if="row.fullImgurl" style="width: 60px; height: 60px" :src="row.fullImgurl" |
| | | :preview-src-list="[row.fullImgurl]"> |
| | | </el-image> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="detail" label="ç®ä»" min-width="200px"></el-table-column> |
| | | <el-table-column prop="jumpType" label="å
容" align="center" min-width="150px"> |
| | | <template slot-scope="{row}"> |
| | | <span v-if= "row.content!=null && row.content!=''"><el-button @click="showContentDo(row)" >æ¥çå
容</el-button></span> |
| | | <span v-else>-</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="status" label="ç¶æ" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <el-switch @change="changeStatus($event, row)" v-model="row.status" active-color="#13ce66" |
| | | inactive-color="#ff4949" :active-value="0" :inactive-value="1"> |
| | | </el-switch> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="remark" label="夿³¨" min-width="100px"></el-table-column> |
| | | <el-table-column prop="sortnum" label="æåºç " min-width="80px"></el-table-column> |
| | | <el-table-column prop="createDate" label="å建æ¶é´" min-width="150px"></el-table-column> |
| | | <el-table-column prop="editDate" label="æ´æ°æ¶é´" min-width="150px"></el-table-column> |
| | | <el-table-column |
| | | v-if="containPermissions(['business:information:update', 'business:information:delete'])" |
| | | label="æä½" |
| | | min-width="120" |
| | | fixed="right" |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="$refs.operaInformationWindow.open('ç¼è¾å®¢æ·æ¡ä¾', row,searchForm.type)" icon="el-icon-edit" v-permissions="['business:information:update']">ç¼è¾</el-button> |
| | | <el-button type="text" @click="deleteById(row)" icon="el-icon-delete" v-permissions="['business:information:delete']">å é¤</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | @size-change="handleSizeChange" |
| | | @current-change="handlePageChange" |
| | | :pagination="tableData.pagination" |
| | | > |
| | | </pagination> |
| | | </template> |
| | | <!-- æ°å»º/ä¿®æ¹ --> |
| | | <OperaInformationWindow ref="operaInformationWindow" @success="handlePageChange"/> |
| | | |
| | | <el-dialog |
| | | class="center-title" |
| | | :title="showTitle||'æ¾ç¤ºå
容'" |
| | | width="70%" |
| | | height="70%" |
| | | text="å
容" |
| | | :visible.sync="visible1" |
| | | append-to-body |
| | | > |
| | | <div class="agree-list" v-html="showContent"> |
| | | </div> |
| | | <template v-slot:footer> |
| | | <el-button @click="visible1=false">è¿å</el-button> |
| | | </template> |
| | | </el-dialog> |
| | | </TableLayout> |
| | | </template> |
| | | |
| | | <script> |
| | | import BaseTable from '@/components/base/BaseTable' |
| | | import TableLayout from '@/layouts/TableLayout' |
| | | import Pagination from '@/components/common/Pagination' |
| | | import OperaInformationWindow from '@/components/business/OperaInformationWindow' |
| | | export default { |
| | | name: 'Information', |
| | | extends: BaseTable, |
| | | components: { TableLayout, Pagination, OperaInformationWindow }, |
| | | data () { |
| | | return { |
| | | // æç´¢ |
| | | visible1: false, |
| | | showContent: '', |
| | | showTitle: '', |
| | | searchForm: { |
| | | type: 1, |
| | | title: '', |
| | | status: null |
| | | } |
| | | } |
| | | }, |
| | | created () { |
| | | this.config({ |
| | | module: 'å®¢æ·æ¡ä¾', |
| | | api: '/business/information', |
| | | 'field.id': 'id', |
| | | 'field.main': 'id' |
| | | }) |
| | | this.search() |
| | | }, |
| | | methods: { |
| | | showContentDo (row) { |
| | | this.showTitle = row.showTitle |
| | | this.showContent = row.content |
| | | this.visible1 = true |
| | | }, |
| | | changeStatus (e, row) { |
| | | this.canvisiting = true |
| | | this.api.updateStatus({ id: row.id, status: e }) |
| | | .then(res => { |
| | | this.$tip.apiSuccess(res || 'æä½æå') |
| | | this.search() |
| | | }) |
| | | .catch(e => { |
| | | this.$tip.apiFailed(e) |
| | | }) |
| | | .finally(() => { |
| | | this.canvisiting = false |
| | | }) |
| | | .catch(() => { }) |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |
| | | .agree-list{ |
| | | height: 550px; |
| | | //max-height: 50%; |
| | | overflow: auto; |
| | | } |
| | | |
| | | /deep/ .window__body { |
| | | .table-content { |
| | | padding: 0; |
| | | .table-wrap { |
| | | padding-top: 0; |
| | | } |
| | | } |
| | | |
| | | } |
| | | </style> |
| | |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-web</artifactId> |
| | | <!-- <exclusions> |
| | | <exclusion> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-tomcat</artifactId> |
| | | </exclusion> |
| | | </exclusions> --> |
| | | </dependency> |
| | | <dependency> |
| | | <!-- <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-starter-tomcat</artifactId> |
| | | <scope>provided</scope> |
| | | </dependency> |
| | | </dependency>--> |
| | | <!-- Redis --> |
| | | <dependency> |
| | | <groupId>org.springframework.boot</groupId> |
| | |
| | | <plugin> |
| | | <groupId>org.apache.maven.plugins</groupId> |
| | | <artifactId>maven-resources-plugin</artifactId> |
| | | <version>3.1.0</version> |
| | | <configuration> |
| | | <delimiters> |
| | | <delimiter>@</delimiter> |
| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.mybatis.spring.annotation.MapperScan; |
| | | import org.springframework.boot.SpringApplication; |
| | | import org.springframework.boot.autoconfigure.EnableAutoConfiguration; |
| | | import org.springframework.boot.autoconfigure.SpringBootApplication; |
| | | import org.springframework.boot.builder.SpringApplicationBuilder; |
| | | import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
| | |
| | | @SpringBootApplication |
| | | @MapperScan("com.doumee.dao") |
| | | @EnableAsync |
| | | @EnableAutoConfiguration |
| | | public class OfficialWebsiteApplication extends SpringBootServletInitializer { |
| | | public static void main(String[] args) { |
| | | ApplicationContext context = SpringApplication.run(OfficialWebsiteApplication.class); |
| | |
| | | * @since 2025/03/31 16:44 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | //@Component |
| | | public class JobHandler extends QuartzJobBean { |
| | | |
| | | @Autowired |
| | |
| | | * @since 2025/03/31 16:44 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | @DisallowConcurrentExecution |
| | | //@Component |
| | | //@DisallowConcurrentExecution |
| | | public class JobHandlerWithDisallowConcurrent extends QuartzJobBean { |
| | | |
| | | @Autowired |
| | |
| | | * @since 2025/03/31 16:44 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class JobInitializer { |
| | | //@Component |
| | | public class |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | JobInitializer { |
| | | |
| | | @Autowired |
| | | private SystemJobService systemJobService; |
| | |
| | | * @since 2025/03/31 16:44 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | @DisallowConcurrentExecution |
| | | //@Component |
| | | //@DisallowConcurrentExecution |
| | | public class SnippetScanner extends QuartzJobBean { |
| | | |
| | | @Autowired |
| | |
| | | * @author dm |
| | | * @since 2025/03/31 16:44 |
| | | */ |
| | | @Configuration |
| | | //@Configuration |
| | | public class SnippetScannerConfig { |
| | | |
| | | @Bean |
| | |
| | | public static final String IMG_DIR = "IMG_DIR"; |
| | | public static final String FILE_DIR ="FILE_DIR" ; |
| | | public static final String FOOT_IMGURL ="FOOT_IMGURL" ; |
| | | public static final String FOOT_IMGURL2 ="FOOT_IMGURL2" ; |
| | | public static final String LINK_PHONE ="LINK_PHONE" ; |
| | | public static final String LINK_MOBILE ="LINK_MOBILE" ; |
| | | public static final String SERVER_TIME ="SERVER_TIME" ; |
| | | public static final String ADDRESS ="ADDRESS" ; |
| | | public static final String SOLVE_SCHEME ="SOLVE_SCHEME" ; |
| | | public static final String WISDOM_SYSTEM ="WISDOM_SYSTEM" ; |
| | | public static final String HONORS ="HONORS" ; |
| | | public static final String FOOT_WORDS ="FOOT_WORDS" ; |
| | | |
| | | |
| | |
| | | @ApiModelProperty(value = "æåºç ", example = "1") |
| | | @ExcelColumn(name="æåºç ") |
| | | private Integer sortnum; |
| | | @ApiModelProperty(value = "ç±»åï¼0å¨è¯¢ 1æ¡ä¾ï¼", example = "1") |
| | | @ExcelColumn(name="ç±»åï¼0å¨è¯¢ 1æ¡ä¾") |
| | | private Integer type; |
| | | |
| | | |
| | | @ApiModelProperty(value = "ç¶æ 0æ£å¸¸ 1ç¦ç¨", example = "1") |
| | |
| | | |
| | | @ApiModelProperty(value = "æºæ
§ç³»ç»ï¼[{\"name\":\"æºæ
§ç³»ç»ä¸\",\"address\":\"跳转å°åä¸\"},{\"name\":\"æºæ
§ç³»ç»äº\",\"address\":\"跳转å°åäº\"}]ï¼") |
| | | private JSONArray wisdomSystem; |
| | | @ApiModelProperty(value = "è£èªèµè´¨ï¼[{\"name\":\"è£èªèµè´¨ä¸\",\"address\":\"跳转å°åä¸\"},{\"name\":\"è£èªèµè´¨äº\",\"address\":\"è£èªèµè´¨ä¸\"}]ï¼") |
| | | private JSONArray honors; |
| | | |
| | | |
| | | } |
| | |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "æå±åå
¸", example = "1") |
| | | @NotNull(message = "æå±åå
¸ä¸è½ä¸ºç©º", groups = {Constants.OperaType.Create.class, Constants.OperaType.Update.class}) |
| | | private Integer dictId; |
| | | |
| | | @ApiModelProperty(value = "æ°æ®å¼") |
| | |
| | | |
| | | @ApiModelProperty(value = "footäºç»´ç å
¨è·¯å¾") |
| | | private String footFullImgUrl; |
| | | @ApiModelProperty(value = "footäºç»´ç 2") |
| | | private String footImgUrl2; |
| | | |
| | | @ApiModelProperty(value = "footäºç»´ç å
¨è·¯å¾2") |
| | | private String footFullImgUrl2; |
| | | |
| | | @ApiModelProperty(value = "footææ¡") |
| | | private String footWords; |
| | |
| | | |
| | | @ApiModelProperty(value = "æºæ
§ç³»ç»ï¼[{\"name\":\"æºæ
§ç³»ç»ä¸\",\"address\":\"跳转å°åä¸\"},{\"name\":\"æºæ
§ç³»ç»äº\",\"address\":\"跳转å°åäº\"}]ï¼") |
| | | private JSONArray wisdomSystem; |
| | | |
| | | @ApiModelProperty(value = "è£èªèµè´¨ï¼[{\"name\":\"è£èªèµè´¨ä¸\",\"address\":\"跳转å°åä¸\"},{\"name\":\"è£èªèµè´¨äº\",\"address\":\"è£èªèµè´¨ä¸\"}]ï¼") |
| | | private JSONArray honors; |
| | | |
| | | } |
| | |
| | | @Override |
| | | public FootDataVO getFoodDataVO(){ |
| | | FootDataVO footDataVO = new FootDataVO(); |
| | | String path =systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FILE_DIR).getCode(); |
| | | footDataVO.setFootWords(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_WORDS).getCode()); |
| | | footDataVO.setFootImgUrl(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_IMGURL).getCode()); |
| | | footDataVO.setFootFullImgUrl(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FILE_DIR).getCode() + |
| | | systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_IMGURL).getCode()); |
| | | footDataVO.setFootFullImgUrl(path+ |
| | | footDataVO.getFootImgUrl()); |
| | | footDataVO.setFootImgUrl2(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.FOOT_IMGURL2).getCode()); |
| | | footDataVO.setFootFullImgUrl2(path + |
| | | footDataVO.getFootImgUrl2()); |
| | | footDataVO.setAddress(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.ADDRESS).getCode()); |
| | | footDataVO.setLinkPhone(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.LINK_PHONE).getCode()); |
| | | footDataVO.setLinkMobile(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.LINK_MOBILE).getCode()); |
| | |
| | | SystemDictData wisdomSystem = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.WISDOM_SYSTEM); |
| | | if(Objects.nonNull(wisdomSystem) & org.apache.commons.lang3.StringUtils.isNotBlank(wisdomSystem.getCode())){ |
| | | footDataVO.setWisdomSystem(JSONArray.parseArray(wisdomSystem.getCode())); |
| | | } |
| | | SystemDictData honors = systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.HONORS); |
| | | if(Objects.nonNull(wisdomSystem) & org.apache.commons.lang3.StringUtils.isNotBlank(honors.getCode())){ |
| | | footDataVO.setHonors(JSONArray.parseArray(honors.getCode())); |
| | | } |
| | | footDataVO.setServerTime(systemDictDataBiz.queryByCode(Constants.SYSTEM,Constants.SERVER_TIME).getCode()); |
| | | return footDataVO; |
| | |
| | | wisdomSystem.setCode(footDataDTO.getWisdomSystem().toString()); |
| | | systemDictDataBiz.updateById(wisdomSystem); |
| | | } |
| | | SystemDictData honors = systemDictDataBiz.queryByCode(Constants.SYSTEM, Constants.HONORS); |
| | | if (Objects.nonNull(wisdomSystem)&&Objects.nonNull(footDataDTO.getHonors())) { |
| | | wisdomSystem.setCode(footDataDTO.getHonors().toString()); |
| | | systemDictDataBiz.updateById(wisdomSystem); |
| | | } |
| | | } |
| | | |
| | | |
| | |
| | | ){ |
| | | throw new BusinessException(ResponseStatus.BAD_REQUEST); |
| | | } |
| | | information.setType(Constants.formatIntegerNum(information.getType())); |
| | | information.setIsdeleted(Constants.ZERO); |
| | | information.setCreateDate(new Date()); |
| | | information.setCreator(user.getId()); |
| | |
| | | queryWrapper.lambda() |
| | | .eq(Information::getIsdeleted,Constants.ZERO) |
| | | .eq(pageWrap.getModel().getId() != null, Information::getId, pageWrap.getModel().getId()) |
| | | .eq(pageWrap.getModel().getType() != null, Information::getType, pageWrap.getModel().getType()) |
| | | .eq(pageWrap.getModel().getStatus() != null, Information::getStatus, pageWrap.getModel().getStatus()) |
| | | .eq(pageWrap.getModel().getRemark() != null, Information::getRemark, pageWrap.getModel().getRemark()) |
| | | .like(pageWrap.getModel().getTitle() != null, Information::getTitle, pageWrap.getModel().getTitle()) |
| | |
| | | || Objects.isNull(information.getStatus()) |
| | | || Objects.isNull(information.getId()) |
| | | || !(Constants.equalsInteger(information.getStatus(),Constants.ZERO) |
| | | || Constants.equalsInteger(information.getStatus(),Constants.ONE)) |
| | | ){ |
| | | || Constants.equalsInteger(information.getStatus(),Constants.ONE))){ |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY); |
| | | } |
| | | informationMapper.update(new UpdateWrapper<Information>().lambda().set(Information::getStatus,information.getStatus()).eq(Information::getId,information.getId())); |
| | |
| | | |
| | | upload: |
| | | type: blob |
| | | |
| | | qiwei: |
| | | serviceurl: https://wecom-qyapi.unilever-china.com/ |
| | |
| | | |
| | | spring: |
| | | profiles: |
| | | active: dev |
| | | active: pro |
| | | # JSONè¿åé
ç½® |
| | | jackson: |
| | | # é»è®¤æ¶åº |