优化打印数值转换中文数字
This commit is contained in:
parent
8e5f19069d
commit
ff8a4be89b
@ -27,17 +27,19 @@ public class FtGenerateOrderTask {
|
||||
|
||||
public void GenerateOrderTask() {
|
||||
System.out.println("执行生成一条病患默认订餐配置记录");
|
||||
log.info("执行生成一条病患默认订餐配置记录");
|
||||
foodDemandDaoService.GenerateOrderForNewPatient();
|
||||
}
|
||||
|
||||
public void GeneratePatientTomorrowReportMeal() {
|
||||
System.out.println("生成次日病患报餐记录");
|
||||
log.info("生成次日病患报餐记录");
|
||||
reportMealVoMapper.insertTomorrowReportMeal();
|
||||
}
|
||||
|
||||
// 生成次日员工订餐记录
|
||||
public void GenerateStaffTomorrowOrder() {
|
||||
System.out.println("生成次日员工订餐记录");
|
||||
log.info("生成次日员工订餐记录");
|
||||
orderDaoService.GenerateStaffTomorrowOrder();
|
||||
}
|
||||
|
||||
|
@ -134,6 +134,7 @@
|
||||
<if test="beginOfDay != null">AND a.create_at BETWEEN #{beginOfDay}</if>
|
||||
<if test="endOfDay != null">AND #{endOfDay}</if>
|
||||
</where>
|
||||
order by b.`name`
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -9,7 +9,7 @@ export default {
|
||||
name: 'RuoYiDoc',
|
||||
data() {
|
||||
return {
|
||||
url: 'http://doc.ruoyi.vip/ruoyi-vue'
|
||||
url: 'https://www.yuque.com/wbyzhg/manual/gniqvo'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<svg-icon icon-class="github" @click="goto"/>
|
||||
<svg-icon icon-class="documentation" @click="goto"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -9,7 +9,7 @@ export default {
|
||||
name: 'RuoYiGit',
|
||||
data() {
|
||||
return {
|
||||
url: 'https://gitee.com/y_project/RuoYi-Vue'
|
||||
url: 'https://www.yuque.com/wbyzhg/manual/mgrtz2'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
@ -8,11 +8,11 @@
|
||||
<template v-if="device!=='mobile'">
|
||||
<search id="header-search" class="right-menu-item" />
|
||||
|
||||
<el-tooltip content="源码地址" effect="dark" placement="bottom">
|
||||
<el-tooltip content="升级信息" effect="dark" placement="bottom">
|
||||
<ruo-yi-git id="ruoyi-git" class="right-menu-item hover-effect" />
|
||||
</el-tooltip>
|
||||
|
||||
<el-tooltip content="文档地址" effect="dark" placement="bottom">
|
||||
<el-tooltip content="产品手册" effect="dark" placement="bottom">
|
||||
<ruo-yi-doc id="ruoyi-doc" class="right-menu-item hover-effect" />
|
||||
</el-tooltip>
|
||||
|
||||
|
@ -295,10 +295,14 @@ export default {
|
||||
},
|
||||
formatToReplace(row) {
|
||||
if (row.openFlag) {
|
||||
if(row.nutritionFoodFlag) {
|
||||
if (row.isReplaceFood)
|
||||
return '替';
|
||||
else
|
||||
return '加';
|
||||
} else
|
||||
return '-'
|
||||
|
||||
} else
|
||||
return '-';
|
||||
},
|
||||
@ -306,6 +310,7 @@ export default {
|
||||
|
||||
formatToNutritionName(row) {
|
||||
if (row.openFlag) {
|
||||
|
||||
return row.nutritionName;
|
||||
} else
|
||||
return '-';
|
||||
|
Loading…
x
Reference in New Issue
Block a user