|
@@ -389,7 +389,7 @@ export default {
|
|
|
const addDateCondition = (key, field) => {
|
|
const addDateCondition = (key, field) => {
|
|
|
const dateParam = parameters.find(i => i.key.includes(key))
|
|
const dateParam = parameters.find(i => i.key.includes(key))
|
|
|
if (dateParam) {
|
|
if (dateParam) {
|
|
|
- params += ` and (${field} >= '${temp[key + '0']}' and ${field} <= '${temp[key + '1']}' or ${field} is null)`
|
|
|
|
|
|
|
+ params += ` and (${field} >= '${temp[key + '0']} 00:00:00' and ${field} <= '${temp[key + '1']} 23:59:59' or ${field} is null)`
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
addDateCondition('createTime', 'ex.chuang_jian_shi_j')
|
|
addDateCondition('createTime', 'ex.chuang_jian_shi_j')
|